Lines Matching defs:it87_data
575 struct it87_data { struct
576 const struct attribute_group *groups[7];
577 int sioaddr;
578 enum chips type;
579 u32 features;
580 u8 peci_mask;
581 u8 old_peci_mask;
583 u8 smbus_bitmap; /* !=0 if SMBus needs to be disabled */
584 u8 ec_special_config; /* EC special config register restore value */
586 unsigned short addr;
587 const char *name;
588 struct mutex update_lock;
589 bool valid; /* true if following fields are valid */
590 unsigned long last_updated; /* In jiffies */
592 u16 in_scaled; /* Internal voltage sensors are scaled */
593 u16 in_internal; /* Bitfield, internal sensors (for labels) */
594 u16 has_in; /* Bitfield, voltage sensors enabled */
595 u8 in[NUM_VIN][3]; /* [nr][0]=in, [1]=min, [2]=max */
596 bool need_in7_reroute;
597 u8 has_fan; /* Bitfield, fans enabled */
598 u16 fan[NUM_FAN][2]; /* Register values, [nr][0]=fan, [1]=min */
599 u8 has_temp; /* Bitfield, temp sensors enabled */
600 s8 temp[NUM_TEMP][4]; /* [nr][0]=temp, [1]=min, [2]=max, [3]=offset */
601 u8 sensor; /* Register value (IT87_REG_TEMP_ENABLE) */
602 u8 extra; /* Register value (IT87_REG_TEMP_EXTRA) */
603 u8 fan_div[NUM_FAN_DIV];/* Register encoding, shifted right */
604 bool has_vid; /* True if VID supported */
605 u8 vid; /* Register encoding, combined */
606 u8 vrm;
607 u32 alarms; /* Register encoding, combined */
608 bool has_beep; /* true if beep supported */
609 u8 beeps; /* Register encoding */
610 u8 fan_main_ctrl; /* Register value */
611 u8 fan_ctl; /* Register value */
641 static int adc_lsb(const struct it87_data *data, int nr) in adc_lsb() argument