Home
last modified time | relevance | path

Searched refs:nproot (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/leds/
H A Dleds-88pm860x.c118 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()
/kernel/linux/linux-5.10/drivers/video/backlight/
H A D88pm860x_bl.c154 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()
H A Dmax8925_bl.c92 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()
/kernel/linux/linux-6.6/drivers/video/backlight/
H A D88pm860x_bl.c154 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()
H A Dmax8925_bl.c92 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()
/kernel/linux/linux-6.6/drivers/leds/
H A Dleds-88pm860x.c118 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()
/kernel/linux/linux-6.6/drivers/regulator/
H A Dbd718x7-regulator.c1639 struct device_node *nproot = dev->of_node; in get_special_regulators() local
1644 nproot = of_get_child_by_name(nproot, "regulators"); in get_special_regulators()
1645 if (!nproot) { in get_special_regulators()
1649 for_each_child_of_node(nproot, np) { in get_special_regulators()
1667 of_node_put(nproot); in get_special_regulators()
1672 of_node_put(nproot); in get_special_regulators()
/kernel/linux/linux-5.10/drivers/power/supply/
H A Dmax8925_power.c456 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()
/kernel/linux/linux-6.6/drivers/power/supply/
H A Dmax8925_power.c456 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()
/kernel/linux/linux-5.10/drivers/regulator/
H A Dbd718x7-regulator.c1388 struct device_node *nproot = dev->of_node; in get_hw_controlled_regulators() local
1393 nproot = of_get_child_by_name(nproot, "regulators"); in get_hw_controlled_regulators()
1394 if (!nproot) { in get_hw_controlled_regulators()
1398 for_each_child_of_node(nproot, np) in get_hw_controlled_regulators()
1403 of_node_put(nproot); in get_hw_controlled_regulators()

Completed in 8 milliseconds