Lines Matching refs:ttgs
615 const struct tegra_tsensor_group **ttgs = ts->soc->ttgs; in regs_show() local
692 seq_printf(s, "%s:\n", ttgs[i]->name); in regs_show()
696 u16 off = ttgs[i]->thermctl_lvl0_offset; in regs_show()
700 mask = ttgs[i]->thermctl_lvl0_up_thresh_mask; in regs_show()
706 mask = ttgs[i]->thermctl_lvl0_dn_thresh_mask; in regs_show()
767 state = REG_GET_MASK(r, ttgs[0]->thermtrip_any_en_mask); in regs_show()
770 state = REG_GET_MASK(r, ttgs[i]->thermtrip_enable_mask); in regs_show()
771 seq_printf(s, " %s En(%d) ", ttgs[i]->name, state); in regs_show()
772 state = REG_GET_MASK(r, ttgs[i]->thermtrip_threshold_mask); in regs_show()
1199 const struct tegra_tsensor_group **ttgs = tegra->soc->ttgs; in soctherm_init() local
1211 pdiv = REG_SET_MASK(pdiv, ttgs[i]->pdiv_mask, in soctherm_init()
1212 ttgs[i]->pdiv); in soctherm_init()
1214 if (ttgs[i]->id == TEGRA124_SOCTHERM_SENSOR_PLLX) in soctherm_init()
1217 ttgs[i]->pllx_hotspot_mask, in soctherm_init()
1218 ttgs[i]->pllx_hotspot_diff); in soctherm_init()
1363 zone->reg = tegra->regs + soc->ttgs[i]->sensor_temp_offset; in tegra_soctherm_probe()
1365 zone->sg = soc->ttgs[i]; in tegra_soctherm_probe()
1369 soc->ttgs[i]->id, zone, in tegra_soctherm_probe()
1379 tegra->thermctl_tzs[soc->ttgs[i]->id] = z; in tegra_soctherm_probe()
1382 err = tegra_soctherm_set_hwtrips(&pdev->dev, soc->ttgs[i], z); in tegra_soctherm_probe()
1436 tz = tegra->thermctl_tzs[soc->ttgs[i]->id]; in soctherm_resume()
1437 err = tegra_soctherm_set_hwtrips(dev, soc->ttgs[i], tz); in soctherm_resume()