throt 216 drivers/thermal/tegra/soctherm.c #define THROT_PSKIP_CTRL(throt, dev) (THROT_PSKIP_CTRL_LITE_CPU + \ throt 217 drivers/thermal/tegra/soctherm.c (THROT_OFFSET * throt) + (8 * dev)) throt 218 drivers/thermal/tegra/soctherm.c #define THROT_PSKIP_RAMP(throt, dev) (THROT_PSKIP_RAMP_LITE_CPU + \ throt 219 drivers/thermal/tegra/soctherm.c (THROT_OFFSET * throt) + (8 * dev)) throt 222 drivers/thermal/tegra/soctherm.c #define THROT_PRIORITY_CTRL(throt) (THROT_PRIORITY_LITE + \ throt 223 drivers/thermal/tegra/soctherm.c (THROT_OFFSET * throt)) throt 224 drivers/thermal/tegra/soctherm.c #define THROT_DELAY_CTRL(throt) (THROT_DELAY_LITE + \ throt 225 drivers/thermal/tegra/soctherm.c (THROT_OFFSET * throt)) throt 228 drivers/thermal/tegra/soctherm.c #define ALARM_CFG(throt) (OC1_CFG + \ throt 229 drivers/thermal/tegra/soctherm.c (ALARM_OFFSET * (throt - THROTTLE_OC1))) throt 231 drivers/thermal/tegra/soctherm.c #define ALARM_CNT_THRESHOLD(throt) (OC1_CNT_THRESHOLD + \ throt 232 drivers/thermal/tegra/soctherm.c (ALARM_OFFSET * (throt - THROTTLE_OC1))) throt 234 drivers/thermal/tegra/soctherm.c #define ALARM_THROTTLE_PERIOD(throt) (OC1_THROTTLE_PERIOD + \ throt 235 drivers/thermal/tegra/soctherm.c (ALARM_OFFSET * (throt - THROTTLE_OC1))) throt 237 drivers/thermal/tegra/soctherm.c #define ALARM_ALARM_COUNT(throt) (OC1_ALARM_COUNT + \ throt 238 drivers/thermal/tegra/soctherm.c (ALARM_OFFSET * (throt - THROTTLE_OC1))) throt 240 drivers/thermal/tegra/soctherm.c #define ALARM_FILTER(throt) (OC1_FILTER + \ throt 241 drivers/thermal/tegra/soctherm.c (ALARM_OFFSET * (throt - THROTTLE_OC1))) throt 243 drivers/thermal/tegra/soctherm.c #define ALARM_STATS(throt) (OC1_STATS + \ throt 244 drivers/thermal/tegra/soctherm.c (4 * (throt - THROTTLE_OC1))) throt 519 drivers/thermal/tegra/soctherm.c unsigned int throt; throt 528 drivers/thermal/tegra/soctherm.c throt = stc->id; throt 529 drivers/thermal/tegra/soctherm.c reg_off = THERMCTL_LVL_REG(sg->thermctl_lvl0_offset, throt + 1); throt 531 drivers/thermal/tegra/soctherm.c if (throt == THROTTLE_LIGHT) { throt 537 drivers/thermal/tegra/soctherm.c if (throt != THROTTLE_HEAVY) throt 540 drivers/thermal/tegra/soctherm.c throt); throt 1811 drivers/thermal/tegra/soctherm.c enum soctherm_throttle_id throt) throt 1816 drivers/thermal/tegra/soctherm.c switch (ts->throt_cfgs[throt].cpu_throt_level) { throt 1831 drivers/thermal/tegra/soctherm.c r = readl(ts->regs + THROT_PSKIP_CTRL(throt, THROTTLE_DEV_CPU)); throt 1835 drivers/thermal/tegra/soctherm.c writel(r, ts->regs + THROT_PSKIP_CTRL(throt, THROTTLE_DEV_CPU)); throt 1839 drivers/thermal/tegra/soctherm.c writel(r, ts->regs + THROT_PSKIP_RAMP(throt, THROTTLE_DEV_CPU)); throt 1854 drivers/thermal/tegra/soctherm.c enum soctherm_throttle_id throt) throt 1860 drivers/thermal/tegra/soctherm.c depth = ts->throt_cfgs[throt].cpu_throt_depth; throt 1863 drivers/thermal/tegra/soctherm.c r = readl(ts->regs + THROT_PSKIP_CTRL(throt, THROTTLE_DEV_CPU)); throt 1867 drivers/thermal/tegra/soctherm.c writel(r, ts->regs + THROT_PSKIP_CTRL(throt, THROTTLE_DEV_CPU)); throt 1869 drivers/thermal/tegra/soctherm.c r = readl(ts->regs + THROT_PSKIP_RAMP(throt, THROTTLE_DEV_CPU)); throt 1872 drivers/thermal/tegra/soctherm.c writel(r, ts->regs + THROT_PSKIP_RAMP(throt, THROTTLE_DEV_CPU)); throt 1885 drivers/thermal/tegra/soctherm.c enum soctherm_throttle_id throt) throt 1889 drivers/thermal/tegra/soctherm.c level = ts->throt_cfgs[throt].gpu_throt_level; throt 1891 drivers/thermal/tegra/soctherm.c r = readl(ts->regs + THROT_PSKIP_CTRL(throt, THROTTLE_DEV_GPU)); throt 1894 drivers/thermal/tegra/soctherm.c writel(r, ts->regs + THROT_PSKIP_CTRL(throt, THROTTLE_DEV_GPU)); throt 1898 drivers/thermal/tegra/soctherm.c enum soctherm_throttle_id throt) throt 1901 drivers/thermal/tegra/soctherm.c struct soctherm_oc_cfg *oc = &ts->throt_cfgs[throt].oc_cfg; throt 1910 drivers/thermal/tegra/soctherm.c writel(r, ts->regs + ALARM_CFG(throt)); throt 1911 drivers/thermal/tegra/soctherm.c writel(oc->throt_period, ts->regs + ALARM_THROTTLE_PERIOD(throt)); throt 1912 drivers/thermal/tegra/soctherm.c writel(oc->alarm_cnt_thresh, ts->regs + ALARM_CNT_THRESHOLD(throt)); throt 1913 drivers/thermal/tegra/soctherm.c writel(oc->alarm_filter, ts->regs + ALARM_FILTER(throt)); throt 1914 drivers/thermal/tegra/soctherm.c soctherm_oc_intr_enable(ts, throt, oc->intr_en); throt 1927 drivers/thermal/tegra/soctherm.c enum soctherm_throttle_id throt) throt 1930 drivers/thermal/tegra/soctherm.c struct soctherm_throt_cfg stc = ts->throt_cfgs[throt]; throt 1935 drivers/thermal/tegra/soctherm.c if ((throt >= THROTTLE_OC1) && (soctherm_oc_cfg_program(ts, throt))) throt 1940 drivers/thermal/tegra/soctherm.c throttlectl_cpu_level_select(ts, throt); throt 1942 drivers/thermal/tegra/soctherm.c throttlectl_cpu_mn(ts, throt); throt 1944 drivers/thermal/tegra/soctherm.c throttlectl_gpu_level_select(ts, throt); throt 1947 drivers/thermal/tegra/soctherm.c writel(r, ts->regs + THROT_PRIORITY_CTRL(throt)); throt 1950 drivers/thermal/tegra/soctherm.c writel(r, ts->regs + THROT_DELAY_CTRL(throt));