Lines Matching refs:ttgs

1259 	const struct tegra_tsensor_group **ttgs = ts->soc->ttgs;  in regs_show()  local
1336 seq_printf(s, "%s:\n", ttgs[i]->name); in regs_show()
1340 u16 off = ttgs[i]->thermctl_lvl0_offset; in regs_show()
1344 mask = ttgs[i]->thermctl_lvl0_up_thresh_mask; in regs_show()
1350 mask = ttgs[i]->thermctl_lvl0_dn_thresh_mask; in regs_show()
1411 state = REG_GET_MASK(r, ttgs[0]->thermtrip_any_en_mask); in regs_show()
1414 state = REG_GET_MASK(r, ttgs[i]->thermtrip_enable_mask); in regs_show()
1415 seq_printf(s, " %s En(%d) ", ttgs[i]->name, state); in regs_show()
1416 state = REG_GET_MASK(r, ttgs[i]->thermtrip_threshold_mask); in regs_show()
2026 const struct tegra_tsensor_group **ttgs = tegra->soc->ttgs; in soctherm_init() local
2038 pdiv = REG_SET_MASK(pdiv, ttgs[i]->pdiv_mask, in soctherm_init()
2039 ttgs[i]->pdiv); in soctherm_init()
2041 if (ttgs[i]->id == TEGRA124_SOCTHERM_SENSOR_PLLX) in soctherm_init()
2044 ttgs[i]->pllx_hotspot_mask, in soctherm_init()
2045 ttgs[i]->pllx_hotspot_diff); in soctherm_init()
2186 zone->reg = tegra->regs + soc->ttgs[i]->sensor_temp_offset; in tegra_soctherm_probe()
2188 zone->sg = soc->ttgs[i]; in tegra_soctherm_probe()
2192 soc->ttgs[i]->id, zone, in tegra_soctherm_probe()
2202 tegra->thermctl_tzs[soc->ttgs[i]->id] = z; in tegra_soctherm_probe()
2205 err = tegra_soctherm_set_hwtrips(&pdev->dev, soc->ttgs[i], z); in tegra_soctherm_probe()
2261 tz = tegra->thermctl_tzs[soc->ttgs[i]->id]; in soctherm_resume()
2262 err = tegra_soctherm_set_hwtrips(dev, soc->ttgs[i], tz); in soctherm_resume()