Searched refs:NUM_TEMP (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/hwmon/ |
D | nct6775.c | 202 #define NUM_TEMP 10 /* Max number of temp attribute sets w/ limits*/ macro 977 u16 reg_temp[5][NUM_TEMP]; /* 0=temp, 1=temp_over, 2=temp_hyst, 980 u8 temp_src[NUM_TEMP]; 981 u16 reg_temp_config[NUM_TEMP]; 1061 s16 temp[5][NUM_TEMP]; /* 0=temp, 1=temp_over, 2=temp_hyst, 1713 for (i = 0; i < NUM_TEMP; i++) { in nct6775_update_device() 2631 for (i = 0; i < NUM_TEMP; i++) { in show_pwm_temp_sel_common() 2666 if (val == 0 || val > NUM_TEMP) in store_pwm_temp_sel() 2708 if (val > NUM_TEMP) in store_pwm_weight_temp_sel() 2710 val = array_index_nospec(val, NUM_TEMP + 1); in store_pwm_weight_temp_sel() [all …]
|
D | it87.c | 270 #define NUM_TEMP 6 macro 542 s8 temp[NUM_TEMP][4]; /* [nr][0]=temp, [1]=min, [2]=max, [3]=offset */ 797 for (i = 0; i < NUM_TEMP; i++) { in it87_update_device()
|