Lines Matching defs:it87_data
428 struct it87_data { struct
429 struct device *hwmon_dev;
430 enum chips type;
431 u16 features;
432 u8 peci_mask;
433 u8 old_peci_mask;
435 unsigned short addr;
436 const char *name;
437 struct mutex update_lock;
438 char valid; /* !=0 if following fields are valid */
439 unsigned long last_updated; /* In jiffies */
441 u16 in_scaled; /* Internal voltage sensors are scaled */
442 u8 in[10][3]; /* [nr][0]=in, [1]=min, [2]=max */
443 u8 has_fan; /* Bitfield, fans enabled */
444 u16 fan[6][2]; /* Register values, [nr][0]=fan, [1]=min */
445 u8 has_temp; /* Bitfield, temp sensors enabled */
446 s8 temp[3][4]; /* [nr][0]=temp, [1]=min, [2]=max, [3]=offset */
447 u8 sensor; /* Register value (IT87_REG_TEMP_ENABLE) */
448 u8 extra; /* Register value (IT87_REG_TEMP_EXTRA) */
449 u8 fan_div[3]; /* Register encoding, shifted right */
450 u8 vid; /* Register encoding, combined */
451 u8 vrm;
452 u32 alarms; /* Register encoding, combined */
476 static int adc_lsb(const struct it87_data *data, int nr) in adc_lsb() argument