/linux-4.4.14/drivers/thermal/ |
H A D | step_wise.c | 32 * a. if the trend is THERMAL_TREND_RAISING, use higher cooling 34 * b. if the trend is THERMAL_TREND_DROPPING, use lower cooling 36 * c. if the trend is THERMAL_TREND_RAISE_FULL, use upper limit 38 * d. if the trend is THERMAL_TREND_DROP_FULL, use lower limit 41 * a. if the trend is THERMAL_TREND_RAISING, do nothing 42 * b. if the trend is THERMAL_TREND_DROPPING, use lower cooling 45 * c. if the trend is THERMAL_TREND_RAISE_FULL, do nothing 46 * d. if the trend is THERMAL_TREND_DROP_FULL, use lower limit, 51 enum thermal_trend trend, bool throttle) get_target_state() 79 switch (trend) { get_target_state() 131 enum thermal_trend trend; thermal_zone_trip_update() local 144 trend = get_tz_trend(tz, trip); thermal_zone_trip_update() 151 dev_dbg(&tz->device, "Trip%d[type=%d,temp=%d]:trend=%d,throttle=%d\n", thermal_zone_trip_update() 152 trip, trip_type, trip_temp, trend, throttle); thermal_zone_trip_update() 161 instance->target = get_target_state(instance, trend, throttle); thermal_zone_trip_update() 190 * Throttling Logic: This uses the trend of the thermal zone to throttle. 50 get_target_state(struct thermal_instance *instance, enum thermal_trend trend, bool throttle) get_target_state() argument
|
H A D | db8500_thermal.c | 39 enum thermal_trend trend; member in struct:db8500_thermal_zone 124 /* Callback to get temperature changing trend */ db8500_sys_get_trend() 126 int trip, enum thermal_trend *trend) db8500_sys_get_trend() 130 *trend = pzone->trend; db8500_sys_get_trend() 226 unsigned int idx, enum thermal_trend trend, db8500_thermal_update_config() 233 pzone->trend = trend; db8500_thermal_update_config() 125 db8500_sys_get_trend(struct thermal_zone_device *thermal, int trip, enum thermal_trend *trend) db8500_sys_get_trend() argument 225 db8500_thermal_update_config(struct db8500_thermal_zone *pzone, unsigned int idx, enum thermal_trend trend, unsigned long next_low, unsigned long next_high) db8500_thermal_update_config() argument
|
H A D | of-thermal.c | 67 * @sensor_data: sensor private data used while reading temperature and trend 191 enum thermal_trend *trend) of_thermal_get_trend() 206 *trend = THERMAL_TREND_RAISING; of_thermal_get_trend() 208 *trend = THERMAL_TREND_DROPPING; of_thermal_get_trend() 210 *trend = THERMAL_TREND_STABLE; of_thermal_get_trend() 446 * The thermal zone temperature trend is provided by the @get_trend function 190 of_thermal_get_trend(struct thermal_zone_device *tz, int trip, enum thermal_trend *trend) of_thermal_get_trend() argument
|
H A D | thermal_core.c | 235 enum thermal_trend trend; get_tz_trend() local 238 tz->ops->get_trend(tz, trip, &trend)) { get_tz_trend() 240 trend = THERMAL_TREND_RAISING; get_tz_trend() 242 trend = THERMAL_TREND_DROPPING; get_tz_trend() 244 trend = THERMAL_TREND_STABLE; get_tz_trend() 247 return trend; get_tz_trend()
|
/linux-4.4.14/drivers/thermal/ti-soc-thermal/ |
H A D | ti-thermal-common.c | 242 static int __ti_thermal_get_trend(void *p, long *trend) __ti_thermal_get_trend() argument 255 *trend = tr; __ti_thermal_get_trend() 260 /* Get the temperature trend callback functions for thermal zone */ ti_thermal_get_trend() 262 int trip, enum thermal_trend *trend) ti_thermal_get_trend() 272 *trend = THERMAL_TREND_RAISING; ti_thermal_get_trend() 274 *trend = THERMAL_TREND_DROPPING; ti_thermal_get_trend() 276 *trend = THERMAL_TREND_STABLE; ti_thermal_get_trend() 261 ti_thermal_get_trend(struct thermal_zone_device *thermal, int trip, enum thermal_trend *trend) ti_thermal_get_trend() argument
|
H A D | ti-bandgap.c | 1037 * ti_bandgap_get_trend() - To fetch the temperature trend of a sensor 1040 * @trend: Pointer to trend. 1042 * This function needs to be called to fetch the temperature trend of a 1049 * error then the trend value is passed on to trend parameter 1051 int ti_bandgap_get_trend(struct ti_bandgap *bgp, int id, int *trend) ti_bandgap_get_trend() argument 1101 *trend = (t1 - t2) / interval; ti_bandgap_get_trend() 1103 dev_dbg(bgp->dev, "The temperatures are t1 = %d and t2 = %d and trend =%d\n", ti_bandgap_get_trend() 1104 t1, t2, *trend); ti_bandgap_get_trend()
|
H A D | ti-bandgap.h | 394 int ti_bandgap_get_trend(struct ti_bandgap *bgp, int id, int *trend);
|
/linux-4.4.14/drivers/acpi/ |
H A D | thermal.c | 702 int trip, enum thermal_trend *trend) thermal_get_trend() 719 *trend = THERMAL_TREND_RAISING; thermal_get_trend() 722 /* Fall back on default trend */ thermal_get_trend() 736 *trend = THERMAL_TREND_RAISING; thermal_get_trend() 738 *trend = THERMAL_TREND_DROPPING; thermal_get_trend() 740 *trend = THERMAL_TREND_STABLE; thermal_get_trend() 701 thermal_get_trend(struct thermal_zone_device *thermal, int trip, enum thermal_trend *trend) thermal_get_trend() argument
|
/linux-4.4.14/arch/sh/kernel/cpu/sh4a/ |
H A D | perf_event.c | 33 * the new location (if future parts keep up with this trend then
|
/linux-4.4.14/include/linux/ |
H A D | thermal.h | 335 * @get_trend: a pointer to a function that reads the sensor temperature trend.
|