wf_control
struct wf_control;
int (*set_value)(struct wf_control *ct, s32 val);
int (*get_value)(struct wf_control *ct, s32 *val);
s32 (*get_min)(struct wf_control *ct);
s32 (*get_max)(struct wf_control *ct);
void (*release)(struct wf_control *ct);
extern int wf_register_control(struct wf_control *ct);
extern void wf_unregister_control(struct wf_control *ct);
extern int wf_get_control(struct wf_control *ct);
extern void wf_put_control(struct wf_control *ct);
static inline int wf_control_set_max(struct wf_control *ct)
static inline int wf_control_set_min(struct wf_control *ct)
static inline int wf_control_set(struct wf_control *ct, s32 val)
static inline int wf_control_get(struct wf_control *ct, s32 *val)
static inline s32 wf_control_get_min(struct wf_control *ct)
static inline s32 wf_control_get_max(struct wf_control *ct)
struct wf_control *ct = container_of(kref, struct wf_control, ref);
struct wf_control *ctrl = container_of(attr, struct wf_control, attr);
struct wf_control *ctrl = container_of(attr, struct wf_control, attr);
int wf_register_control(struct wf_control *new_ct)
struct wf_control *ct;
void wf_unregister_control(struct wf_control *ct)
int wf_get_control(struct wf_control *ct)
void wf_put_control(struct wf_control *ct)
struct wf_control *ct;
static struct wf_control *clamp_control;
static int clamp_set(struct wf_control *ct, s32 value)
static int clamp_get(struct wf_control *ct, s32 *value)
static s32 clamp_min(struct wf_control *ct)
static s32 clamp_max(struct wf_control *ct)
struct wf_control *clamp;
clamp = kmalloc_obj(struct wf_control);
static int wf_fcu_fan_set_rpm(struct wf_control *ct, s32 value)
static int wf_fcu_fan_get_rpm(struct wf_control *ct, s32 *value)
static int wf_fcu_fan_set_pwm(struct wf_control *ct, s32 value)
static int wf_fcu_fan_get_pwm(struct wf_control *ct, s32 *value)
static s32 wf_fcu_fan_min(struct wf_control *ct)
static s32 wf_fcu_fan_max(struct wf_control *ct)
struct wf_control ctrl;
static void wf_fcu_fan_release(struct wf_control *ct)
struct wf_control *main_fan = cpu_fans[0];
struct wf_control *ct;
static void pm112_new_control(struct wf_control *ct)
static struct wf_control *cpu_fans[NR_CPU_FANS];
static struct wf_control *cpufreq_clamp;
static struct wf_control *backside_fan;
static struct wf_control *slots_fan;
static struct wf_control *drive_bay_fan;
static struct wf_control *controls[N_CONTROLS] = {};
struct wf_control *control = NULL;
struct wf_control *control;
struct wf_control *fan_cpu;
struct wf_control *fan_cpu = NULL;
static struct wf_control* pm121_register_control(struct wf_control *ct,
static void pm121_new_control(struct wf_control *ct)
((struct wf_control *)data)->name);
struct wf_control *pump0, *pump1;
static struct wf_control *cpu_front_fans[NR_CHIPS];
static struct wf_control *cpu_rear_fans[NR_CHIPS];
static struct wf_control *cpu_pumps[NR_CHIPS];
static struct wf_control *backside_fan;
static struct wf_control *drives_fan;
static struct wf_control *slots_fan;
static struct wf_control *cpufreq_clamp;
static void pm72_new_control(struct wf_control *ct)
static struct wf_control *fan_cpu_main;
static struct wf_control *fan_hd;
static struct wf_control *fan_system;
static struct wf_control *cpufreq_clamp;
static void wf_smu_new_control(struct wf_control *ct)
((struct wf_control *)data)->name);
static void wf_smu_new_control(struct wf_control *ct)
((struct wf_control *)data)->name);
static struct wf_control *fan_cpu_main;
static struct wf_control *fan_cpu_second;
static struct wf_control *fan_cpu_third;
static struct wf_control *fan_hd;
static struct wf_control *fan_slots;
static struct wf_control *cpufreq_clamp;
static struct wf_control *cpu_fans[NR_CHIPS][3];
static struct wf_control *backside_fan;
static void rm31_new_control(struct wf_control *ct)
static struct wf_control *slots_fan;
static struct wf_control *cpufreq_clamp;
static void smu_fan_release(struct wf_control *ct)
static int smu_fan_set(struct wf_control *ct, s32 value)
static int smu_fan_get(struct wf_control *ct, s32 *value)
static s32 smu_fan_min(struct wf_control *ct)
static s32 smu_fan_max(struct wf_control *ct)
struct wf_control ctrl;