Searched refs:temp_to_code (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/thermal/samsung/ |
D | exynos_tmu.c | 209 static int temp_to_code(struct exynos_tmu_data *data, u8 temp) in temp_to_code() function 369 th_code = temp_to_code(data, ref); in exynos4210_tmu_set_trip_temp() 397 th |= temp_to_code(data, temp) << 8 * trip; in exynos4412_tmu_set_trip_temp() 415 th |= temp_to_code(data, temp - hyst) << 8 * trip; in exynos4412_tmu_set_trip_hyst() 462 th |= (temp_to_code(data, temp) << j * 8); in exynos5433_tmu_set_trip_temp() 482 th |= (temp_to_code(data, temp - hyst) << j * 8); in exynos5433_tmu_set_trip_hyst() 530 th |= temp_to_code(data, temp) << (16 * bit_off); in exynos7_tmu_set_trip_temp() 545 th |= temp_to_code(data, temp - hyst) << (16 * bit_off); in exynos7_tmu_set_trip_hyst() 691 val |= (temp_to_code(data, temp) << in get_emul_con_reg() 697 val |= (temp_to_code(data, temp) << in get_emul_con_reg()
|