Home
last modified time | relevance | path

Searched refs:NUM_TEMP (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/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()