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()
588 struct tegra_soctherm *ts = zone->ts; in tegra_thermctl_set_trip_temp()
743 struct tegra_soctherm *ts = dev_get_drvdata(dev); in tegra_soctherm_set_hwtrips()
803 struct tegra_soctherm *ts = dev_id; in soctherm_thermal_isr()
840 struct tegra_soctherm *ts = dev_id; in soctherm_thermal_isr_thread()
912 static void soctherm_oc_intr_enable(struct tegra_soctherm *ts, in soctherm_oc_intr_enable()
1002 struct tegra_soctherm *ts = arg; in soctherm_edp_isr_thread()
1073 struct tegra_soctherm *ts = arg; in soctherm_edp_isr()
1262 struct tegra_soctherm *ts = platform_get_drvdata(pdev); in regs_show()
1459 struct tegra_soctherm *tegra = platform_get_drvdata(pdev); in soctherm_debug_init()
1474 struct tegra_soctherm *tegra = platform_get_drvdata(pdev); in soctherm_clk_enable()
1515 struct tegra_soctherm *ts = cdev->devdata; in throt_get_cdev_cur_state()
1542 struct tegra_soctherm *ts = dev_get_drvdata(dev); in soctherm_thermtrips_parse()
1613 struct tegra_soctherm *ts = dev_get_drvdata(dev); in soctherm_throt_cfg_parse()
1661 struct tegra_soctherm *ts = dev_get_drvdata(dev); in soctherm_init_hw_throt_cdev()
1737 static void throttlectl_cpu_level_cfg(struct tegra_soctherm *ts, int level) in throttlectl_cpu_level_cfg()
1785 static void throttlectl_cpu_level_select(struct tegra_soctherm *ts, in throttlectl_cpu_level_select()
1829 static void throttlectl_cpu_mn(struct tegra_soctherm *ts, in throttlectl_cpu_mn()
1861 static void throttlectl_gpu_level_select(struct tegra_soctherm *ts, in throttlectl_gpu_level_select()
1874 static int soctherm_oc_cfg_program(struct tegra_soctherm *ts, in soctherm_oc_cfg_program()
1904 static void soctherm_throttle_program(struct tegra_soctherm *ts, in soctherm_throttle_program()
1941 struct tegra_soctherm *ts = dev_get_drvdata(dev); in tegra_soctherm_throttle()
1978 struct tegra_soctherm *tegra) in soctherm_interrupts_init()
2030 struct tegra_soctherm *tegra = platform_get_drvdata(pdev); in soctherm_init()
2085 struct tegra_soctherm *tegra; in tegra_soctherm_probe()
2229 struct tegra_soctherm *tegra = platform_get_drvdata(pdev); in tegra_soctherm_remove()
2250 struct tegra_soctherm *tegra = platform_get_drvdata(pdev); in soctherm_resume()