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