Searched refs:temp_to_code (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/drivers/thermal/samsung/ |
D | exynos_tmu.c | 212 static int temp_to_code(struct exynos_tmu_data *data, u8 temp) in temp_to_code() function 372 th_code = temp_to_code(data, ref); in exynos4210_tmu_set_trip_temp() 400 th |= temp_to_code(data, temp) << 8 * trip; in exynos4412_tmu_set_trip_temp() 418 th |= temp_to_code(data, temp - hyst) << 8 * trip; in exynos4412_tmu_set_trip_hyst() 465 th |= (temp_to_code(data, temp) << j * 8); in exynos5433_tmu_set_trip_temp() 485 th |= (temp_to_code(data, temp - hyst) << j * 8); in exynos5433_tmu_set_trip_hyst() 533 th |= temp_to_code(data, temp) << (16 * bit_off); in exynos7_tmu_set_trip_temp() 548 th |= temp_to_code(data, temp - hyst) << (16 * bit_off); in exynos7_tmu_set_trip_hyst() 694 val |= (temp_to_code(data, temp) << in get_emul_con_reg() 700 val |= (temp_to_code(data, temp) << in get_emul_con_reg()
|