Lines Matching refs:fwnode
54 bool fwnode_device_is_available(const struct fwnode_handle *fwnode);
55 bool fwnode_property_present(const struct fwnode_handle *fwnode,
57 int fwnode_property_read_u8_array(const struct fwnode_handle *fwnode,
60 int fwnode_property_read_u16_array(const struct fwnode_handle *fwnode,
63 int fwnode_property_read_u32_array(const struct fwnode_handle *fwnode,
66 int fwnode_property_read_u64_array(const struct fwnode_handle *fwnode,
69 int fwnode_property_read_string_array(const struct fwnode_handle *fwnode,
72 int fwnode_property_read_string(const struct fwnode_handle *fwnode,
74 int fwnode_property_match_string(const struct fwnode_handle *fwnode,
76 int fwnode_property_get_reference_args(const struct fwnode_handle *fwnode,
81 struct fwnode_handle *fwnode_get_parent(const struct fwnode_handle *fwnode);
83 struct fwnode_handle *fwnode);
85 const struct fwnode_handle *fwnode, struct fwnode_handle *child);
87 const struct fwnode_handle *fwnode, struct fwnode_handle *child);
89 #define fwnode_for_each_child_node(fwnode, child) \ argument
90 for (child = fwnode_get_next_child_node(fwnode, NULL); child; \
91 child = fwnode_get_next_child_node(fwnode, child))
93 #define fwnode_for_each_available_child_node(fwnode, child) \ argument
94 for (child = fwnode_get_next_available_child_node(fwnode, NULL); child;\
95 child = fwnode_get_next_available_child_node(fwnode, child))
105 const struct fwnode_handle *fwnode, const char *childname);
109 struct fwnode_handle *fwnode_handle_get(struct fwnode_handle *fwnode);
110 void fwnode_handle_put(struct fwnode_handle *fwnode);
112 int fwnode_irq_get(struct fwnode_handle *fwnode, unsigned int index);
146 static inline bool fwnode_property_read_bool(const struct fwnode_handle *fwnode, in fwnode_property_read_bool() argument
149 return fwnode_property_present(fwnode, propname); in fwnode_property_read_bool()
152 static inline int fwnode_property_read_u8(const struct fwnode_handle *fwnode, in fwnode_property_read_u8() argument
155 return fwnode_property_read_u8_array(fwnode, propname, val, 1); in fwnode_property_read_u8()
158 static inline int fwnode_property_read_u16(const struct fwnode_handle *fwnode, in fwnode_property_read_u16() argument
161 return fwnode_property_read_u16_array(fwnode, propname, val, 1); in fwnode_property_read_u16()
164 static inline int fwnode_property_read_u32(const struct fwnode_handle *fwnode, in fwnode_property_read_u32() argument
167 return fwnode_property_read_u32_array(fwnode, propname, val, 1); in fwnode_property_read_u32()
170 static inline int fwnode_property_read_u64(const struct fwnode_handle *fwnode, in fwnode_property_read_u64() argument
173 return fwnode_property_read_u64_array(fwnode, propname, val, 1); in fwnode_property_read_u64()
290 int fwnode_get_phy_mode(struct fwnode_handle *fwnode);
291 void *fwnode_get_mac_address(struct fwnode_handle *fwnode,
294 const struct fwnode_handle *fwnode, struct fwnode_handle *prev);
296 fwnode_graph_get_port_parent(const struct fwnode_handle *fwnode);
298 const struct fwnode_handle *fwnode);
300 const struct fwnode_handle *fwnode);
302 const struct fwnode_handle *fwnode);
304 fwnode_graph_get_remote_node(const struct fwnode_handle *fwnode, u32 port,
307 #define fwnode_graph_for_each_endpoint(fwnode, child) \ argument
309 (child = fwnode_graph_get_next_endpoint(fwnode, child)); )
311 int fwnode_graph_parse_endpoint(const struct fwnode_handle *fwnode,