Lines Matching full:fans
39 * SMU fans control object
259 struct device_node *smu, *fans, *fan; in smu_controls_init() local
268 /* Look for RPM fans */ in smu_controls_init()
269 for (fans = NULL; (fans = of_get_next_child(smu, fans)) != NULL;) in smu_controls_init()
270 if (of_node_name_eq(fans, "rpm-fans") || in smu_controls_init()
271 of_device_is_compatible(fans, "smu-rpm-fans")) in smu_controls_init()
274 fans && (fan = of_get_next_child(fans, fan)) != NULL;) { in smu_controls_init()
285 of_node_put(fans); in smu_controls_init()
288 /* Look for PWM fans */ in smu_controls_init()
289 for (fans = NULL; (fans = of_get_next_child(smu, fans)) != NULL;) in smu_controls_init()
290 if (of_node_name_eq(fans, "pwm-fans")) in smu_controls_init()
293 fans && (fan = of_get_next_child(fans, fan)) != NULL;) { in smu_controls_init()
304 of_node_put(fans); in smu_controls_init()