Searched refs:thm (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/thermal/ |
H A D | sprd_thermal.c | 149 struct sprd_thermal_data *thm, in sprd_thm_sensor_calibration() 163 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() argument 232 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() argument 148 sprd_thm_sensor_calibration(struct device_node *np, struct sprd_thermal_data *thm, struct sprd_thermal_sensor *sen) sprd_thm_sensor_calibration() argument 257 sprd_thm_set_ready(struct sprd_thermal_data *thm) sprd_thm_set_ready() argument 282 sprd_thm_sensor_init(struct sprd_thermal_data *thm, struct sprd_thermal_sensor *sen) sprd_thm_sensor_init() argument 306 sprd_thm_para_config(struct sprd_thermal_data *thm) sprd_thm_para_config() argument 335 struct sprd_thermal_data *thm; sprd_thm_probe() local 448 sprd_thm_hw_suspend(struct sprd_thermal_data *thm) sprd_thm_hw_suspend() argument 463 struct sprd_thermal_data *thm = dev_get_drvdata(dev); sprd_thm_suspend() local 475 sprd_thm_hw_resume(struct sprd_thermal_data *thm) sprd_thm_hw_resume() argument 497 struct sprd_thermal_data *thm = dev_get_drvdata(dev); sprd_thm_resume() local 521 struct sprd_thermal_data *thm = platform_get_drvdata(pdev); sprd_thm_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/thermal/ |
H A D | sprd_thermal.c | 149 struct sprd_thermal_data *thm, in sprd_thm_sensor_calibration() 163 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() argument 232 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() argument 148 sprd_thm_sensor_calibration(struct device_node *np, struct sprd_thermal_data *thm, struct sprd_thermal_sensor *sen) sprd_thm_sensor_calibration() argument 257 sprd_thm_set_ready(struct sprd_thermal_data *thm) sprd_thm_set_ready() argument 282 sprd_thm_sensor_init(struct sprd_thermal_data *thm, struct sprd_thermal_sensor *sen) sprd_thm_sensor_init() argument 306 sprd_thm_para_config(struct sprd_thermal_data *thm) sprd_thm_para_config() argument 335 struct sprd_thermal_data *thm; sprd_thm_probe() local 448 sprd_thm_hw_suspend(struct sprd_thermal_data *thm) sprd_thm_hw_suspend() argument 463 struct sprd_thermal_data *thm = dev_get_drvdata(dev); sprd_thm_suspend() local 475 sprd_thm_hw_resume(struct sprd_thermal_data *thm) sprd_thm_hw_resume() argument 497 struct sprd_thermal_data *thm = dev_get_drvdata(dev); sprd_thm_resume() local 521 struct sprd_thermal_data *thm = platform_get_drvdata(pdev); sprd_thm_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/ |
H A D | fman_memac.c | 318 u32 thm; /* 0x37C tx messages counter */ member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/fman/ |
H A D | fman_memac.c | 263 u32 thm; /* 0x37C tx messages counter */ member
|
Completed in 6 milliseconds