exynos_tmu.c (c7d77a7980e434c3af17de19e3348157f9b9ccce) exynos_tmu.c (b28fec1324bf8f5010d2c3c5d57db4115bda66d4)
1/*
2 * exynos_tmu.c - Samsung EXYNOS TMU (Thermal Management Unit)
3 *
4 * Copyright (C) 2014 Samsung Electronics
5 * Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
6 * Lukasz Majewski <l.majewski@samsung.com>
7 *
8 * Copyright (C) 2011 Samsung Electronics

--- 918 unchanged lines hidden (view full) ---

927static void exynos4412_tmu_set_emulation(struct exynos_tmu_data *data,
928 int temp)
929{
930 unsigned int val;
931 u32 emul_con;
932
933 if (data->soc == SOC_ARCH_EXYNOS5260)
934 emul_con = EXYNOS5260_EMUL_CON;
1/*
2 * exynos_tmu.c - Samsung EXYNOS TMU (Thermal Management Unit)
3 *
4 * Copyright (C) 2014 Samsung Electronics
5 * Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
6 * Lukasz Majewski <l.majewski@samsung.com>
7 *
8 * Copyright (C) 2011 Samsung Electronics

--- 918 unchanged lines hidden (view full) ---

927static void exynos4412_tmu_set_emulation(struct exynos_tmu_data *data,
928 int temp)
929{
930 unsigned int val;
931 u32 emul_con;
932
933 if (data->soc == SOC_ARCH_EXYNOS5260)
934 emul_con = EXYNOS5260_EMUL_CON;
935 if (data->soc == SOC_ARCH_EXYNOS5433)
935 else if (data->soc == SOC_ARCH_EXYNOS5433)
936 emul_con = EXYNOS5433_TMU_EMUL_CON;
937 else if (data->soc == SOC_ARCH_EXYNOS7)
938 emul_con = EXYNOS7_TMU_REG_EMUL_CON;
939 else
940 emul_con = EXYNOS_EMUL_CON;
941
942 val = readl(data->base + emul_con);
943 val = get_emul_con_reg(data, val, temp);

--- 514 unchanged lines hidden ---
936 emul_con = EXYNOS5433_TMU_EMUL_CON;
937 else if (data->soc == SOC_ARCH_EXYNOS7)
938 emul_con = EXYNOS7_TMU_REG_EMUL_CON;
939 else
940 emul_con = EXYNOS_EMUL_CON;
941
942 val = readl(data->base + emul_con);
943 val = get_emul_con_reg(data, val, temp);

--- 514 unchanged lines hidden ---