Home
last modified time | relevance | path

Searched refs:NUM_TEMP (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/drivers/hwmon/
H A Dnct6775.h11 #define NUM_TEMP 12 /* Max number of temp attribute sets w/ limits*/ macro
30 u16 reg_temp[5][NUM_TEMP]; /* 0=temp, 1=temp_over, 2=temp_hyst,
33 u8 temp_src[NUM_TEMP];
34 u16 reg_temp_config[NUM_TEMP];
117 s16 temp[5][NUM_TEMP]; /* 0=temp, 1=temp_over, 2=temp_hyst,
H A Dnct6775-core.c1648 for (i = 0; i < NUM_TEMP; i++) { in nct6775_update_device()
2730 for (i = 0; i < NUM_TEMP; i++) { in show_pwm_temp_sel_common()
2772 if (val == 0 || val > NUM_TEMP) in store_pwm_temp_sel()
2824 if (val > NUM_TEMP) in store_pwm_weight_temp_sel()
2826 val = array_index_nospec(val, NUM_TEMP + 1); in store_pwm_weight_temp_sel()
3432 for (i = 0; i < NUM_TEMP; i++) { in nct6775_init_device()
4221 if (s >= NUM_TEMP) in nct6775_probe()
4287 if (s >= NUM_TEMP) in nct6775_probe()
4325 if (s >= NUM_TEMP) /* Abort if no more space */ in nct6775_probe()
H A Dit87.c280 #define NUM_TEMP 6 macro
600 s8 temp[NUM_TEMP][4]; /* [nr][0]=temp, [1]=min, [2]=max, [3]=offset */
922 for (i = 0; i < NUM_TEMP; i++) { in it87_update_device()
H A Dnct6775-platform.c450 for (i = 0; i < NUM_TEMP; i++) { in nct6775_resume()
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dnct6775.c202 #define NUM_TEMP 10 /* Max number of temp attribute sets w/ limits*/ macro
1077 u16 reg_temp[5][NUM_TEMP]; /* 0=temp, 1=temp_over, 2=temp_hyst,
1080 u8 temp_src[NUM_TEMP];
1081 u16 reg_temp_config[NUM_TEMP];
1161 s16 temp[5][NUM_TEMP]; /* 0=temp, 1=temp_over, 2=temp_hyst,
1823 for (i = 0; i < NUM_TEMP; i++) { in nct6775_update_device()
2741 for (i = 0; i < NUM_TEMP; i++) { in show_pwm_temp_sel_common()
2776 if (val == 0 || val > NUM_TEMP) in store_pwm_temp_sel()
2818 if (val > NUM_TEMP) in store_pwm_weight_temp_sel()
2820 val = array_index_nospec(val, NUM_TEMP in store_pwm_weight_temp_sel()
[all...]
H A Dit87.c261 #define NUM_TEMP 6 macro
535 s8 temp[NUM_TEMP][4]; /* [nr][0]=temp, [1]=min, [2]=max, [3]=offset */
790 for (i = 0; i < NUM_TEMP; i++) { in it87_update_device()

Completed in 25 milliseconds