Lines Matching refs:tegra_soctherm
299 struct tegra_soctherm;
303 struct tegra_soctherm *ts;
329 struct tegra_soctherm { struct
368 static inline void ccroc_writel(struct tegra_soctherm *ts, u32 value, u32 reg) in ccroc_writel()
380 static inline u32 ccroc_readl(struct tegra_soctherm *ts, u32 reg) in ccroc_readl()
385 static void enable_tsensor(struct tegra_soctherm *tegra, unsigned int i) in enable_tsensor()
478 struct tegra_soctherm *ts = dev_get_drvdata(dev); in thermtrip_program()
518 struct tegra_soctherm *ts = dev_get_drvdata(dev); in throttrip_program()
556 find_throttle_cfg_by_name(struct tegra_soctherm *ts, const char *name) in find_throttle_cfg_by_name()
567 static int tsensor_group_thermtrip_get(struct tegra_soctherm *ts, int id) in tsensor_group_thermtrip_get()
589 struct tegra_soctherm *ts = zone->ts; in tegra_thermctl_set_trip_temp()
776 struct tegra_soctherm *ts = dev_get_drvdata(dev); in tegra_soctherm_set_hwtrips()
836 struct tegra_soctherm *ts = dev_id; in soctherm_thermal_isr()
873 struct tegra_soctherm *ts = dev_id; in soctherm_thermal_isr_thread()
945 static void soctherm_oc_intr_enable(struct tegra_soctherm *ts, in soctherm_oc_intr_enable()
1035 struct tegra_soctherm *ts = arg; in soctherm_edp_isr_thread()
1106 struct tegra_soctherm *ts = arg; in soctherm_edp_isr()
1295 struct tegra_soctherm *ts = platform_get_drvdata(pdev); in regs_show()
1492 struct tegra_soctherm *tegra = platform_get_drvdata(pdev); in soctherm_debug_init()
1507 struct tegra_soctherm *tegra = platform_get_drvdata(pdev); in soctherm_clk_enable()
1548 struct tegra_soctherm *ts = cdev->devdata; in throt_get_cdev_cur_state()
1575 struct tegra_soctherm *ts = dev_get_drvdata(dev); in soctherm_thermtrips_parse()
1646 struct tegra_soctherm *ts = dev_get_drvdata(dev); in soctherm_throt_cfg_parse()
1694 struct tegra_soctherm *ts = dev_get_drvdata(dev); in soctherm_init_hw_throt_cdev()
1770 static void throttlectl_cpu_level_cfg(struct tegra_soctherm *ts, int level) in throttlectl_cpu_level_cfg()
1818 static void throttlectl_cpu_level_select(struct tegra_soctherm *ts, in throttlectl_cpu_level_select()
1862 static void throttlectl_cpu_mn(struct tegra_soctherm *ts, in throttlectl_cpu_mn()
1894 static void throttlectl_gpu_level_select(struct tegra_soctherm *ts, in throttlectl_gpu_level_select()
1907 static int soctherm_oc_cfg_program(struct tegra_soctherm *ts, in soctherm_oc_cfg_program()
1937 static void soctherm_throttle_program(struct tegra_soctherm *ts, in soctherm_throttle_program()
1974 struct tegra_soctherm *ts = dev_get_drvdata(dev); in tegra_soctherm_throttle()
2011 struct tegra_soctherm *tegra) in soctherm_interrupts_init()
2063 struct tegra_soctherm *tegra = platform_get_drvdata(pdev); in soctherm_init()
2118 struct tegra_soctherm *tegra; in tegra_soctherm_probe()
2269 struct tegra_soctherm *tegra = platform_get_drvdata(pdev); in tegra_soctherm_remove()
2290 struct tegra_soctherm *tegra = platform_get_drvdata(pdev); in soctherm_resume()