Lines Matching refs:ttgs
649 const struct tegra_tsensor_group **ttgs = ts->soc->ttgs; in regs_show() local
726 seq_printf(s, "%s:\n", ttgs[i]->name); in regs_show()
730 u16 off = ttgs[i]->thermctl_lvl0_offset; in regs_show()
734 mask = ttgs[i]->thermctl_lvl0_up_thresh_mask; in regs_show()
740 mask = ttgs[i]->thermctl_lvl0_dn_thresh_mask; in regs_show()
801 state = REG_GET_MASK(r, ttgs[0]->thermtrip_any_en_mask); in regs_show()
804 state = REG_GET_MASK(r, ttgs[i]->thermtrip_enable_mask); in regs_show()
805 seq_printf(s, " %s En(%d) ", ttgs[i]->name, state); in regs_show()
806 state = REG_GET_MASK(r, ttgs[i]->thermtrip_threshold_mask); in regs_show()
1233 const struct tegra_tsensor_group **ttgs = tegra->soc->ttgs; in soctherm_init() local
1245 pdiv = REG_SET_MASK(pdiv, ttgs[i]->pdiv_mask, in soctherm_init()
1246 ttgs[i]->pdiv); in soctherm_init()
1248 if (ttgs[i]->id == TEGRA124_SOCTHERM_SENSOR_PLLX) in soctherm_init()
1251 ttgs[i]->pllx_hotspot_mask, in soctherm_init()
1252 ttgs[i]->pllx_hotspot_diff); in soctherm_init()
1397 zone->reg = tegra->regs + soc->ttgs[i]->sensor_temp_offset; in tegra_soctherm_probe()
1399 zone->sg = soc->ttgs[i]; in tegra_soctherm_probe()
1403 soc->ttgs[i]->id, zone, in tegra_soctherm_probe()
1413 tegra->thermctl_tzs[soc->ttgs[i]->id] = z; in tegra_soctherm_probe()
1416 err = tegra_soctherm_set_hwtrips(&pdev->dev, soc->ttgs[i], z); in tegra_soctherm_probe()
1470 tz = tegra->thermctl_tzs[soc->ttgs[i]->id]; in soctherm_resume()
1471 err = tegra_soctherm_set_hwtrips(dev, soc->ttgs[i], tz); in soctherm_resume()