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