Lines Matching refs:ttgs

1256 	const struct tegra_tsensor_group **ttgs = ts->soc->ttgs;  in regs_show()  local
1333 seq_printf(s, "%s:\n", ttgs[i]->name); in regs_show()
1337 u16 off = ttgs[i]->thermctl_lvl0_offset; in regs_show()
1341 mask = ttgs[i]->thermctl_lvl0_up_thresh_mask; in regs_show()
1347 mask = ttgs[i]->thermctl_lvl0_dn_thresh_mask; in regs_show()
1408 state = REG_GET_MASK(r, ttgs[0]->thermtrip_any_en_mask); in regs_show()
1411 state = REG_GET_MASK(r, ttgs[i]->thermtrip_enable_mask); in regs_show()
1412 seq_printf(s, " %s En(%d) ", ttgs[i]->name, state); in regs_show()
1413 state = REG_GET_MASK(r, ttgs[i]->thermtrip_threshold_mask); in regs_show()
2023 const struct tegra_tsensor_group **ttgs = tegra->soc->ttgs; in soctherm_init() local
2035 pdiv = REG_SET_MASK(pdiv, ttgs[i]->pdiv_mask, in soctherm_init()
2036 ttgs[i]->pdiv); in soctherm_init()
2038 if (ttgs[i]->id == TEGRA124_SOCTHERM_SENSOR_PLLX) in soctherm_init()
2041 ttgs[i]->pllx_hotspot_mask, in soctherm_init()
2042 ttgs[i]->pllx_hotspot_diff); in soctherm_init()
2183 zone->reg = tegra->regs + soc->ttgs[i]->sensor_temp_offset; in tegra_soctherm_probe()
2185 zone->sg = soc->ttgs[i]; in tegra_soctherm_probe()
2189 soc->ttgs[i]->id, zone, in tegra_soctherm_probe()
2199 tegra->thermctl_tzs[soc->ttgs[i]->id] = z; in tegra_soctherm_probe()
2202 err = tegra_soctherm_set_hwtrips(&pdev->dev, soc->ttgs[i], z); in tegra_soctherm_probe()
2256 tz = tegra->thermctl_tzs[soc->ttgs[i]->id]; in soctherm_resume()
2257 err = tegra_soctherm_set_hwtrips(dev, soc->ttgs[i], tz); in soctherm_resume()