/linux-4.1.27/drivers/thermal/int340x_thermal/ |
D | int340x_thermal_zone.c | 52 int trip, unsigned long *temp) in int340x_thermal_get_trip_temp() argument 58 return d->override_ops->get_trip_temp(zone, trip, temp); in int340x_thermal_get_trip_temp() 60 if (trip < d->aux_trip_nr) in int340x_thermal_get_trip_temp() 61 *temp = d->aux_trips[trip]; in int340x_thermal_get_trip_temp() 62 else if (trip == d->crt_trip_id) in int340x_thermal_get_trip_temp() 64 else if (trip == d->psv_trip_id) in int340x_thermal_get_trip_temp() 66 else if (trip == d->hot_trip_id) in int340x_thermal_get_trip_temp() 71 d->act_trips[i].id == trip) { in int340x_thermal_get_trip_temp() 84 int trip, in int340x_thermal_get_trip_type() argument 91 return d->override_ops->get_trip_type(zone, trip, type); in int340x_thermal_get_trip_type() [all …]
|
/linux-4.1.27/drivers/thermal/ |
D | of-thermal.c | 131 bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, int trip) in of_thermal_is_trip_valid() argument 135 if (!data || trip >= data->ntrips || trip < 0) in of_thermal_is_trip_valid() 186 static int of_thermal_get_trend(struct thermal_zone_device *tz, int trip, in of_thermal_get_trend() argument 295 static int of_thermal_get_trip_type(struct thermal_zone_device *tz, int trip, in of_thermal_get_trip_type() argument 300 if (trip >= data->ntrips || trip < 0) in of_thermal_get_trip_type() 303 *type = data->trips[trip].type; in of_thermal_get_trip_type() 308 static int of_thermal_get_trip_temp(struct thermal_zone_device *tz, int trip, in of_thermal_get_trip_temp() argument 313 if (trip >= data->ntrips || trip < 0) in of_thermal_get_trip_temp() 316 *temp = data->trips[trip].temperature; in of_thermal_get_trip_temp() 321 static int of_thermal_set_trip_temp(struct thermal_zone_device *tz, int trip, in of_thermal_set_trip_temp() argument [all …]
|
D | gov_bang_bang.c | 26 static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip) in thermal_zone_trip_update() argument 32 tz->ops->get_trip_temp(tz, trip, &trip_temp); in thermal_zone_trip_update() 33 tz->ops->get_trip_hyst(tz, trip, &trip_hyst); in thermal_zone_trip_update() 36 trip, trip_temp, tz->temperature, in thermal_zone_trip_update() 42 if (instance->trip != trip) in thermal_zone_trip_update() 102 static int bang_bang_control(struct thermal_zone_device *tz, int trip) in bang_bang_control() argument 106 thermal_zone_trip_update(tz, trip); in bang_bang_control()
|
D | step_wise.c | 127 static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip) in thermal_zone_trip_update() argument 136 if (trip == THERMAL_TRIPS_NONE) { in thermal_zone_trip_update() 140 tz->ops->get_trip_temp(tz, trip, &trip_temp); in thermal_zone_trip_update() 141 tz->ops->get_trip_type(tz, trip, &trip_type); in thermal_zone_trip_update() 144 trend = get_tz_trend(tz, trip); in thermal_zone_trip_update() 148 trace_thermal_zone_trip(tz, trip, trip_type); in thermal_zone_trip_update() 152 trip, trip_type, trip_temp, trend, throttle); in thermal_zone_trip_update() 157 if (instance->trip != trip) in thermal_zone_trip_update() 196 static int step_wise_throttle(struct thermal_zone_device *tz, int trip) in step_wise_throttle() argument 200 thermal_zone_trip_update(tz, trip); in step_wise_throttle()
|
D | thermal_core.c | 174 int get_tz_trend(struct thermal_zone_device *tz, int trip) in get_tz_trend() argument 179 tz->ops->get_trend(tz, trip, &trend)) { in get_tz_trend() 193 struct thermal_cooling_device *cdev, int trip) in get_thermal_instance() argument 202 if (pos->tz == tz && pos->trip == trip && pos->cdev == cdev) { in get_thermal_instance() 360 int trip, enum thermal_trip_type trip_type) in handle_non_critical_trips() argument 362 tz->governor ? tz->governor->throttle(tz, trip) : in handle_non_critical_trips() 363 def_governor->throttle(tz, trip); in handle_non_critical_trips() 367 int trip, enum thermal_trip_type trip_type) in handle_critical_trips() argument 371 tz->ops->get_trip_temp(tz, trip, &trip_temp); in handle_critical_trips() 377 trace_thermal_zone_trip(tz, trip, trip_type); in handle_critical_trips() [all …]
|
D | Kconfig | 11 Each thermal zone contains its own temperature, trip points, 132 user can manually input temperature and test the different trip 146 It supports one critical trip point and one passive trip point. The 148 passive trip is crossed. 165 trip point. Cpufreq is used as the cooling device and will throttle 166 CPUs when the Temperature crosses the passive trip point. 198 management framework. A thermal zone with several trip points will be 199 created. Cooling devices can be bound to the trip points to cool this 200 thermal zone if trip points reached. 227 bound to thermal zone trip points. When a trip point reached, the [all …]
|
D | intel_soc_dts_thermal.c | 109 int trip, unsigned long *temp) in sys_get_trip_temp() argument 117 if (!trip) { in sys_get_trip_temp() 130 out = (out >> (trip * 8)) & SOC_DTS_TJMAX_ENCODING; in sys_get_trip_temp() 226 static int sys_set_trip_temp(struct thermal_zone_device *tzd, int trip, in sys_set_trip_temp() argument 236 status = update_trip_temp(tzd->devdata, trip, temp); in sys_set_trip_temp() 243 int trip, enum thermal_trip_type *type) in sys_get_trip_type() argument 245 if (trip) in sys_get_trip_type()
|
D | thermal_core.h | 43 int trip; member 105 int trip) in of_thermal_is_trip_valid() argument
|
D | db8500_thermal.c | 127 int trip, enum thermal_trend *trend) in db8500_sys_get_trend() argument 168 int trip, enum thermal_trip_type *type) in db8500_sys_get_trip_type() argument 173 if (trip >= ptrips->num_trips) in db8500_sys_get_trip_type() 176 *type = ptrips->trip_points[trip].type; in db8500_sys_get_trip_type() 183 int trip, unsigned long *temp) in db8500_sys_get_trip_temp() argument 188 if (trip >= ptrips->num_trips) in db8500_sys_get_trip_temp() 191 *temp = ptrips->trip_points[trip].temp; in db8500_sys_get_trip_temp()
|
D | x86_pkg_temp_thermal.c | 186 int trip, unsigned long *temp) in sys_get_trip_temp() argument 194 if (trip >= MAX_NUMBER_OF_TRIPS) in sys_get_trip_temp() 199 if (trip) { in sys_get_trip_temp() 222 static int sys_set_trip_temp(struct thermal_zone_device *tzd, int trip, in sys_set_trip_temp() argument 232 if (trip >= MAX_NUMBER_OF_TRIPS || temp >= phy_dev_entry->tj_max) in sys_set_trip_temp() 241 if (trip) { in sys_set_trip_temp() 268 int trip, enum thermal_trip_type *type) in sys_get_trip_type() argument
|
D | fair_share.c | 89 static int fair_share_throttle(struct thermal_zone_device *tz, int trip) in fair_share_throttle() argument 107 instance = get_thermal_instance(tz, cdev, trip); in fair_share_throttle()
|
D | imx_thermal.c | 257 static int imx_get_trip_type(struct thermal_zone_device *tz, int trip, in imx_get_trip_type() argument 260 *type = (trip == IMX_TRIP_PASSIVE) ? THERMAL_TRIP_PASSIVE : in imx_get_trip_type() 274 static int imx_get_trip_temp(struct thermal_zone_device *tz, int trip, in imx_get_trip_temp() argument 279 *temp = (trip == IMX_TRIP_PASSIVE) ? data->temp_passive : in imx_get_trip_temp() 284 static int imx_set_trip_temp(struct thermal_zone_device *tz, int trip, in imx_set_trip_temp() argument 289 if (trip == IMX_TRIP_CRITICAL) in imx_set_trip_temp()
|
D | rcar_thermal.c | 219 int trip, enum thermal_trip_type *type) in rcar_thermal_get_trip_type() argument 225 switch (trip) { in rcar_thermal_get_trip_type() 238 int trip, unsigned long *temp) in rcar_thermal_get_trip_temp() argument 244 switch (trip) { in rcar_thermal_get_trip_temp() 257 int trip, enum thermal_trip_type type) in rcar_thermal_notify() argument
|
D | user_space.c | 35 static int notify_user_space(struct thermal_zone_device *tz, int trip) in notify_user_space() argument
|
/linux-4.1.27/include/trace/events/ |
D | thermal.h | 56 TP_PROTO(struct thermal_zone_device *tz, int trip, 59 TP_ARGS(tz, trip, trip_type), 64 __field(int, trip) 71 __entry->trip = trip; 76 __get_str(thermal_zone), __entry->id, __entry->trip,
|
/linux-4.1.27/drivers/acpi/ |
D | thermal.c | 595 int trip, enum thermal_trip_type *type) in thermal_get_trip_type() argument 600 if (!tz || trip < 0) in thermal_get_trip_type() 604 if (!trip) { in thermal_get_trip_type() 608 trip--; in thermal_get_trip_type() 612 if (!trip) { in thermal_get_trip_type() 616 trip--; in thermal_get_trip_type() 620 if (!trip) { in thermal_get_trip_type() 624 trip--; in thermal_get_trip_type() 629 if (!trip) { in thermal_get_trip_type() 633 trip--; in thermal_get_trip_type() [all …]
|
/linux-4.1.27/Documentation/thermal/ |
D | sysfs-api.txt | 25 inputs from thermal zone attributes (the current temperature and trip point 45 trips: the total number of trip points this thermal zone supports. 46 mask: Bit string: If 'n'th bit is set, then trip point 'n' is writeable. 54 - "disabled" will prevent kernel thermal driver action upon trip points 57 .get_trip_type: get the type of certain trip point. 58 .get_trip_temp: get the temperature above which the certain trip point 66 whether trip points have been crossed (0 for interrupt driven systems). 97 int trip, struct thermal_cooling_device *cdev, 100 This interface function bind a thermal cooling device to the certain trip 105 trip: indicates which trip point the cooling devices is associated with [all …]
|
D | x86_pkg_temperature_thermal | 19 zone with maximum two user mode configurable trip points. Number of trip points 20 depends on the capability of the package. Once the trip point is violated, 31 This contains two trip points: 39 Any value other than 0 in these trip points, can trigger thermal notifications.
|
D | cpu-cooling-api.txt | 13 to the caller. The binding of the cooling devices to the trip point is left for
|
D | intel_powerclamp.txt | 307 certain temperature (below most active trip points).
|
/linux-4.1.27/Documentation/devicetree/bindings/thermal/ |
D | db8500-thermal.txt | 9 - num-trips : number of total trip points, this is required, set it 0 if none, 11 - tripN-temp : temperature of trip point N, should be in ascending order; 12 - tripN-type : type of trip point N, should be one of "active" "passive" "hot" 14 - tripN-cdev-num : number of the cooling devices which can be bound to trip 15 point N, this is required if trip point N is defined, set it 0 if none, 17 - tripN-cdev-nameM : name of the No. M cooling device of trip point N;
|
D | thermal.txt | 6 such as trip points, polling intervals, sensors and cooling devices 18 - trip points: describe key temperatures at which cooling is recommended. The 20 - cooling maps: used to describe links between trip points and cooling devices; 82 The trip node is a node to describe a point in the temperature domain 87 - temperature: An integer indicating the trip temperature level, 95 - type: a string containing the trip type. Expected values are: 96 "active": A trip point to enable active cooling 97 "passive": A trip point to enable passive cooling 98 "hot": A trip point to notify emergency 105 get assigned to trip points of the zone. The cooling devices are expected [all …]
|
D | tegra-soctherm.txt | 5 on temperature trip points, and handling external overcurrent
|
D | rockchip-thermal.txt | 62 trip = <&cpu_alert0>;
|
/linux-4.1.27/drivers/crypto/nx/ |
D | nx.c | 373 struct msc_triplet *trip; in nx_of_update_msc() local 389 trip = msc->trip; in nx_of_update_msc() 402 switch (trip->keybitlen) { in nx_of_update_msc() 406 trip->databytelen; in nx_of_update_msc() 408 trip->sglen; in nx_of_update_msc() 412 trip->databytelen; in nx_of_update_msc() 414 trip->sglen; in nx_of_update_msc() 419 databytelen = trip->databytelen; in nx_of_update_msc() 421 trip->sglen; in nx_of_update_msc() 425 databytelen = trip->databytelen; in nx_of_update_msc() [all …]
|
D | nx.h | 42 struct msc_triplet trip[0]; member
|
/linux-4.1.27/drivers/thermal/ti-soc-thermal/ |
D | ti-thermal.h | 83 #define ti_thermal_is_valid_trip(trip) \ argument 84 ((trip) >= 0 && (trip) < OMAP_TRIP_NUMBER)
|
D | ti-thermal-common.c | 216 int trip, enum thermal_trip_type *type) in ti_thermal_get_trip_type() argument 218 if (!ti_thermal_is_valid_trip(trip)) in ti_thermal_get_trip_type() 221 if (trip + 1 == OMAP_TRIP_NUMBER) in ti_thermal_get_trip_type() 231 int trip, unsigned long *temp) in ti_thermal_get_trip_temp() argument 233 if (!ti_thermal_is_valid_trip(trip)) in ti_thermal_get_trip_temp() 236 *temp = ti_thermal_get_trip_value(trip); in ti_thermal_get_trip_temp() 261 int trip, enum thermal_trend *trend) in ti_thermal_get_trend() argument
|
D | Kconfig | 21 This includes trip points definitions, extrapolation rules and
|
/linux-4.1.27/include/linux/ |
D | thermal.h | 214 int (*throttle)(struct thermal_zone_device *tz, int trip); 363 struct thermal_zone_device *tz, int trip, in thermal_zone_bind_cooling_device() argument 368 struct thermal_zone_device *tz, int trip, in thermal_zone_unbind_cooling_device() argument 390 static inline int get_tz_trend(struct thermal_zone_device *tz, int trip) in get_tz_trend() argument 394 struct thermal_cooling_device *cdev, int trip) in get_thermal_instance() argument 399 int trip) in thermal_notify_framework() argument
|
/linux-4.1.27/drivers/platform/x86/ |
D | acerhdf.c | 441 static int acerhdf_get_trip_type(struct thermal_zone_device *thermal, int trip, in acerhdf_get_trip_type() argument 444 if (trip == 0) in acerhdf_get_trip_type() 446 else if (trip == 1) in acerhdf_get_trip_type() 454 static int acerhdf_get_trip_hyst(struct thermal_zone_device *thermal, int trip, in acerhdf_get_trip_hyst() argument 457 if (trip != 0) in acerhdf_get_trip_hyst() 465 static int acerhdf_get_trip_temp(struct thermal_zone_device *thermal, int trip, in acerhdf_get_trip_temp() argument 468 if (trip == 0) in acerhdf_get_trip_temp() 470 else if (trip == 1) in acerhdf_get_trip_temp()
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | exynos4-cpu-thermal.dtsi | 44 trip = <&cpu_alert0>; 47 trip = <&cpu_alert1>;
|
D | rk3288-thermal.dtsi | 41 trip = <&cpu_alert0>; 69 trip = <&gpu_alert0>;
|
D | exynos5440.dtsi | 246 #include "exynos5440-trip-points.dtsi" 250 #include "exynos5440-trip-points.dtsi" 254 #include "exynos5440-trip-points.dtsi"
|
D | omap4-cpu-thermal.dtsi | 36 trip = <&cpu_alert0>;
|
D | exynos5420.dtsi | 837 #include "exynos5420-trip-points.dtsi" 841 #include "exynos5420-trip-points.dtsi" 845 #include "exynos5420-trip-points.dtsi" 849 #include "exynos5420-trip-points.dtsi" 853 #include "exynos5420-trip-points.dtsi"
|
D | am57xx-beagle-x15.dts | 580 trip = <&cpu_alert1>; 609 trip = <&board_alert0>;
|
D | tegra124-jetson-tk1.dts | 1909 trip@0 { 1923 trip@0 { 1937 trip@0 {
|
D | sun5i-a13.dtsi | 72 trip = <&cpu_alert0>;
|
D | sun4i-a10.dtsi | 98 trip = <&cpu_alert0>;
|
D | sun7i-a20.dtsi | 137 trip = <&cpu_alert0>;
|
/linux-4.1.27/drivers/thermal/st/ |
D | st_thermal.c | 144 int trip, enum thermal_trip_type *type) in st_thermal_get_trip_type() argument 149 switch (trip) { in st_thermal_get_trip_type() 162 int trip, unsigned long *temp) in st_thermal_get_trip_temp() argument 167 switch (trip) { in st_thermal_get_trip_temp()
|
/linux-4.1.27/drivers/hwmon/ |
D | acpi_power_meter.c | 104 s64 trip[2]; member 276 if (resource->trip[0] < 0 || resource->trip[1] < 0) in set_acpi_trip() 280 arg_objs[0].integer.value = resource->trip[1]; in set_acpi_trip() 281 arg_objs[1].integer.value = resource->trip[0]; in set_acpi_trip() 313 resource->trip[attr->index - 7] = temp; in set_trip() 434 if (resource->trip[attr->index - 7] < 0) in show_val() 437 val = resource->trip[attr->index - 7] * 1000; in show_val() 894 resource->trip[0] = resource->trip[1] = -1; in acpi_power_meter_add()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | base.c | 32 struct nvbios_therm_trip_point *trip = priv->fan->bios.trip, in nvkm_therm_update_trip() local 41 if (temp >= trip[i].temp) in nvkm_therm_update_trip() 42 cur_trip = &trip[i]; in nvkm_therm_update_trip()
|
/linux-4.1.27/Documentation/hwmon/ |
D | it87 | 236 This interface implements 4 temperature vs. PWM output trip points. 237 The PWM output of trip point 4 is always the maximum value (fan running 238 at full speed) while the PWM output of the other 3 trip points can be 239 freely chosen. The temperature of all 4 trip points can be freely chosen. 240 Additionally, trip point 1 has an hysteresis temperature attached, to 245 between trip point N and trip point N+1 then the PWM output value is 246 the one of trip point N. The automatic control mode is less flexible
|
D | f71882fg | 93 Note that the lowest numbered temperature zone trip point corresponds to 95 vica versa. So the temperature zone trip points 1-4 (or 1-2) go from high temp 127 You can define a number of temperature/fan speed trip points, which % the 129 standard sysfs interface. The number and type of trip points is chip
|
D | acpi_power_meter | 19 interval, an optional capping mechanism, and a couple of trip points. The 27 Both power[1-*]_average_{min,max} must be set before the trip points will work.
|
D | sysfs-interface | 277 Define the PWM vs temperature curve. Number of trip points is 278 chip-dependent. Use this for chips which associate trip points 285 Define the PWM vs temperature curve. Number of trip points is 286 chip-dependent. Use this for chips which associate trip points 290 There is a third case where trip points are associated to both PWM output
|
D | adt7475 | 96 The driver exposes two trip points per PWM channel.
|
D | w83793 | 89 trip points, defining a PWM/temperature curve which the chip will follow.
|
D | f71805f | 156 You define 3 temperature/fan speed trip points using the
|
/linux-4.1.27/tools/thermal/tmon/ |
D | README | 12 devices, zones, sensors, and trip points. They can also change dynamically. 16 links, trip point bindings, and device instances. To traverse such
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | therm.c | 179 cur_trip = &fan->trip[fan->nr_fan_trip - 1]; in nvbios_therm_fan_parse() 185 cur_trip = &fan->trip[fan->nr_fan_trip - 1]; in nvbios_therm_fan_parse()
|
/linux-4.1.27/Documentation/ |
D | IRQ-affinity.txt | 33 round-trip min/avg/max = 0.1/0.1/0.4 ms 50 round-trip min/avg/max = 0.1/0.5/585.4 ms
|
D | kernel-parameters.txt | 3569 -1: disable all active trip points in all thermal zones 3570 <degrees C>: override all lowest active trip points 3573 -1: disable all critical trip points in all thermal zones 3574 <degrees C>: override all critical trip points 3578 critical and hot trip points. 3584 -1: disable all passive trip points 3585 <degrees C>: override all passive trip points to this
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
D | therm.h | 55 struct nvbios_therm_trip_point trip[NVKM_TEMP_FAN_TRIP_MAX]; member
|
/linux-4.1.27/arch/alpha/lib/ |
D | ev6-copy_user.S | 68 subq $3, 8, $3 # E .. .. .. : L U U L : trip counter 170 subq $4, 32, $3 # E .. .. .. : U U L L : is there enough for another trip?
|
D | ev6-memcpy.S | 78 addq $16, 64, $7 # E : Initial (+1 trip) wh64 address 129 cmple $18, 63, $1 # E : At least one more trip?
|
D | ev6-memset.S | 168 addq $5, 64, $7 # E : Fallback address for wh64 (== next trip addr) 345 addq $5, 64, $7 # E : Fallback address for wh64 (== next trip addr) 532 addq $5, 64, $7 # E : Fallback address for wh64 (== next trip addr)
|
/linux-4.1.27/Documentation/filesystems/ |
D | gfs2-glocks.txt | 141 of round trip times in network code. See "TCP/IP Illustrated, 208 srtt - Smoothed round trip time for non-blocking dlm requests 210 srttb - Smoothed round trip time for (potentially) blocking dlm requests
|
/linux-4.1.27/fs/btrfs/ |
D | Kconfig | 89 any of the assertions trip. This is meant for btrfs developers only.
|
/linux-4.1.27/Documentation/networking/ |
D | tcp.txt | 45 heuristics. There are also round trip time based algorithms like
|
D | ip-sysctl.txt | 1721 The initial round trip timeout value in milliseconds that will be used 1722 in calculating round trip times. This is the initial time interval 1728 The maximum value (in milliseconds) of the round trip timeout. This 1734 The minimum value (in milliseconds) of the round trip timeout. This
|
/linux-4.1.27/drivers/cpufreq/ |
D | Kconfig.arm | 83 defined trip points.
|
/linux-4.1.27/Documentation/watchdog/ |
D | watchdog-api.txt | 234 WDIOS_TEMPPANIC Kernel panic on temperature trip
|
/linux-4.1.27/Documentation/input/ |
D | xpad.txt | 120 Thanks to the trip splitter found on the cable you don't even need to cut the
|
/linux-4.1.27/net/ipv4/ |
D | Kconfig | 590 high speed long delay links. It uses round-trip-time to
|