Lines Matching defs:nct6683_data
287 struct nct6683_data { struct
288 int addr; /* IO base of EC space */
289 int sioreg; /* SIO register */
290 enum kinds kind;
291 u16 customer_id;
293 struct device *hwmon_dev;
294 const struct attribute_group *groups[6];
296 int temp_num; /* number of temperature attributes */
297 u8 temp_index[NCT6683_NUM_REG_MON];
298 u8 temp_src[NCT6683_NUM_REG_MON];
300 u8 in_num; /* number of voltage attributes */
301 u8 in_index[NCT6683_NUM_REG_MON];
302 u8 in_src[NCT6683_NUM_REG_MON];
304 struct mutex update_lock; /* used to protect sensor updates */
305 bool valid; /* true if following fields are valid */
306 unsigned long last_updated; /* In jiffies */
309 u8 in[3][NCT6683_NUM_REG_MON]; /* [0]=in, [1]=in_max, [2]=in_min */
312 s16 temp_in[NCT6683_NUM_REG_MON];
313 s8 temp[4][NCT6683_NUM_REG_MON];/* [0]=min, [1]=max, [2]=hyst,
318 unsigned int rpm[NCT6683_NUM_REG_FAN];
319 u16 fan_min[NCT6683_NUM_REG_FAN];
320 u8 fanin_cfg[NCT6683_NUM_REG_FAN];
321 u8 fanout_cfg[NCT6683_NUM_REG_FAN];
322 u16 have_fan; /* some fan inputs can be disabled */
324 u8 have_pwm;
325 u8 pwm[NCT6683_NUM_REG_PWM];
329 u8 hwm_cfg;