Lines Matching refs:ttgs
1297 const struct tegra_tsensor_group **ttgs = ts->soc->ttgs;
1374 seq_printf(s, "%s:\n", ttgs[i]->name);
1378 u16 off = ttgs[i]->thermctl_lvl0_offset;
1382 mask = ttgs[i]->thermctl_lvl0_up_thresh_mask;
1388 mask = ttgs[i]->thermctl_lvl0_dn_thresh_mask;
1449 state = REG_GET_MASK(r, ttgs[0]->thermtrip_any_en_mask);
1452 state = REG_GET_MASK(r, ttgs[i]->thermtrip_enable_mask);
1453 seq_printf(s, " %s En(%d) ", ttgs[i]->name, state);
1454 state = REG_GET_MASK(r, ttgs[i]->thermtrip_threshold_mask);
2064 const struct tegra_tsensor_group **ttgs = tegra->soc->ttgs;
2076 pdiv = REG_SET_MASK(pdiv, ttgs[i]->pdiv_mask,
2077 ttgs[i]->pdiv);
2079 if (ttgs[i]->id == TEGRA124_SOCTHERM_SENSOR_PLLX)
2082 ttgs[i]->pllx_hotspot_mask,
2083 ttgs[i]->pllx_hotspot_diff);
2231 zone->reg = tegra->regs + soc->ttgs[i]->sensor_temp_offset;
2233 zone->sg = soc->ttgs[i];
2237 soc->ttgs[i]->id, zone,
2247 tegra->thermctl_tzs[soc->ttgs[i]->id] = z;
2250 err = tegra_soctherm_set_hwtrips(&pdev->dev, soc->ttgs[i], z);
2306 tz = tegra->thermctl_tzs[soc->ttgs[i]->id];
2307 err = tegra_soctherm_set_hwtrips(dev, soc->ttgs[i], tz);