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