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)
589 struct tegra_soctherm *ts = zone->ts;
776 struct tegra_soctherm *ts = dev_get_drvdata(dev);
836 struct tegra_soctherm *ts = dev_id;
857 * @dev_id: Opaque pointer to tegra_soctherm;
873 struct tegra_soctherm *ts = dev_id;
937 * @ts: pointer to a struct tegra_soctherm
945 static void soctherm_oc_intr_enable(struct tegra_soctherm *ts,
1035 struct tegra_soctherm *ts = arg;
1106 struct tegra_soctherm *ts = arg;
1295 struct tegra_soctherm *ts = platform_get_drvdata(pdev);
1492 struct tegra_soctherm *tegra = platform_get_drvdata(pdev);
1507 struct tegra_soctherm *tegra = platform_get_drvdata(pdev);
1548 struct tegra_soctherm *ts = cdev->devdata;
1575 struct tegra_soctherm *ts = dev_get_drvdata(dev);
1646 struct tegra_soctherm *ts = dev_get_drvdata(dev);
1694 struct tegra_soctherm *ts = dev_get_drvdata(dev);
1760 * @ts: pointer to a struct tegra_soctherm
1770 static void throttlectl_cpu_level_cfg(struct tegra_soctherm *ts, int level)
1808 * @ts: pointer to a struct tegra_soctherm
1818 static void throttlectl_cpu_level_select(struct tegra_soctherm *ts,
1852 * @ts: pointer to a struct tegra_soctherm
1862 static void throttlectl_cpu_mn(struct tegra_soctherm *ts,
1886 * @ts: pointer to a struct tegra_soctherm
1894 static void throttlectl_gpu_level_select(struct tegra_soctherm *ts,
1907 static int soctherm_oc_cfg_program(struct tegra_soctherm *ts,
1931 * @ts: pointer to a struct tegra_soctherm
1937 static void soctherm_throttle_program(struct tegra_soctherm *ts,
1974 struct tegra_soctherm *ts = dev_get_drvdata(dev);
2011 struct tegra_soctherm *tegra)
2063 struct tegra_soctherm *tegra = platform_get_drvdata(pdev);
2118 struct tegra_soctherm *tegra;
2269 struct tegra_soctherm *tegra = platform_get_drvdata(pdev);
2290 struct tegra_soctherm *tegra = platform_get_drvdata(pdev);
2324 .name = "tegra_soctherm",