Lines Matching refs:fwnode
43 #define ACPI_COMPANION(dev) to_acpi_device_node((dev)->fwnode)
47 #define ACPI_HANDLE_FWNODE(fwnode) \ argument
48 acpi_device_handle(to_acpi_device_node(fwnode))
52 struct fwnode_handle *fwnode; in acpi_alloc_fwnode_static() local
54 fwnode = kzalloc(sizeof(struct fwnode_handle), GFP_KERNEL); in acpi_alloc_fwnode_static()
55 if (!fwnode) in acpi_alloc_fwnode_static()
58 fwnode_init(fwnode, &acpi_static_fwnode_ops); in acpi_alloc_fwnode_static()
60 return fwnode; in acpi_alloc_fwnode_static()
63 static inline void acpi_free_fwnode_static(struct fwnode_handle *fwnode) in acpi_free_fwnode_static() argument
65 if (WARN_ON(!is_acpi_static_node(fwnode))) in acpi_free_fwnode_static()
68 kfree(fwnode); in acpi_free_fwnode_static()
86 return is_acpi_device_node(dev->fwnode); in has_acpi_companion()
339 struct fwnode_handle *fwnode);
343 struct fwnode_handle *fwnode,
727 #define ACPI_HANDLE_FWNODE(fwnode) (NULL) argument
765 static inline bool is_acpi_node(const struct fwnode_handle *fwnode) in is_acpi_node() argument
770 static inline bool is_acpi_device_node(const struct fwnode_handle *fwnode) in is_acpi_device_node() argument
775 static inline struct acpi_device *to_acpi_device_node(const struct fwnode_handle *fwnode) in to_acpi_device_node() argument
780 static inline bool is_acpi_data_node(const struct fwnode_handle *fwnode) in is_acpi_data_node() argument
785 static inline struct acpi_data_node *to_acpi_data_node(const struct fwnode_handle *fwnode) in to_acpi_data_node() argument
790 static inline bool acpi_data_node_match(const struct fwnode_handle *fwnode, in acpi_data_node_match() argument
1164 int __acpi_node_get_property_reference(const struct fwnode_handle *fwnode,
1169 const struct fwnode_handle *fwnode, in acpi_node_get_property_reference() argument
1173 return __acpi_node_get_property_reference(fwnode, name, index, in acpi_node_get_property_reference()
1186 int acpi_node_prop_get(const struct fwnode_handle *fwnode, const char *propname,
1189 struct fwnode_handle *acpi_get_next_subnode(const struct fwnode_handle *fwnode,
1191 struct fwnode_handle *acpi_node_get_parent(const struct fwnode_handle *fwnode);
1267 __acpi_node_get_property_reference(const struct fwnode_handle *fwnode, in __acpi_node_get_property_reference() argument
1275 acpi_node_get_property_reference(const struct fwnode_handle *fwnode, in acpi_node_get_property_reference() argument
1282 static inline int acpi_node_prop_get(const struct fwnode_handle *fwnode, in acpi_node_prop_get() argument
1290 acpi_get_next_subnode(const struct fwnode_handle *fwnode, in acpi_get_next_subnode() argument
1297 acpi_node_get_parent(const struct fwnode_handle *fwnode) in acpi_node_get_parent() argument
1303 acpi_graph_get_next_endpoint(const struct fwnode_handle *fwnode, in acpi_graph_get_next_endpoint() argument
1310 acpi_graph_get_remote_endpoint(const struct fwnode_handle *fwnode, in acpi_graph_get_remote_endpoint() argument