Lines Matching defs:trend
668 * ti_bandgap_get_trend() - To fetch the temperature trend of a sensor
671 * @trend: Pointer to trend.
673 * This function needs to be called to fetch the temperature trend of a
680 * error then the trend value is passed on to trend parameter
682 int ti_bandgap_get_trend(struct ti_bandgap *bgp, int id, int *trend)
732 *trend = (t1 - t2) / interval;
734 dev_dbg(bgp->dev, "The temperatures are t1 = %d and t2 = %d and trend =%d\n",
735 t1, t2, *trend);