Searched refs:wf_sensor (Results 1 - 14 of 14) sorted by relevance

/linux-master/drivers/macintosh/
H A Dwindfarm.h97 struct wf_sensor;
100 int (*get_value)(struct wf_sensor *sr, s32 *val);
101 void (*release)(struct wf_sensor *sr);
105 struct wf_sensor { struct
115 extern int wf_register_sensor(struct wf_sensor *sr);
116 extern void wf_unregister_sensor(struct wf_sensor *sr);
117 extern int wf_get_sensor(struct wf_sensor *sr);
118 extern void wf_put_sensor(struct wf_sensor *sr);
120 static inline int wf_sensor_get(struct wf_sensor *sr, s32 *val)
145 #define WF_EVENT_NEW_SENSOR 1 /* param is wf_sensor * */
[all...]
H A Dwindfarm_core.c279 struct wf_sensor *sr = container_of(kref, struct wf_sensor, ref);
292 struct wf_sensor *sens = container_of(attr, struct wf_sensor, attr);
302 int wf_register_sensor(struct wf_sensor *new_sr)
304 struct wf_sensor *sr;
337 void wf_unregister_sensor(struct wf_sensor *sr)
349 int wf_get_sensor(struct wf_sensor *sr)
358 void wf_put_sensor(struct wf_sensor *sr)
375 struct wf_sensor *s
[all...]
H A Dwindfarm_smu_sensors.c55 struct wf_sensor sens;
59 static void smu_ads_release(struct wf_sensor *sr)
88 static int smu_cputemp_get(struct wf_sensor *sr, s32 *value)
111 static int smu_cpuamp_get(struct wf_sensor *sr, s32 *value)
132 static int smu_cpuvolt_get(struct wf_sensor *sr, s32 *value)
153 static int smu_slotspow_get(struct wf_sensor *sr, s32 *value)
275 struct wf_sensor *volts;
276 struct wf_sensor *amps;
279 struct wf_sensor sens;
285 static void smu_cpu_power_release(struct wf_sensor *s
[all...]
H A Dwindfarm_max6690_sensor.c29 struct wf_sensor sens;
34 static int wf_max6690_get(struct wf_sensor *sr, s32 *value)
50 static void wf_max6690_release(struct wf_sensor *sr)
H A Dwindfarm_pm121.c219 static struct wf_sensor *sensor_cpu_power;
220 static struct wf_sensor *sensor_cpu_temp;
221 static struct wf_sensor *sensor_cpu_voltage;
222 static struct wf_sensor *sensor_cpu_current;
223 static struct wf_sensor *sensor_gpu_temp;
224 static struct wf_sensor *sensor_north_bridge_temp;
225 static struct wf_sensor *sensor_hard_drive_temp;
226 static struct wf_sensor *sensor_optical_drive_temp;
227 static struct wf_sensor *sensor_incoming_air_temp; /* unused ! */
354 struct wf_sensor **senso
[all...]
H A Dwindfarm_lm87_sensor.c36 struct wf_sensor sens;
66 static int wf_lm87_get(struct wf_sensor *sr, s32 *value)
85 static void wf_lm87_release(struct wf_sensor *sr)
H A Dwindfarm_lm75_sensor.c39 struct wf_sensor sens;
43 static int wf_lm75_get(struct wf_sensor *sr, s32 *value)
77 static void wf_lm75_release(struct wf_sensor *sr)
H A Dwindfarm_ad7417_sensor.c32 struct wf_sensor sensors[5];
36 static int wf_ad7417_temp_get(struct wf_sensor *sr, s32 *value)
99 static int wf_ad7417_adc_get(struct wf_sensor *sr, s32 *value)
159 static void wf_ad7417_sensor_release(struct wf_sensor *sr)
H A Dwindfarm_pm91.c66 static struct wf_sensor *sensor_cpu_power;
67 static struct wf_sensor *sensor_cpu_temp;
68 static struct wf_sensor *sensor_hd_temp;
69 static struct wf_sensor *sensor_slots_power;
578 static void wf_smu_new_sensor(struct wf_sensor *sr)
621 ((struct wf_sensor *)data)->name);
H A Dwindfarm_pm112.c51 static struct wf_sensor *sens_cpu_temp[NR_CORES];
52 static struct wf_sensor *sens_cpu_power[NR_CORES];
53 static struct wf_sensor *hd_temp;
54 static struct wf_sensor *slots_power;
55 static struct wf_sensor *u4_temp;
274 struct wf_sensor *sr;
603 static void pm112_new_sensor(struct wf_sensor *sr)
H A Dwindfarm_rm31.c48 static struct wf_sensor *sens_cpu_temp[NR_CHIPS];
49 static struct wf_sensor *sens_cpu_volts[NR_CHIPS];
50 static struct wf_sensor *sens_cpu_amps[NR_CHIPS];
51 static struct wf_sensor *backside_temp;
52 static struct wf_sensor *slots_temp;
53 static struct wf_sensor *dimms_temp;
605 static void rm31_new_sensor(struct wf_sensor *sr)
H A Dwindfarm_pm72.c48 static struct wf_sensor *sens_cpu_temp[NR_CHIPS];
49 static struct wf_sensor *sens_cpu_volts[NR_CHIPS];
50 static struct wf_sensor *sens_cpu_amps[NR_CHIPS];
51 static struct wf_sensor *backside_temp;
52 static struct wf_sensor *drives_temp;
715 static void pm72_new_sensor(struct wf_sensor *sr)
H A Dwindfarm_smu_sat.c46 struct wf_sensor sens;
135 static int wf_sat_sensor_get(struct wf_sensor *sr, s32 *value)
178 static void wf_sat_sensor_release(struct wf_sensor *sr)
H A Dwindfarm_pm81.c133 static struct wf_sensor *sensor_cpu_power;
134 static struct wf_sensor *sensor_cpu_temp;
135 static struct wf_sensor *sensor_hd_temp;
651 static void wf_smu_new_sensor(struct wf_sensor *sr)
688 ((struct wf_sensor *)data)->name);

Completed in 113 milliseconds