Searched refs:led_node (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/leds/ |
D | leds-powernv.c | 243 struct device_node *led_node, in powernv_led_classdev() argument 253 for_each_available_child_of_node(led_node, np) { in powernv_led_classdev() 281 struct device_node *led_node; in powernv_led_probe() local 286 led_node = of_find_node_by_path("/ibm,opal/leds"); in powernv_led_probe() 287 if (!led_node) { in powernv_led_probe() 305 rc = powernv_led_classdev(pdev, led_node, powernv_led_common); in powernv_led_probe() 307 of_node_put(led_node); in powernv_led_probe()
|
D | led-class.c | 253 struct device_node *led_node; in of_led_get() local 255 led_node = of_parse_phandle(np, "leds", index); in of_led_get() 256 if (!led_node) in of_led_get() 259 led_dev = class_find_device_by_of_node(&leds_class, led_node); in of_led_get() 260 of_node_put(led_node); in of_led_get()
|
D | leds-lp50xx.c | 443 struct fwnode_handle *led_node = NULL; in lp50xx_probe_dt() local 488 fwnode_for_each_child_node(child, led_node) { in lp50xx_probe_dt() 489 ret = fwnode_property_read_u32(led_node, "color", in lp50xx_probe_dt() 492 fwnode_handle_put(led_node); in lp50xx_probe_dt()
|