Searched refs:nproot (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/drivers/leds/ |
D | leds-88pm860x.c | 118 struct device_node *nproot, *np; in pm860x_led_dt_init() local 123 nproot = of_get_child_by_name(dev_of_node(pdev->dev.parent), "leds"); in pm860x_led_dt_init() 124 if (!nproot) { in pm860x_led_dt_init() 128 for_each_available_child_of_node(nproot, np) { in pm860x_led_dt_init() 137 of_node_put(nproot); in pm860x_led_dt_init()
|
/linux-5.19.10/drivers/video/backlight/ |
D | 88pm860x_bl.c | 154 struct device_node *nproot, *np; in pm860x_backlight_dt_init() local 157 nproot = of_get_child_by_name(pdev->dev.parent->of_node, "backlights"); in pm860x_backlight_dt_init() 158 if (!nproot) { in pm860x_backlight_dt_init() 162 for_each_child_of_node(nproot, np) { in pm860x_backlight_dt_init() 173 of_node_put(nproot); in pm860x_backlight_dt_init()
|
D | max8925_bl.c | 92 struct device_node *nproot = pdev->dev.parent->of_node, *np; in max8925_backlight_dt_init() local 96 if (!nproot || !IS_ENABLED(CONFIG_OF)) in max8925_backlight_dt_init() 105 np = of_get_child_by_name(nproot, "backlight"); in max8925_backlight_dt_init()
|
/linux-5.19.10/drivers/power/supply/ |
D | max8925_power.c | 456 struct device_node *nproot = pdev->dev.parent->of_node; in max8925_power_dt_init() local 465 if (!nproot) in max8925_power_dt_init() 468 np = of_get_child_by_name(nproot, "charger"); in max8925_power_dt_init()
|
/linux-5.19.10/drivers/regulator/ |
D | bd718x7-regulator.c | 1641 struct device_node *nproot = dev->of_node; in get_special_regulators() local 1646 nproot = of_get_child_by_name(nproot, "regulators"); in get_special_regulators() 1647 if (!nproot) { in get_special_regulators() 1651 for_each_child_of_node(nproot, np) { in get_special_regulators() 1669 of_node_put(nproot); in get_special_regulators() 1674 of_node_put(nproot); in get_special_regulators()
|