| 1 |
|
| 2 | |
| 3 | * KUnit resource management helpers for firmware nodes.
|
| 4 | *
|
| 5 | * Copyright (C) Qualcomm Technologies, Inc. and/or its subsidiaries
|
| 6 |
|
| 7 |
|
| 8 | #ifndef _KUNIT_FWNODE_H
|
| 9 | #define _KUNIT_FWNODE_H
|
| 10 |
|
| 11 | struct device;
|
| 12 | struct fwnode_handle;
|
| 13 | struct kunit;
|
| 14 | struct property_entry;
|
| 15 | struct software_node;
|
| 16 |
|
| 17 | struct fwnode_handle *
|
| 18 | kunit_fwnode_create_software_node(struct kunit *test,
|
| 19 | const struct property_entry *properties,
|
| 20 | const struct fwnode_handle *parent);
|
| 21 | struct fwnode_handle *
|
| 22 | kunit_software_node_register(struct kunit *test,
|
| 23 | const struct software_node *node);
|
| 24 | int kunit_software_node_register_node_group(struct kunit *test,
|
| 25 | const struct software_node *const *nodes);
|
| 26 | int kunit_device_add_software_node(struct kunit *test, struct device *dev,
|
| 27 | const struct software_node *node);
|
| 28 |
|
| 29 | #endif
|