Lines Matching defs:sensor
387 const struct tegra_tsensor *sensor = &tegra->soc->tsensors[i];
388 void __iomem *base = tegra->regs + sensor->base;
391 val = sensor->config->tall << SENSOR_CONFIG0_TALL_SHIFT;
394 val = (sensor->config->tsample - 1) << SENSOR_CONFIG1_TSAMPLE_SHIFT;
395 val |= sensor->config->tiddq_en << SENSOR_CONFIG1_TIDDQ_EN_SHIFT;
396 val |= sensor->config->ten_count << SENSOR_CONFIG1_TEN_COUNT_SHIFT;
460 * system if a given sensor group reaches a given temperature
462 * @sg: pointer to the sensor group to set the thermtrip temperature for
465 * Sets the thermal trip threshold of the given sensor group to be the
498 * pulse if a given sensor group reaches a given temperature
500 * @sg: pointer to the sensor group to set the thermtrip temperature for
504 * Sets the thermal trip threshold and throttle event of the given sensor
713 * @sg: pointer to the sensor group to set the thermtrip temperature for
721 * action when the configured SoC thermal sensor group reaches a
729 * "thermtrip: will shut down when sensor group XXX reaches YYYYYY mC"
732 * ""throttrip: will throttle when sensor group XXX reaches YYYYYY mC"
804 * new trip points. Hence there cant be a interrupt on the same sensor.
805 * An interrupt can however occur on a sensor while trips are being
2196 dev_err(&pdev->dev, "failed to register sensor: %d\n",