Lines Matching refs:trip
197 void (*tmu_set_trip_temp)(struct exynos_tmu_data *data, int trip,
199 void (*tmu_set_trip_hyst)(struct exynos_tmu_data *data, int trip,
363 int trip, u8 temp) in exynos4210_tmu_set_trip_temp() argument
371 if (trip == 0) { in exynos4210_tmu_set_trip_temp()
377 writeb(temp, data->base + EXYNOS4210_TMU_REG_TRIG_LEVEL0 + trip * 4); in exynos4210_tmu_set_trip_temp()
382 int trip, u8 temp, u8 hyst) in exynos4210_tmu_set_trip_hyst() argument
394 int trip, u8 temp) in exynos4412_tmu_set_trip_temp() argument
399 th &= ~(0xff << 8 * trip); in exynos4412_tmu_set_trip_temp()
400 th |= temp_to_code(data, temp) << 8 * trip; in exynos4412_tmu_set_trip_temp()
403 if (trip == 3) { in exynos4412_tmu_set_trip_temp()
411 int trip, u8 temp, u8 hyst) in exynos4412_tmu_set_trip_hyst() argument
416 th &= ~(0xff << 8 * trip); in exynos4412_tmu_set_trip_hyst()
418 th |= temp_to_code(data, temp - hyst) << 8 * trip; in exynos4412_tmu_set_trip_hyst()
450 int trip, u8 temp) in exynos5433_tmu_set_trip_temp() argument
455 if (trip > 3) { in exynos5433_tmu_set_trip_temp()
457 j = trip - 4; in exynos5433_tmu_set_trip_temp()
460 j = trip; in exynos5433_tmu_set_trip_temp()
470 int trip, u8 temp, u8 hyst) in exynos5433_tmu_set_trip_hyst() argument
475 if (trip > 3) { in exynos5433_tmu_set_trip_hyst()
477 j = trip - 4; in exynos5433_tmu_set_trip_hyst()
480 j = trip; in exynos5433_tmu_set_trip_hyst()
523 int trip, u8 temp) in exynos7_tmu_set_trip_temp() argument
528 reg_off = ((7 - trip) / 2) * 4; in exynos7_tmu_set_trip_temp()
529 bit_off = ((8 - trip) % 2); in exynos7_tmu_set_trip_temp()
538 int trip, u8 temp, u8 hyst) in exynos7_tmu_set_trip_hyst() argument
543 reg_off = ((7 - trip) / 2) * 4; in exynos7_tmu_set_trip_hyst()
544 bit_off = ((8 - trip) % 2); in exynos7_tmu_set_trip_hyst()