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