Lines Matching defs:it87_data
442 struct it87_data { struct
443 struct device *hwmon_dev;
444 enum chips type;
445 u16 features;
446 u8 peci_mask;
447 u8 old_peci_mask;
449 unsigned short addr;
450 const char *name;
451 struct mutex update_lock;
452 char valid; /* !=0 if following fields are valid */
453 unsigned long last_updated; /* In jiffies */
455 u16 in_scaled; /* Internal voltage sensors are scaled */
456 u8 in[10][3]; /* [nr][0]=in, [1]=min, [2]=max */
457 u8 has_fan; /* Bitfield, fans enabled */
458 u16 fan[6][2]; /* Register values, [nr][0]=fan, [1]=min */
459 u8 has_temp; /* Bitfield, temp sensors enabled */
460 s8 temp[3][4]; /* [nr][0]=temp, [1]=min, [2]=max, [3]=offset */
461 u8 sensor; /* Register value (IT87_REG_TEMP_ENABLE) */
462 u8 extra; /* Register value (IT87_REG_TEMP_EXTRA) */
463 u8 fan_div[3]; /* Register encoding, shifted right */
464 u8 vid; /* Register encoding, combined */
465 u8 vrm;
466 u32 alarms; /* Register encoding, combined */
490 static int adc_lsb(const struct it87_data *data, int nr) in adc_lsb() argument