Searched refs:wf_sensor (Results 1 - 9 of 9) sorted by relevance
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/macintosh/ |
H A D | windfarm.h | 79 struct wf_sensor; 82 int (*get_value)(struct wf_sensor *sr, s32 *val); 83 void (*release)(struct wf_sensor *sr); 87 struct wf_sensor { struct 96 extern int wf_register_sensor(struct wf_sensor *sr); 97 extern void wf_unregister_sensor(struct wf_sensor *sr); 98 extern struct wf_sensor * wf_find_sensor(const char *name); 99 extern int wf_get_sensor(struct wf_sensor *sr); 100 extern void wf_put_sensor(struct wf_sensor *sr); 123 #define WF_EVENT_NEW_SENSOR 1 /* param is wf_sensor * */ [all...] |
H A D | windfarm_smu_sensors.c | 56 struct wf_sensor sens; 60 static void smu_ads_release(struct wf_sensor *sr) 89 static int smu_cputemp_get(struct wf_sensor *sr, s32 *value) 112 static int smu_cpuamp_get(struct wf_sensor *sr, s32 *value) 133 static int smu_cpuvolt_get(struct wf_sensor *sr, s32 *value) 154 static int smu_slotspow_get(struct wf_sensor *sr, s32 *value) 277 struct wf_sensor *volts; 278 struct wf_sensor *amps; 281 struct wf_sensor sens; 287 static void smu_cpu_power_release(struct wf_sensor *s [all...] |
H A D | windfarm_core.c | 288 struct wf_sensor *sr = container_of(kref, struct wf_sensor, ref); 301 struct wf_sensor *sens = container_of(attr, struct wf_sensor, attr); 311 int wf_register_sensor(struct wf_sensor *new_sr) 313 struct wf_sensor *sr; 346 void wf_unregister_sensor(struct wf_sensor *sr) 358 struct wf_sensor * wf_find_sensor(const char *name) 360 struct wf_sensor *sr; 376 int wf_get_sensor(struct wf_sensor *s [all...] |
H A D | windfarm_max6690_sensor.c | 30 struct wf_sensor sens; 47 static int wf_max6690_get(struct wf_sensor *sr, s32 *value) 63 static void wf_max6690_release(struct wf_sensor *sr)
|
H A D | windfarm_pm91.c | 67 static struct wf_sensor *sensor_cpu_power; 68 static struct wf_sensor *sensor_cpu_temp; 69 static struct wf_sensor *sensor_hd_temp; 70 static struct wf_sensor *sensor_slots_power; 573 static void wf_smu_new_sensor(struct wf_sensor *sr) 616 ((struct wf_sensor *)data)->name);
|
H A D | windfarm_lm75_sensor.c | 41 struct wf_sensor sens; 57 static int wf_lm75_get(struct wf_sensor *sr, s32 *value) 91 static void wf_lm75_release(struct wf_sensor *sr)
|
H A D | windfarm_pm112.c | 50 static struct wf_sensor *sens_cpu_temp[NR_CORES]; 51 static struct wf_sensor *sens_cpu_power[NR_CORES]; 52 static struct wf_sensor *hd_temp; 53 static struct wf_sensor *slots_power; 54 static struct wf_sensor *u4_temp; 268 struct wf_sensor *sr; 597 static void pm112_new_sensor(struct wf_sensor *sr)
|
H A D | windfarm_pm81.c | 135 static struct wf_sensor *sensor_cpu_power; 136 static struct wf_sensor *sensor_cpu_temp; 137 static struct wf_sensor *sensor_hd_temp; 649 static void wf_smu_new_sensor(struct wf_sensor *sr) 686 ((struct wf_sensor *)data)->name);
|
H A D | windfarm_smu_sat.c | 53 struct wf_sensor sens; 171 static int wf_sat_get(struct wf_sensor *sr, s32 *value) 204 static void wf_sat_release(struct wf_sensor *sr)
|
Completed in 168 milliseconds