Lines Matching defs:lm90_data
685 struct lm90_data { struct
686 struct i2c_client *client;
687 struct device *hwmon_dev;
688 u32 chip_config[2];
689 u32 channel_config[MAX_CHANNELS + 1];
690 const char *channel_label[MAX_CHANNELS];
691 struct hwmon_channel_info chip_info;
692 struct hwmon_channel_info temp_info;
693 const struct hwmon_channel_info *info[3];
694 struct hwmon_chip_info chip;
695 struct mutex update_lock;
696 struct delayed_work alert_work;
697 struct work_struct report_work;
698 bool valid; /* true if register values are valid */
699 bool alarms_valid; /* true if status register values are valid */
700 unsigned long last_updated; /* in jiffies */
701 unsigned long alarms_updated; /* in jiffies */
702 int kind;
703 u32 flags;
705 unsigned int update_interval; /* in milliseconds */
707 u8 config; /* Current configuration register value */
708 u8 config_orig; /* Original configuration register value */
709 u8 convrate_orig; /* Original conversion rate register value */
710 u8 resolution; /* temperature resolution in bit */
711 u16 alert_alarms; /* Which alarm bits trigger ALERT# */
713 u8 max_convrate; /* Maximum conversion rate */
714 u8 reg_status2; /* 2nd status register (optional) */
715 u8 reg_local_ext; /* local extension register offset */
716 u8 reg_remote_ext; /* remote temperature low byte */
717 u8 faultqueue_mask; /* fault queue mask */
718 u8 faultqueue_depth; /* fault queue mask */
721 u16 temp[TEMP_REG_NUM];
722 u8 temp_hyst;
723 u8 conalert;
724 u16 reported_alarms; /* alarms reported as sysfs/udev events */
725 u16 current_alarms; /* current alarms, reported by chip */
726 u16 alarms; /* alarms not yet reported to user */