Lines Matching defs:w83793_data
204 struct w83793_data { struct
205 struct i2c_client *lm75[2];
206 struct device *hwmon_dev;
207 struct mutex update_lock;
208 char valid; /* !=0 if following fields are valid */
209 unsigned long last_updated; /* In jiffies */
210 unsigned long last_nonvolatile; /* In jiffies, last time we update the
214 u8 bank;
215 u8 vrm;
216 u8 vid[2];
217 u8 in[10][3]; /* Register value, read/high/low */
218 u8 in_low_bits[3]; /* Additional resolution for VCore A/B Vtt */
220 u16 has_fan; /* Only fan1- fan5 has own pins */
221 u16 fan[12]; /* Register value combine */
222 u16 fan_min[12]; /* Register value combine */
224 s8 temp[6][5]; /* current, crit, crit_hyst,warn, warn_hyst */
225 u8 temp_low_bits; /* Additional resolution TD1-TD4 */
226 u8 temp_mode[2]; /* byte 0: Temp D1-D4 mode each has 2 bits
229 u8 temp_critical; /* If reached all fan will be at full speed */
230 u8 temp_fan_map[6]; /* Temp controls which pwm fan, bit field */
232 u8 has_pwm;
233 u8 has_temp;
234 u8 has_vid;
235 u8 pwm_enable; /* Register value, each Temp has 1 bit */
236 u8 pwm_uptime; /* Register value */
237 u8 pwm_downtime; /* Register value */
238 u8 pwm_default; /* All fan default pwm, next poweron valid */
239 u8 pwm[8][3]; /* Register value */
240 u8 pwm_stop_time[8];
241 u8 temp_cruise[6];
243 u8 alarms[5]; /* realtime status registers */
244 u8 beeps[5];
245 u8 beep_enable;
246 u8 tolerance[3]; /* Temp tolerance(Smart Fan I/II) */
247 u8 sf2_pwm[6][7]; /* Smart FanII: Fan duty cycle */
248 u8 sf2_temp[6][7]; /* Smart FanII: Temp level point */
251 struct i2c_client *client;
252 struct mutex watchdog_lock;
253 struct list_head list; /* member of the watchdog_data_list */
254 struct kref kref;
255 struct miscdevice watchdog_miscdev;
256 unsigned long watchdog_is_open;
280 struct w83793_data *data = container_of(ref, struct w83793_data, kref); in w83793_release_resources() argument