Searched refs:thm (Results 1 – 8 of 8) sorted by relevance
149 struct sprd_thermal_data *thm, in sprd_thm_sensor_calibration() argument163 ratio += thm->ratio_sign * thm->ratio_off; in sprd_thm_sensor_calibration()172 sen->cal_slope = (thm->var_data->ideal_k * ratio) / 1000; in sprd_thm_sensor_calibration()173 sen->cal_offset = thm->var_data->ideal_b + (dt_offset - 128) * 250; in sprd_thm_sensor_calibration()224 static int sprd_thm_poll_ready_status(struct sprd_thermal_data *thm) in sprd_thm_poll_ready_status() argument232 ret = readl_poll_timeout(thm->base + SPRD_THM_CTL, val, in sprd_thm_poll_ready_status()239 sprd_thm_update_bits(thm->base + SPRD_THM_CTL, SPRD_THM_MON_EN, in sprd_thm_poll_ready_status()241 sprd_thm_update_bits(thm->base + SPRD_THM_CTL, SPRD_THM_SET_RDY, in sprd_thm_poll_ready_status()246 static int sprd_thm_wait_temp_ready(struct sprd_thermal_data *thm) in sprd_thm_wait_temp_ready() argument251 return readl_poll_timeout(thm->base + SPRD_THM_INTERNAL_STS1, val, in sprd_thm_wait_temp_ready()[all …]
153 u32 thm;/* Tx HiGig2 message counter register */ member
263 u32 thm; /* 0x37C tx messages counter */ member
[all...]