Lines Matching defs:nct6683_data
301 struct nct6683_data { struct
302 int addr; /* IO base of EC space */
303 int sioreg; /* SIO register */
304 enum kinds kind;
305 u16 customer_id;
307 struct device *hwmon_dev;
308 const struct attribute_group *groups[6];
310 int temp_num; /* number of temperature attributes */
311 u8 temp_index[NCT6683_NUM_REG_MON];
312 u8 temp_src[NCT6683_NUM_REG_MON];
314 u8 in_num; /* number of voltage attributes */
315 u8 in_index[NCT6683_NUM_REG_MON];
316 u8 in_src[NCT6683_NUM_REG_MON];
318 struct mutex update_lock; /* used to protect sensor updates */
319 bool valid; /* true if following fields are valid */
320 unsigned long last_updated; /* In jiffies */
323 u8 in[3][NCT6683_NUM_REG_MON]; /* [0]=in, [1]=in_max, [2]=in_min */
326 s16 temp_in[NCT6683_NUM_REG_MON];
327 s8 temp[4][NCT6683_NUM_REG_MON];/* [0]=min, [1]=max, [2]=hyst,
332 unsigned int rpm[NCT6683_NUM_REG_FAN];
333 u16 fan_min[NCT6683_NUM_REG_FAN];
334 u8 fanin_cfg[NCT6683_NUM_REG_FAN];
335 u8 fanout_cfg[NCT6683_NUM_REG_FAN];
336 u16 have_fan; /* some fan inputs can be disabled */
338 u8 have_pwm;
339 u8 pwm[NCT6683_NUM_REG_PWM];
343 u8 hwm_cfg;