Searched refs:NUM_TEMP (Results 1 – 2 of 2) sorted by relevance
/drivers/hwmon/ |
D | nct6775.c | 202 #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 + 1); in store_pwm_weight_temp_sel() [all …]
|
D | it87.c | 261 #define NUM_TEMP 6 macro 533 s8 temp[NUM_TEMP][4]; /* [nr][0]=temp, [1]=min, [2]=max, [3]=offset */ 788 for (i = 0; i < NUM_TEMP; i++) { in it87_update_device()
|