Lines Matching refs:channel_config
689 u32 channel_config[MAX_CHANNELS + 1]; member
2694 data->channel_config[id] |= HWMON_T_LABEL; in lm90_probe_channel_from_dt()
2809 info->config = data->channel_config; in lm90_probe()
2811 data->channel_config[0] = HWMON_T_INPUT | HWMON_T_MAX | in lm90_probe()
2813 data->channel_config[1] = HWMON_T_INPUT | HWMON_T_MAX | in lm90_probe()
2817 data->channel_config[0] |= HWMON_T_MIN | HWMON_T_MIN_ALARM; in lm90_probe()
2818 data->channel_config[1] |= HWMON_T_MIN | HWMON_T_MIN_ALARM; in lm90_probe()
2822 data->channel_config[0] |= HWMON_T_CRIT | HWMON_T_CRIT_ALARM | HWMON_T_CRIT_HYST; in lm90_probe()
2823 data->channel_config[1] |= HWMON_T_CRIT | HWMON_T_CRIT_ALARM | HWMON_T_CRIT_HYST; in lm90_probe()
2827 data->channel_config[1] |= HWMON_T_OFFSET; in lm90_probe()
2830 data->channel_config[0] |= HWMON_T_EMERGENCY | in lm90_probe()
2832 data->channel_config[1] |= HWMON_T_EMERGENCY | in lm90_probe()
2837 data->channel_config[0] |= HWMON_T_EMERGENCY_ALARM; in lm90_probe()
2838 data->channel_config[1] |= HWMON_T_EMERGENCY_ALARM; in lm90_probe()
2842 data->channel_config[2] = HWMON_T_INPUT | in lm90_probe()
2848 data->channel_config[2] |= HWMON_T_EMERGENCY | in lm90_probe()
2852 data->channel_config[2] |= HWMON_T_EMERGENCY_ALARM; in lm90_probe()
2854 data->channel_config[2] |= HWMON_T_OFFSET; in lm90_probe()