Lines Matching defs:temp
253 static int imx_get_temp(struct thermal_zone_device *tz, int *temp)
276 *temp = (n_meas - data->c1 + 25) * 1000;
278 *temp = data->c2 - n_meas * data->c1;
283 *temp >= trips[IMX_TRIP_PASSIVE].temperature)
286 *temp < trips[IMX_TRIP_PASSIVE].temperature) {
293 if (*temp != data->last_temp) {
294 dev_dbg(data->dev, "millicelsius: %d\n", *temp);
295 data->last_temp = *temp;
299 if (!data->irq_enabled && *temp < data->alarm_temp) {
334 int temp)
353 if (temp < 0 || temp > trips[IMX_TRIP_CRITICAL].temperature)
356 imx_set_alarm_temp(data, temp);
398 * On i.MX7D, we only use the calibration data at 25C to get the temp,
440 /* The maximum die temp is specified by the Temperature Grade */
862 * According to the temp sensor designers, it may require up to ~17us