wf_control 25 drivers/macintosh/windfarm.h struct wf_control; wf_control 28 drivers/macintosh/windfarm.h int (*set_value)(struct wf_control *ct, s32 val); wf_control 29 drivers/macintosh/windfarm.h int (*get_value)(struct wf_control *ct, s32 *val); wf_control 30 drivers/macintosh/windfarm.h s32 (*get_min)(struct wf_control *ct); wf_control 31 drivers/macintosh/windfarm.h s32 (*get_max)(struct wf_control *ct); wf_control 32 drivers/macintosh/windfarm.h void (*release)(struct wf_control *ct); wf_control 56 drivers/macintosh/windfarm.h extern int wf_register_control(struct wf_control *ct); wf_control 57 drivers/macintosh/windfarm.h extern void wf_unregister_control(struct wf_control *ct); wf_control 58 drivers/macintosh/windfarm.h extern int wf_get_control(struct wf_control *ct); wf_control 59 drivers/macintosh/windfarm.h extern void wf_put_control(struct wf_control *ct); wf_control 61 drivers/macintosh/windfarm.h static inline int wf_control_set_max(struct wf_control *ct) wf_control 67 drivers/macintosh/windfarm.h static inline int wf_control_set_min(struct wf_control *ct) wf_control 73 drivers/macintosh/windfarm.h static inline int wf_control_set(struct wf_control *ct, s32 val) wf_control 78 drivers/macintosh/windfarm.h static inline int wf_control_get(struct wf_control *ct, s32 *val) wf_control 83 drivers/macintosh/windfarm.h static inline s32 wf_control_get_min(struct wf_control *ct) wf_control 88 drivers/macintosh/windfarm.h static inline s32 wf_control_get_max(struct wf_control *ct) wf_control 151 drivers/macintosh/windfarm_core.c struct wf_control *ct = container_of(kref, struct wf_control, ref); wf_control 164 drivers/macintosh/windfarm_core.c struct wf_control *ctrl = container_of(attr, struct wf_control, attr); wf_control 193 drivers/macintosh/windfarm_core.c struct wf_control *ctrl = container_of(attr, struct wf_control, attr); wf_control 209 drivers/macintosh/windfarm_core.c int wf_register_control(struct wf_control *new_ct) wf_control 211 drivers/macintosh/windfarm_core.c struct wf_control *ct; wf_control 244 drivers/macintosh/windfarm_core.c void wf_unregister_control(struct wf_control *ct) wf_control 256 drivers/macintosh/windfarm_core.c int wf_get_control(struct wf_control *ct) wf_control 265 drivers/macintosh/windfarm_core.c void wf_put_control(struct wf_control *ct) wf_control 376 drivers/macintosh/windfarm_core.c struct wf_control *ct; wf_control 20 drivers/macintosh/windfarm_cpufreq_clamp.c static struct wf_control *clamp_control; wf_control 24 drivers/macintosh/windfarm_cpufreq_clamp.c static int clamp_set(struct wf_control *ct, s32 value) wf_control 41 drivers/macintosh/windfarm_cpufreq_clamp.c static int clamp_get(struct wf_control *ct, s32 *value) wf_control 47 drivers/macintosh/windfarm_cpufreq_clamp.c static s32 clamp_min(struct wf_control *ct) wf_control 52 drivers/macintosh/windfarm_cpufreq_clamp.c static s32 clamp_max(struct wf_control *ct) wf_control 68 drivers/macintosh/windfarm_cpufreq_clamp.c struct wf_control *clamp; wf_control 99 drivers/macintosh/windfarm_cpufreq_clamp.c clamp = kmalloc(sizeof(struct wf_control), GFP_KERNEL); wf_control 68 drivers/macintosh/windfarm_fcu_controls.c struct wf_control ctrl; wf_control 78 drivers/macintosh/windfarm_fcu_controls.c static void wf_fcu_fan_release(struct wf_control *ct) wf_control 144 drivers/macintosh/windfarm_fcu_controls.c static int wf_fcu_fan_set_rpm(struct wf_control *ct, s32 value) wf_control 166 drivers/macintosh/windfarm_fcu_controls.c static int wf_fcu_fan_get_rpm(struct wf_control *ct, s32 *value) wf_control 201 drivers/macintosh/windfarm_fcu_controls.c static int wf_fcu_fan_set_pwm(struct wf_control *ct, s32 value) wf_control 223 drivers/macintosh/windfarm_fcu_controls.c static int wf_fcu_fan_get_pwm(struct wf_control *ct, s32 *value) wf_control 252 drivers/macintosh/windfarm_fcu_controls.c static s32 wf_fcu_fan_min(struct wf_control *ct) wf_control 259 drivers/macintosh/windfarm_fcu_controls.c static s32 wf_fcu_fan_max(struct wf_control *ct) wf_control 55 drivers/macintosh/windfarm_pm112.c static struct wf_control *cpu_fans[NR_CPU_FANS]; wf_control 64 drivers/macintosh/windfarm_pm112.c static struct wf_control *cpufreq_clamp; wf_control 84 drivers/macintosh/windfarm_pm112.c static struct wf_control *backside_fan; wf_control 85 drivers/macintosh/windfarm_pm112.c static struct wf_control *slots_fan; wf_control 86 drivers/macintosh/windfarm_pm112.c static struct wf_control *drive_bay_fan; wf_control 131 drivers/macintosh/windfarm_pm112.c struct wf_control *main_fan = cpu_fans[0]; wf_control 268 drivers/macintosh/windfarm_pm112.c struct wf_control *ct; wf_control 551 drivers/macintosh/windfarm_pm112.c static void pm112_new_control(struct wf_control *ct) wf_control 235 drivers/macintosh/windfarm_pm121.c static struct wf_control *controls[N_CONTROLS] = {}; wf_control 511 drivers/macintosh/windfarm_pm121.c struct wf_control *control = NULL; wf_control 585 drivers/macintosh/windfarm_pm121.c struct wf_control *control; wf_control 646 drivers/macintosh/windfarm_pm121.c struct wf_control *fan_cpu; wf_control 721 drivers/macintosh/windfarm_pm121.c struct wf_control *fan_cpu = NULL; wf_control 867 drivers/macintosh/windfarm_pm121.c static struct wf_control* pm121_register_control(struct wf_control *ct, wf_control 878 drivers/macintosh/windfarm_pm121.c static void pm121_new_control(struct wf_control *ct) wf_control 946 drivers/macintosh/windfarm_pm121.c ((struct wf_control *)data)->name); wf_control 54 drivers/macintosh/windfarm_pm72.c static struct wf_control *cpu_front_fans[NR_CHIPS]; wf_control 55 drivers/macintosh/windfarm_pm72.c static struct wf_control *cpu_rear_fans[NR_CHIPS]; wf_control 56 drivers/macintosh/windfarm_pm72.c static struct wf_control *cpu_pumps[NR_CHIPS]; wf_control 57 drivers/macintosh/windfarm_pm72.c static struct wf_control *backside_fan; wf_control 58 drivers/macintosh/windfarm_pm72.c static struct wf_control *drives_fan; wf_control 59 drivers/macintosh/windfarm_pm72.c static struct wf_control *slots_fan; wf_control 60 drivers/macintosh/windfarm_pm72.c static struct wf_control *cpufreq_clamp; wf_control 311 drivers/macintosh/windfarm_pm72.c struct wf_control *pump0, *pump1; wf_control 669 drivers/macintosh/windfarm_pm72.c static void pm72_new_control(struct wf_control *ct) wf_control 135 drivers/macintosh/windfarm_pm81.c static struct wf_control *fan_cpu_main; wf_control 136 drivers/macintosh/windfarm_pm81.c static struct wf_control *fan_hd; wf_control 137 drivers/macintosh/windfarm_pm81.c static struct wf_control *fan_system; wf_control 138 drivers/macintosh/windfarm_pm81.c static struct wf_control *cpufreq_clamp; wf_control 611 drivers/macintosh/windfarm_pm81.c static void wf_smu_new_control(struct wf_control *ct) wf_control 681 drivers/macintosh/windfarm_pm81.c ((struct wf_control *)data)->name); wf_control 69 drivers/macintosh/windfarm_pm91.c static struct wf_control *fan_cpu_main; wf_control 70 drivers/macintosh/windfarm_pm91.c static struct wf_control *fan_cpu_second; wf_control 71 drivers/macintosh/windfarm_pm91.c static struct wf_control *fan_cpu_third; wf_control 72 drivers/macintosh/windfarm_pm91.c static struct wf_control *fan_hd; wf_control 73 drivers/macintosh/windfarm_pm91.c static struct wf_control *fan_slots; wf_control 74 drivers/macintosh/windfarm_pm91.c static struct wf_control *cpufreq_clamp; wf_control 537 drivers/macintosh/windfarm_pm91.c static void wf_smu_new_control(struct wf_control *ct) wf_control 614 drivers/macintosh/windfarm_pm91.c ((struct wf_control *)data)->name); wf_control 55 drivers/macintosh/windfarm_rm31.c static struct wf_control *cpu_fans[NR_CHIPS][3]; wf_control 56 drivers/macintosh/windfarm_rm31.c static struct wf_control *backside_fan; wf_control 57 drivers/macintosh/windfarm_rm31.c static struct wf_control *slots_fan; wf_control 58 drivers/macintosh/windfarm_rm31.c static struct wf_control *cpufreq_clamp; wf_control 567 drivers/macintosh/windfarm_rm31.c static void rm31_new_control(struct wf_control *ct) wf_control 49 drivers/macintosh/windfarm_smu_controls.c struct wf_control ctrl; wf_control 108 drivers/macintosh/windfarm_smu_controls.c static void smu_fan_release(struct wf_control *ct) wf_control 115 drivers/macintosh/windfarm_smu_controls.c static int smu_fan_set(struct wf_control *ct, s32 value) wf_control 128 drivers/macintosh/windfarm_smu_controls.c static int smu_fan_get(struct wf_control *ct, s32 *value) wf_control 135 drivers/macintosh/windfarm_smu_controls.c static s32 smu_fan_min(struct wf_control *ct) wf_control 141 drivers/macintosh/windfarm_smu_controls.c static s32 smu_fan_max(struct wf_control *ct)