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