Home
last modified time | relevance | path

Searched refs:wf_control (Results 1 – 11 of 11) sorted by relevance

/drivers/macintosh/
Dwindfarm.h25 struct wf_control;
28 int (*set_value)(struct wf_control *ct, s32 val);
29 int (*get_value)(struct wf_control *ct, s32 *val);
30 s32 (*get_min)(struct wf_control *ct);
31 s32 (*get_max)(struct wf_control *ct);
32 void (*release)(struct wf_control *ct);
36 struct wf_control { struct
56 extern int wf_register_control(struct wf_control *ct); argument
57 extern void wf_unregister_control(struct wf_control *ct);
58 extern int wf_get_control(struct wf_control *ct);
[all …]
Dwindfarm_cpufreq_clamp.c20 static struct wf_control *clamp_control;
24 static int clamp_set(struct wf_control *ct, s32 value) in clamp_set()
41 static int clamp_get(struct wf_control *ct, s32 *value) in clamp_get()
47 static s32 clamp_min(struct wf_control *ct) in clamp_min()
52 static s32 clamp_max(struct wf_control *ct) in clamp_max()
68 struct wf_control *clamp; in wf_cpufreq_clamp_init()
99 clamp = kmalloc(sizeof(struct wf_control), GFP_KERNEL); in wf_cpufreq_clamp_init()
Dwindfarm_core.c151 struct wf_control *ct = container_of(kref, struct wf_control, ref); in wf_control_release()
164 struct wf_control *ctrl = container_of(attr, struct wf_control, attr); in wf_show_control()
193 struct wf_control *ctrl = container_of(attr, struct wf_control, attr); in wf_store_control()
209 int wf_register_control(struct wf_control *new_ct) in wf_register_control()
211 struct wf_control *ct; in wf_register_control()
244 void wf_unregister_control(struct wf_control *ct) in wf_unregister_control()
256 int wf_get_control(struct wf_control *ct) in wf_get_control()
265 void wf_put_control(struct wf_control *ct) in wf_put_control()
376 struct wf_control *ct; in wf_register_client()
Dwindfarm_smu_controls.c49 struct wf_control ctrl;
108 static void smu_fan_release(struct wf_control *ct) in smu_fan_release()
115 static int smu_fan_set(struct wf_control *ct, s32 value) in smu_fan_set()
128 static int smu_fan_get(struct wf_control *ct, s32 *value) in smu_fan_get()
135 static s32 smu_fan_min(struct wf_control *ct) in smu_fan_min()
141 static s32 smu_fan_max(struct wf_control *ct) in smu_fan_max()
Dwindfarm_pm91.c69 static struct wf_control *fan_cpu_main;
70 static struct wf_control *fan_cpu_second;
71 static struct wf_control *fan_cpu_third;
72 static struct wf_control *fan_hd;
73 static struct wf_control *fan_slots;
74 static struct wf_control *cpufreq_clamp;
537 static void wf_smu_new_control(struct wf_control *ct) in wf_smu_new_control()
614 ((struct wf_control *)data)->name); in wf_smu_notify()
Dwindfarm_pm121.c235 static struct wf_control *controls[N_CONTROLS] = {};
511 struct wf_control *control = NULL; in pm121_create_sys_fans()
585 struct wf_control *control; in pm121_sys_fans_tick()
646 struct wf_control *fan_cpu; in pm121_create_cpu_fans()
721 struct wf_control *fan_cpu = NULL; in pm121_cpu_fans_tick()
867 static struct wf_control* pm121_register_control(struct wf_control *ct, in pm121_register_control()
878 static void pm121_new_control(struct wf_control *ct) in pm121_new_control()
946 ((struct wf_control *)data)->name); in pm121_notify()
Dwindfarm_fcu_controls.c68 struct wf_control ctrl;
78 static void wf_fcu_fan_release(struct wf_control *ct) in wf_fcu_fan_release()
144 static int wf_fcu_fan_set_rpm(struct wf_control *ct, s32 value) in wf_fcu_fan_set_rpm()
166 static int wf_fcu_fan_get_rpm(struct wf_control *ct, s32 *value) in wf_fcu_fan_get_rpm()
201 static int wf_fcu_fan_set_pwm(struct wf_control *ct, s32 value) in wf_fcu_fan_set_pwm()
223 static int wf_fcu_fan_get_pwm(struct wf_control *ct, s32 *value) in wf_fcu_fan_get_pwm()
252 static s32 wf_fcu_fan_min(struct wf_control *ct) in wf_fcu_fan_min()
259 static s32 wf_fcu_fan_max(struct wf_control *ct) in wf_fcu_fan_max()
Dwindfarm_pm72.c54 static struct wf_control *cpu_front_fans[NR_CHIPS];
55 static struct wf_control *cpu_rear_fans[NR_CHIPS];
56 static struct wf_control *cpu_pumps[NR_CHIPS];
57 static struct wf_control *backside_fan;
58 static struct wf_control *drives_fan;
59 static struct wf_control *slots_fan;
60 static struct wf_control *cpufreq_clamp;
311 struct wf_control *pump0, *pump1; in cpu_fans_tick_combined()
669 static void pm72_new_control(struct wf_control *ct) in pm72_new_control()
Dwindfarm_pm112.c55 static struct wf_control *cpu_fans[NR_CPU_FANS];
64 static struct wf_control *cpufreq_clamp;
84 static struct wf_control *backside_fan;
85 static struct wf_control *slots_fan;
86 static struct wf_control *drive_bay_fan;
131 struct wf_control *main_fan = cpu_fans[0]; in create_cpu_loop()
273 struct wf_control *ct; in cpu_fans_tick()
556 static void pm112_new_control(struct wf_control *ct) in pm112_new_control()
Dwindfarm_pm81.c135 static struct wf_control *fan_cpu_main;
136 static struct wf_control *fan_hd;
137 static struct wf_control *fan_system;
138 static struct wf_control *cpufreq_clamp;
611 static void wf_smu_new_control(struct wf_control *ct) in wf_smu_new_control()
681 ((struct wf_control *)data)->name); in wf_smu_notify()
Dwindfarm_rm31.c55 static struct wf_control *cpu_fans[NR_CHIPS][3];
56 static struct wf_control *backside_fan;
57 static struct wf_control *slots_fan;
58 static struct wf_control *cpufreq_clamp;
567 static void rm31_new_control(struct wf_control *ct) in rm31_new_control()