Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/thermal/samsung/
Dexynos_tmu.c376 int ret = 0, threshold_code, i; in exynos4210_tmu_initialize() local
397 threshold_code = temp_to_code(data, reference); in exynos4210_tmu_initialize()
398 if (threshold_code < 0) { in exynos4210_tmu_initialize()
399 ret = threshold_code; in exynos4210_tmu_initialize()
402 writeb(threshold_code, data->base + EXYNOS4210_TMU_REG_THRESHOLD_TEMP); in exynos4210_tmu_initialize()
421 int ret = 0, threshold_code, i; in exynos4412_tmu_initialize() local
474 threshold_code = temp_to_code(data, crit_temp / MCELSIUS); in exynos4412_tmu_initialize()
477 rising_threshold |= threshold_code << 8 * i; in exynos4412_tmu_initialize()
491 int ret = 0, threshold_code; in exynos5440_tmu_initialize() local
522 threshold_code = temp_to_code(data, crit_temp / MCELSIUS); in exynos5440_tmu_initialize()
[all …]