Symbol: wf_control
drivers/macintosh/windfarm.h
25
struct wf_control;
drivers/macintosh/windfarm.h
28
int (*set_value)(struct wf_control *ct, s32 val);
drivers/macintosh/windfarm.h
29
int (*get_value)(struct wf_control *ct, s32 *val);
drivers/macintosh/windfarm.h
30
s32 (*get_min)(struct wf_control *ct);
drivers/macintosh/windfarm.h
31
s32 (*get_max)(struct wf_control *ct);
drivers/macintosh/windfarm.h
32
void (*release)(struct wf_control *ct);
drivers/macintosh/windfarm.h
56
extern int wf_register_control(struct wf_control *ct);
drivers/macintosh/windfarm.h
57
extern void wf_unregister_control(struct wf_control *ct);
drivers/macintosh/windfarm.h
58
extern int wf_get_control(struct wf_control *ct);
drivers/macintosh/windfarm.h
59
extern void wf_put_control(struct wf_control *ct);
drivers/macintosh/windfarm.h
61
static inline int wf_control_set_max(struct wf_control *ct)
drivers/macintosh/windfarm.h
67
static inline int wf_control_set_min(struct wf_control *ct)
drivers/macintosh/windfarm.h
73
static inline int wf_control_set(struct wf_control *ct, s32 val)
drivers/macintosh/windfarm.h
78
static inline int wf_control_get(struct wf_control *ct, s32 *val)
drivers/macintosh/windfarm.h
83
static inline s32 wf_control_get_min(struct wf_control *ct)
drivers/macintosh/windfarm.h
88
static inline s32 wf_control_get_max(struct wf_control *ct)
drivers/macintosh/windfarm_core.c
149
struct wf_control *ct = container_of(kref, struct wf_control, ref);
drivers/macintosh/windfarm_core.c
162
struct wf_control *ctrl = container_of(attr, struct wf_control, attr);
drivers/macintosh/windfarm_core.c
191
struct wf_control *ctrl = container_of(attr, struct wf_control, attr);
drivers/macintosh/windfarm_core.c
207
int wf_register_control(struct wf_control *new_ct)
drivers/macintosh/windfarm_core.c
209
struct wf_control *ct;
drivers/macintosh/windfarm_core.c
242
void wf_unregister_control(struct wf_control *ct)
drivers/macintosh/windfarm_core.c
254
int wf_get_control(struct wf_control *ct)
drivers/macintosh/windfarm_core.c
263
void wf_put_control(struct wf_control *ct)
drivers/macintosh/windfarm_core.c
374
struct wf_control *ct;
drivers/macintosh/windfarm_cpufreq_clamp.c
18
static struct wf_control *clamp_control;
drivers/macintosh/windfarm_cpufreq_clamp.c
22
static int clamp_set(struct wf_control *ct, s32 value)
drivers/macintosh/windfarm_cpufreq_clamp.c
39
static int clamp_get(struct wf_control *ct, s32 *value)
drivers/macintosh/windfarm_cpufreq_clamp.c
45
static s32 clamp_min(struct wf_control *ct)
drivers/macintosh/windfarm_cpufreq_clamp.c
50
static s32 clamp_max(struct wf_control *ct)
drivers/macintosh/windfarm_cpufreq_clamp.c
66
struct wf_control *clamp;
drivers/macintosh/windfarm_cpufreq_clamp.c
97
clamp = kmalloc_obj(struct wf_control);
drivers/macintosh/windfarm_fcu_controls.c
144
static int wf_fcu_fan_set_rpm(struct wf_control *ct, s32 value)
drivers/macintosh/windfarm_fcu_controls.c
166
static int wf_fcu_fan_get_rpm(struct wf_control *ct, s32 *value)
drivers/macintosh/windfarm_fcu_controls.c
201
static int wf_fcu_fan_set_pwm(struct wf_control *ct, s32 value)
drivers/macintosh/windfarm_fcu_controls.c
223
static int wf_fcu_fan_get_pwm(struct wf_control *ct, s32 *value)
drivers/macintosh/windfarm_fcu_controls.c
252
static s32 wf_fcu_fan_min(struct wf_control *ct)
drivers/macintosh/windfarm_fcu_controls.c
259
static s32 wf_fcu_fan_max(struct wf_control *ct)
drivers/macintosh/windfarm_fcu_controls.c
68
struct wf_control ctrl;
drivers/macintosh/windfarm_fcu_controls.c
78
static void wf_fcu_fan_release(struct wf_control *ct)
drivers/macintosh/windfarm_pm112.c
133
struct wf_control *main_fan = cpu_fans[0];
drivers/macintosh/windfarm_pm112.c
275
struct wf_control *ct;
drivers/macintosh/windfarm_pm112.c
558
static void pm112_new_control(struct wf_control *ct)
drivers/macintosh/windfarm_pm112.c
57
static struct wf_control *cpu_fans[NR_CPU_FANS];
drivers/macintosh/windfarm_pm112.c
66
static struct wf_control *cpufreq_clamp;
drivers/macintosh/windfarm_pm112.c
86
static struct wf_control *backside_fan;
drivers/macintosh/windfarm_pm112.c
87
static struct wf_control *slots_fan;
drivers/macintosh/windfarm_pm112.c
88
static struct wf_control *drive_bay_fan;
drivers/macintosh/windfarm_pm121.c
236
static struct wf_control *controls[N_CONTROLS] = {};
drivers/macintosh/windfarm_pm121.c
512
struct wf_control *control = NULL;
drivers/macintosh/windfarm_pm121.c
585
struct wf_control *control;
drivers/macintosh/windfarm_pm121.c
646
struct wf_control *fan_cpu;
drivers/macintosh/windfarm_pm121.c
720
struct wf_control *fan_cpu = NULL;
drivers/macintosh/windfarm_pm121.c
866
static struct wf_control* pm121_register_control(struct wf_control *ct,
drivers/macintosh/windfarm_pm121.c
877
static void pm121_new_control(struct wf_control *ct)
drivers/macintosh/windfarm_pm121.c
945
((struct wf_control *)data)->name);
drivers/macintosh/windfarm_pm72.c
311
struct wf_control *pump0, *pump1;
drivers/macintosh/windfarm_pm72.c
54
static struct wf_control *cpu_front_fans[NR_CHIPS];
drivers/macintosh/windfarm_pm72.c
55
static struct wf_control *cpu_rear_fans[NR_CHIPS];
drivers/macintosh/windfarm_pm72.c
56
static struct wf_control *cpu_pumps[NR_CHIPS];
drivers/macintosh/windfarm_pm72.c
57
static struct wf_control *backside_fan;
drivers/macintosh/windfarm_pm72.c
58
static struct wf_control *drives_fan;
drivers/macintosh/windfarm_pm72.c
59
static struct wf_control *slots_fan;
drivers/macintosh/windfarm_pm72.c
60
static struct wf_control *cpufreq_clamp;
drivers/macintosh/windfarm_pm72.c
669
static void pm72_new_control(struct wf_control *ct)
drivers/macintosh/windfarm_pm81.c
136
static struct wf_control *fan_cpu_main;
drivers/macintosh/windfarm_pm81.c
137
static struct wf_control *fan_hd;
drivers/macintosh/windfarm_pm81.c
138
static struct wf_control *fan_system;
drivers/macintosh/windfarm_pm81.c
139
static struct wf_control *cpufreq_clamp;
drivers/macintosh/windfarm_pm81.c
610
static void wf_smu_new_control(struct wf_control *ct)
drivers/macintosh/windfarm_pm81.c
680
((struct wf_control *)data)->name);
drivers/macintosh/windfarm_pm91.c
535
static void wf_smu_new_control(struct wf_control *ct)
drivers/macintosh/windfarm_pm91.c
612
((struct wf_control *)data)->name);
drivers/macintosh/windfarm_pm91.c
70
static struct wf_control *fan_cpu_main;
drivers/macintosh/windfarm_pm91.c
71
static struct wf_control *fan_cpu_second;
drivers/macintosh/windfarm_pm91.c
72
static struct wf_control *fan_cpu_third;
drivers/macintosh/windfarm_pm91.c
73
static struct wf_control *fan_hd;
drivers/macintosh/windfarm_pm91.c
74
static struct wf_control *fan_slots;
drivers/macintosh/windfarm_pm91.c
75
static struct wf_control *cpufreq_clamp;
drivers/macintosh/windfarm_rm31.c
55
static struct wf_control *cpu_fans[NR_CHIPS][3];
drivers/macintosh/windfarm_rm31.c
56
static struct wf_control *backside_fan;
drivers/macintosh/windfarm_rm31.c
567
static void rm31_new_control(struct wf_control *ct)
drivers/macintosh/windfarm_rm31.c
57
static struct wf_control *slots_fan;
drivers/macintosh/windfarm_rm31.c
58
static struct wf_control *cpufreq_clamp;
drivers/macintosh/windfarm_smu_controls.c
109
static void smu_fan_release(struct wf_control *ct)
drivers/macintosh/windfarm_smu_controls.c
116
static int smu_fan_set(struct wf_control *ct, s32 value)
drivers/macintosh/windfarm_smu_controls.c
129
static int smu_fan_get(struct wf_control *ct, s32 *value)
drivers/macintosh/windfarm_smu_controls.c
136
static s32 smu_fan_min(struct wf_control *ct)
drivers/macintosh/windfarm_smu_controls.c
142
static s32 smu_fan_max(struct wf_control *ct)
drivers/macintosh/windfarm_smu_controls.c
50
struct wf_control ctrl;