Searched refs:temp_to_reg (Results 1 – 5 of 5) sorted by relevance
80 static int temp_to_reg(int val) in temp_to_reg() function241 data->temp_high[attr2->nr] = clamp_val(temp_to_reg(val), 0, 255); in set_temp_max()
69 static int temp_to_reg(int val) in temp_to_reg() function169 data->temp[attr->index] = temp_to_reg(val); in set_temp()
286 static inline u8 temp_to_reg(long val) in temp_to_reg() function821 data->auto_points[pwmnr].temp[apnr] = temp_to_reg(val); in set_pwm_auto_point_temp()921 data->temp_high[nr] = temp_to_reg(val); in set_temp_max()942 data->temp_hyst[nr] = temp_to_reg(val); in set_temp_hyst()
284 static inline s8 temp_to_reg(long val, s8 min, s8 max) in temp_to_reg() function1360 data->temp[index][nr] = temp_to_reg(tmp, -128, 127); in store_temp()1421 data->dts_ext[nr] = temp_to_reg(tmp, -128, 127); in store_dts_ext()
75 static inline u8 temp_to_reg(u8 temp) in temp_to_reg() function138 new_value = temp_to_reg(temp); in store_throttle()