Searched refs:temp_to_code (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/thermal/samsung/ |
H A 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(dat in get_emul_con_reg() [all...] |
/kernel/linux/linux-6.6/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(dat in get_emul_con_reg() [all...] |
Completed in 4 milliseconds