Searched refs:temp_to_code (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/thermal/samsung/ |
D | exynos_tmu.c | 223 static int temp_to_code(struct exynos_tmu_data *data, u8 temp) in temp_to_code() function 383 th_code = temp_to_code(data, ref); in exynos4210_tmu_set_trip_temp() 411 th |= temp_to_code(data, temp) << 8 * trip; in exynos4412_tmu_set_trip_temp() 429 th |= temp_to_code(data, temp - hyst) << 8 * trip; in exynos4412_tmu_set_trip_hyst() 476 th |= (temp_to_code(data, temp) << j * 8); in exynos5433_tmu_set_trip_temp() 496 th |= (temp_to_code(data, temp - hyst) << j * 8); in exynos5433_tmu_set_trip_hyst() 544 th |= temp_to_code(data, temp) << (16 * bit_off); in exynos7_tmu_set_trip_temp() 559 th |= temp_to_code(data, temp - hyst) << (16 * bit_off); in exynos7_tmu_set_trip_hyst() 705 val |= (temp_to_code(data, temp) << in get_emul_con_reg() 711 val |= (temp_to_code(data, temp) << in get_emul_con_reg()
|