Home
last modified time | relevance | path

Searched refs:to_of_node (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/drivers/base/
Dproperty.c135 return of_property_read_bool(to_of_node(fwnode), propname); in fwnode_property_present()
320 _ret_ = OF_DEV_PROP_READ_ARRAY(to_of_node(_fwnode_), _propname_, \
461 of_property_read_string_array(to_of_node(fwnode), in fwnode_property_read_string_array()
463 of_property_count_strings(to_of_node(fwnode), propname); in fwnode_property_read_string_array()
493 return of_property_read_string(to_of_node(fwnode), propname, val); in fwnode_property_read_string()
560 node = of_get_next_available_child(dev->of_node, to_of_node(child)); in device_get_next_child_node()
581 of_node_put(to_of_node(fwnode)); in fwnode_handle_put()
/linux-4.4.14/kernel/irq/
Dirqdomain.c102 of_node = to_of_node(fwnode); in __irq_domain_add()
268 rc = h->ops->match(h, to_of_node(fwnode), bus_token); in irq_find_matching_fwnode()
548 return d->ops->xlate(d, to_of_node(fwspec->fwnode), in irq_domain_translate()
583 of_node_full_name(to_of_node(fwspec->fwnode))); in irq_create_fwspec_mapping()
/linux-4.4.14/drivers/leds/
Dleds-gpio.c195 np = to_of_node(child); in gpio_leds_create()
/linux-4.4.14/include/linux/
Dirqdomain.h184 return to_of_node(d->fwnode); in irq_domain_get_of_node()
Dof.h139 static inline struct device_node *to_of_node(struct fwnode_handle *fwnode) in to_of_node() function
391 static inline struct device_node *to_of_node(struct fwnode_handle *fwnode) in to_of_node() function
/linux-4.4.14/drivers/gpio/
Dgpiolib.c2209 desc = of_get_named_gpiod_flags(to_of_node(fwnode), propname, 0, in fwnode_get_named_gpiod()