Searched refs:temp_to_code (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/thermal/samsung/ |
H A D | exynos_tmu.c | 211 static int temp_to_code(struct exynos_tmu_data *data, u8 temp) in temp_to_code() function 362 th_code = temp_to_code(data, ref); in exynos4210_tmu_set_trip_temp() 390 th |= temp_to_code(data, temp) << 8 * trip; in exynos4412_tmu_set_trip_temp() 408 th |= temp_to_code(data, temp - hyst) << 8 * trip; in exynos4412_tmu_set_trip_hyst() 455 th |= (temp_to_code(data, temp) << j * 8); in exynos5433_tmu_set_trip_temp() 475 th |= (temp_to_code(data, temp - hyst) << j * 8); in exynos5433_tmu_set_trip_hyst() 523 th |= temp_to_code(data, temp) << (16 * bit_off); in exynos7_tmu_set_trip_temp() 538 th |= temp_to_code(data, temp - hyst) << (16 * bit_off); in exynos7_tmu_set_trip_hyst() 687 val |= (temp_to_code(data, temp) << in get_emul_con_reg() 693 val |= (temp_to_code(data, temp) << in get_emul_con_reg()
|