Lines Matching full:smu
3 * Windfarm PowerMac thermal control. SMU based controls
21 #include <asm/smu.h>
38 * SMU fans control object
46 u32 reg; /* index in SMU */
60 /* Fill SMU command structure */ in smu_set_fan()
63 /* The SMU has an "old" and a "new" way of setting the fan speed in smu_set_fan()
99 printk(KERN_WARNING "windfarm: SMU failed new fan command " in smu_set_fan()
131 *value = fct->value; /* todo: read from SMU */ in smu_fan_get()
175 /* We use the name & location here the same way we do for SMU sensors, in smu_fan_create()
258 struct device_node *smu, *fans, *fan; in smu_controls_init() local
263 smu = of_find_node_by_type(NULL, "smu"); in smu_controls_init()
264 if (smu == NULL) in smu_controls_init()
268 for (fans = NULL; (fans = of_get_next_child(smu, fans)) != NULL;) in smu_controls_init()
270 of_device_is_compatible(fans, "smu-rpm-fans")) in smu_controls_init()
278 printk(KERN_WARNING "windfarm: Failed to create SMU " in smu_controls_init()
288 for (fans = NULL; (fans = of_get_next_child(smu, fans)) != NULL;) in smu_controls_init()
297 printk(KERN_WARNING "windfarm: Failed to create SMU " in smu_controls_init()
304 of_node_put(smu); in smu_controls_init()
325 MODULE_DESCRIPTION("SMU control objects for PowerMacs thermal control");