Home
last modified time | relevance | path

Searched refs:trim_info (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/thermal/
Damlogic_thermal.c105 u32 trim_info; member
120 uefuse = pdata->trim_info & TSENSOR_TRIM_SIGN_MASK ? in amlogic_thermal_code_to_millicelsius()
121 ~(pdata->trim_info & TSENSOR_TRIM_TEMP_MASK) + 1 : in amlogic_thermal_code_to_millicelsius()
122 (pdata->trim_info & TSENSOR_TRIM_TEMP_MASK); in amlogic_thermal_code_to_millicelsius()
145 &pdata->trim_info); in amlogic_thermal_initialize()
147 ver = TSENSOR_TRIM_VERSION(pdata->trim_info); in amlogic_thermal_initialize()
/linux-6.1.9/drivers/thermal/samsung/
Dexynos_tmu.c238 static void sanitize_temp_error(struct exynos_tmu_data *data, u32 trim_info) in sanitize_temp_error() argument
244 data->temp_error1 = trim_info & tmu_temp_mask; in sanitize_temp_error()
245 data->temp_error2 = ((trim_info >> EXYNOS_TRIMINFO_85_SHIFT) & in sanitize_temp_error()
425 unsigned int trim_info, ctrl; in exynos4412_tmu_initialize() local
442 trim_info = readl(data->base_second + EXYNOS_TMU_REG_TRIMINFO); in exynos4412_tmu_initialize()
444 trim_info = readl(data->base + EXYNOS_TMU_REG_TRIMINFO); in exynos4412_tmu_initialize()
446 sanitize_temp_error(data, trim_info); in exynos4412_tmu_initialize()
492 unsigned int trim_info; in exynos5433_tmu_initialize() local
495 trim_info = readl(data->base + EXYNOS_TMU_REG_TRIMINFO); in exynos5433_tmu_initialize()
496 sanitize_temp_error(data, trim_info); in exynos5433_tmu_initialize()
[all …]