Lines Matching refs:channel_config
688 u32 channel_config[MAX_CHANNELS + 1]; member
2698 data->channel_config[id] |= HWMON_T_LABEL; in lm90_probe_channel_from_dt()
2824 info->config = data->channel_config; in lm90_probe()
2826 data->channel_config[0] = HWMON_T_INPUT | HWMON_T_MAX | in lm90_probe()
2828 data->channel_config[1] = HWMON_T_INPUT | HWMON_T_MAX | in lm90_probe()
2832 data->channel_config[0] |= HWMON_T_MIN | HWMON_T_MIN_ALARM; in lm90_probe()
2833 data->channel_config[1] |= HWMON_T_MIN | HWMON_T_MIN_ALARM; in lm90_probe()
2837 data->channel_config[0] |= HWMON_T_CRIT | HWMON_T_CRIT_ALARM | HWMON_T_CRIT_HYST; in lm90_probe()
2838 data->channel_config[1] |= HWMON_T_CRIT | HWMON_T_CRIT_ALARM | HWMON_T_CRIT_HYST; in lm90_probe()
2842 data->channel_config[1] |= HWMON_T_OFFSET; in lm90_probe()
2845 data->channel_config[0] |= HWMON_T_EMERGENCY | in lm90_probe()
2847 data->channel_config[1] |= HWMON_T_EMERGENCY | in lm90_probe()
2852 data->channel_config[0] |= HWMON_T_EMERGENCY_ALARM; in lm90_probe()
2853 data->channel_config[1] |= HWMON_T_EMERGENCY_ALARM; in lm90_probe()
2857 data->channel_config[2] = HWMON_T_INPUT | in lm90_probe()
2863 data->channel_config[2] |= HWMON_T_EMERGENCY | in lm90_probe()
2867 data->channel_config[2] |= HWMON_T_EMERGENCY_ALARM; in lm90_probe()
2869 data->channel_config[2] |= HWMON_T_OFFSET; in lm90_probe()