Searched refs:threshold_code (Results 1 – 1 of 1) sorted by relevance
/linux-4.4.14/drivers/thermal/samsung/ |
D | exynos_tmu.c | 401 int ret = 0, threshold_code, i; in exynos4210_tmu_initialize() local 422 threshold_code = temp_to_code(data, reference); in exynos4210_tmu_initialize() 423 if (threshold_code < 0) { in exynos4210_tmu_initialize() 424 ret = threshold_code; in exynos4210_tmu_initialize() 427 writeb(threshold_code, data->base + EXYNOS4210_TMU_REG_THRESHOLD_TEMP); in exynos4210_tmu_initialize() 446 int ret = 0, threshold_code, i; in exynos4412_tmu_initialize() local 499 threshold_code = temp_to_code(data, crit_temp / MCELSIUS); in exynos4412_tmu_initialize() 502 rising_threshold |= threshold_code << 8 * i; in exynos4412_tmu_initialize() 520 int ret = 0, threshold_code, i, sensor_id, cal_type; in exynos5433_tmu_initialize() local 585 threshold_code = temp_to_code(data, temp); in exynos5433_tmu_initialize() [all …]
|