Lines Matching refs:tegra_soctherm
299 struct tegra_soctherm;
303 struct tegra_soctherm *ts;
329 struct tegra_soctherm {
362 * @ts: pointer to a struct tegra_soctherm
368 static inline void ccroc_writel(struct tegra_soctherm *ts, u32 value, u32 reg)
375 * @ts: pointer to a struct tegra_soctherm
380 static inline u32 ccroc_readl(struct tegra_soctherm *ts, u32 reg)
385 static void enable_tsensor(struct tegra_soctherm *tegra, unsigned int i)
478 struct tegra_soctherm *ts = dev_get_drvdata(dev);
518 struct tegra_soctherm *ts = dev_get_drvdata(dev);
556 find_throttle_cfg_by_name(struct tegra_soctherm *ts, const char *name)
567 static int tsensor_group_thermtrip_get(struct tegra_soctherm *ts, int id)
588 struct tegra_soctherm *ts = zone->ts;
738 struct tegra_soctherm *ts = dev_get_drvdata(dev);
798 struct tegra_soctherm *ts = dev_id;
819 * @dev_id: Opaque pointer to tegra_soctherm;
835 struct tegra_soctherm *ts = dev_id;
899 * @ts: pointer to a struct tegra_soctherm
907 static void soctherm_oc_intr_enable(struct tegra_soctherm *ts,
997 struct tegra_soctherm *ts = arg;
1068 struct tegra_soctherm *ts = arg;
1257 struct tegra_soctherm *ts = platform_get_drvdata(pdev);
1454 struct tegra_soctherm *tegra = platform_get_drvdata(pdev);
1469 struct tegra_soctherm *tegra = platform_get_drvdata(pdev);
1510 struct tegra_soctherm *ts = cdev->devdata;
1537 struct tegra_soctherm *ts = dev_get_drvdata(dev);
1608 struct tegra_soctherm *ts = dev_get_drvdata(dev);
1656 struct tegra_soctherm *ts = dev_get_drvdata(dev);
1722 * @ts: pointer to a struct tegra_soctherm
1732 static void throttlectl_cpu_level_cfg(struct tegra_soctherm *ts, int level)
1770 * @ts: pointer to a struct tegra_soctherm
1780 static void throttlectl_cpu_level_select(struct tegra_soctherm *ts,
1814 * @ts: pointer to a struct tegra_soctherm
1824 static void throttlectl_cpu_mn(struct tegra_soctherm *ts,
1848 * @ts: pointer to a struct tegra_soctherm
1856 static void throttlectl_gpu_level_select(struct tegra_soctherm *ts,
1869 static int soctherm_oc_cfg_program(struct tegra_soctherm *ts,
1893 * @ts: pointer to a struct tegra_soctherm
1899 static void soctherm_throttle_program(struct tegra_soctherm *ts,
1936 struct tegra_soctherm *ts = dev_get_drvdata(dev);
1973 struct tegra_soctherm *tegra)
2025 struct tegra_soctherm *tegra = platform_get_drvdata(pdev);
2080 struct tegra_soctherm *tegra;
2224 struct tegra_soctherm *tegra = platform_get_drvdata(pdev);
2245 struct tegra_soctherm *tegra = platform_get_drvdata(pdev);
2279 .name = "tegra_soctherm",