• Home
  • Raw
  • Download

Lines Matching refs:th

393 	u32 th, con;  in exynos4412_tmu_set_trip_temp()  local
395 th = readl(data->base + EXYNOS_THD_TEMP_RISE); in exynos4412_tmu_set_trip_temp()
396 th &= ~(0xff << 8 * trip); in exynos4412_tmu_set_trip_temp()
397 th |= temp_to_code(data, temp) << 8 * trip; in exynos4412_tmu_set_trip_temp()
398 writel(th, data->base + EXYNOS_THD_TEMP_RISE); in exynos4412_tmu_set_trip_temp()
410 u32 th; in exynos4412_tmu_set_trip_hyst() local
412 th = readl(data->base + EXYNOS_THD_TEMP_FALL); in exynos4412_tmu_set_trip_hyst()
413 th &= ~(0xff << 8 * trip); in exynos4412_tmu_set_trip_hyst()
415 th |= temp_to_code(data, temp - hyst) << 8 * trip; in exynos4412_tmu_set_trip_hyst()
416 writel(th, data->base + EXYNOS_THD_TEMP_FALL); in exynos4412_tmu_set_trip_hyst()
450 u32 th; in exynos5433_tmu_set_trip_temp() local
460 th = readl(data->base + reg_off); in exynos5433_tmu_set_trip_temp()
461 th &= ~(0xff << j * 8); in exynos5433_tmu_set_trip_temp()
462 th |= (temp_to_code(data, temp) << j * 8); in exynos5433_tmu_set_trip_temp()
463 writel(th, data->base + reg_off); in exynos5433_tmu_set_trip_temp()
470 u32 th; in exynos5433_tmu_set_trip_hyst() local
480 th = readl(data->base + reg_off); in exynos5433_tmu_set_trip_hyst()
481 th &= ~(0xff << j * 8); in exynos5433_tmu_set_trip_hyst()
482 th |= (temp_to_code(data, temp - hyst) << j * 8); in exynos5433_tmu_set_trip_hyst()
483 writel(th, data->base + reg_off); in exynos5433_tmu_set_trip_hyst()
523 u32 th; in exynos7_tmu_set_trip_temp() local
528 th = readl(data->base + EXYNOS7_THD_TEMP_RISE7_6 + reg_off); in exynos7_tmu_set_trip_temp()
529 th &= ~(EXYNOS7_TMU_TEMP_MASK << (16 * bit_off)); in exynos7_tmu_set_trip_temp()
530 th |= temp_to_code(data, temp) << (16 * bit_off); in exynos7_tmu_set_trip_temp()
531 writel(th, data->base + EXYNOS7_THD_TEMP_RISE7_6 + reg_off); in exynos7_tmu_set_trip_temp()
538 u32 th; in exynos7_tmu_set_trip_hyst() local
543 th = readl(data->base + EXYNOS7_THD_TEMP_FALL7_6 + reg_off); in exynos7_tmu_set_trip_hyst()
544 th &= ~(EXYNOS7_TMU_TEMP_MASK << (16 * bit_off)); in exynos7_tmu_set_trip_hyst()
545 th |= temp_to_code(data, temp - hyst) << (16 * bit_off); in exynos7_tmu_set_trip_hyst()
546 writel(th, data->base + EXYNOS7_THD_TEMP_FALL7_6 + reg_off); in exynos7_tmu_set_trip_hyst()