Lines Matching defs:it87_data
511 struct it87_data { struct
512 const struct attribute_group *groups[7];
513 int sioaddr;
514 enum chips type;
515 u32 features;
516 u8 peci_mask;
517 u8 old_peci_mask;
519 unsigned short addr;
520 const char *name;
521 struct mutex update_lock;
522 char valid; /* !=0 if following fields are valid */
523 unsigned long last_updated; /* In jiffies */
525 u16 in_scaled; /* Internal voltage sensors are scaled */
526 u16 in_internal; /* Bitfield, internal sensors (for labels) */
527 u16 has_in; /* Bitfield, voltage sensors enabled */
528 u8 in[NUM_VIN][3]; /* [nr][0]=in, [1]=min, [2]=max */
529 bool need_in7_reroute;
530 u8 has_fan; /* Bitfield, fans enabled */
531 u16 fan[NUM_FAN][2]; /* Register values, [nr][0]=fan, [1]=min */
532 u8 has_temp; /* Bitfield, temp sensors enabled */
533 s8 temp[NUM_TEMP][4]; /* [nr][0]=temp, [1]=min, [2]=max, [3]=offset */
534 u8 sensor; /* Register value (IT87_REG_TEMP_ENABLE) */
535 u8 extra; /* Register value (IT87_REG_TEMP_EXTRA) */
536 u8 fan_div[NUM_FAN_DIV];/* Register encoding, shifted right */
537 bool has_vid; /* True if VID supported */
538 u8 vid; /* Register encoding, combined */
539 u8 vrm;
540 u32 alarms; /* Register encoding, combined */
541 bool has_beep; /* true if beep supported */
542 u8 beeps; /* Register encoding */
566 static int adc_lsb(const struct it87_data *data, int nr) in adc_lsb() argument