Lines Matching defs:it87_data

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