Searched refs:nproot (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/drivers/leds/ |
| H A D | leds-88pm860x.c | 118 struct device_node *nproot; 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_scoped(nproot, np) { in pm860x_led_dt_init() 136 of_node_put(nproot); in pm860x_led_dt_init()
|
| /linux-6.15/drivers/video/backlight/ |
| H A D | 88pm860x_bl.c | 153 struct device_node *nproot; in pm860x_backlight_dt_init() local 156 nproot = of_get_child_by_name(pdev->dev.parent->of_node, "backlights"); in pm860x_backlight_dt_init() 157 if (!nproot) { in pm860x_backlight_dt_init() 161 for_each_child_of_node_scoped(nproot, np) { in pm860x_backlight_dt_init() 171 of_node_put(nproot); in pm860x_backlight_dt_init()
|
| H A D | max8925_bl.c | 91 struct device_node *nproot = pdev->dev.parent->of_node, *np; in max8925_backlight_dt_init() local 95 if (!nproot || !IS_ENABLED(CONFIG_OF)) in max8925_backlight_dt_init() 104 np = of_get_child_by_name(nproot, "backlight"); in max8925_backlight_dt_init()
|
| /linux-6.15/drivers/power/supply/ |
| H A 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-6.15/drivers/regulator/ |
| H A D | bd96801-regulator.c | 451 struct device_node *nproot __free(device_node) = in bd96801_walk_regulator_dt() 453 if (!nproot) { in bd96801_walk_regulator_dt() 457 for_each_child_of_node_scoped(nproot, np) { in bd96801_walk_regulator_dt()
|
| H A D | bd718x7-regulator.c | 1643 struct device_node *nproot __free(device_node) = of_get_child_by_name(dev->of_node, in get_special_regulators() 1645 if (!nproot) { in get_special_regulators() 1649 for_each_child_of_node_scoped(nproot, np) { in get_special_regulators()
|