Home
last modified time | relevance | path

Searched refs:trips (Results 1 – 35 of 35) sorted by relevance

/linux-4.4.14/drivers/acpi/
Dthermal.c185 struct acpi_thermal_trips trips; member
293 tz->trips.critical.temperature = tmp; in acpi_thermal_trips_update()
301 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
307 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
309 tz->trips.critical.flags.valid = 1; in acpi_thermal_trips_update()
312 tz->trips.critical.temperature)); in acpi_thermal_trips_update()
314 if (tz->trips.critical.flags.valid == 1) { in acpi_thermal_trips_update()
316 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
322 if (crt_k > tz->trips.critical.temperature) in acpi_thermal_trips_update()
325 tz->trips.critical.temperature = crt_k; in acpi_thermal_trips_update()
[all …]
/linux-4.4.14/drivers/thermal/
Dof-thermal.c80 struct thermal_trip *trips; member
164 return data->trips; in of_thermal_get_trip_points()
308 *type = data->trips[trip].type; in of_thermal_get_trip_type()
321 *temp = data->trips[trip].temperature; in of_thermal_get_trip_temp()
335 data->trips[trip].temperature = temp; in of_thermal_set_trip_temp()
348 *hyst = data->trips[trip].hysteresis; in of_thermal_get_trip_hyst()
362 data->trips[trip].hysteresis = hyst; in of_thermal_set_trip_hyst()
374 if (data->trips[i].type == THERMAL_TRIP_CRITICAL) { in of_thermal_get_crit_temp()
375 *temp = data->trips[i].temperature; in of_thermal_get_crit_temp()
580 struct thermal_trip *trips, in thermal_of_populate_bind_params() argument
[all …]
Dfair_share.c40 if (tz->trips == 0 || !tz->ops->get_trip_temp) in get_trip_level()
43 for (count = 0; count < tz->trips; count++) { in get_trip_level()
68 return (long)(percentage * level * max_state) / (100 * tz->trips); in get_target_state()
Dthermal_core.c288 for (i = 0; i < tz->trips; i++) { in __bind()
312 for (i = 0; i < tz->trips; i++) in __unbind()
499 for (count = 0; count < tz->trips; count++) { in thermal_zone_get_temp()
572 for (count = 0; count < tz->trips; count++) in thermal_zone_device_update()
1271 if (trip >= tz->trips || (trip < 0 && trip != THERMAL_TRIPS_NONE)) in thermal_zone_bind_cooling_device()
1675 int size = sizeof(struct thermal_attr) * tz->trips; in create_trip_attrs()
1697 for (indx = 0; indx < tz->trips; indx++) { in create_trip_attrs()
1757 for (indx = 0; indx < tz->trips; indx++) { in remove_trip_attrs()
1796 int trips, int mask, void *devdata, in thermal_zone_device_register() argument
1812 if (trips > THERMAL_MAX_TRIPS || trips < 0 || mask >> trips) in thermal_zone_device_register()
[all …]
Dpower_allocator.c478 for (i = 0; i < tz->trips; i++) { in get_governor_trips()
571 if (tz->trips > 0) { in power_allocator_bind()
DKconfig50 writable trips need to be specified when setting up the
/linux-4.4.14/Documentation/devicetree/bindings/thermal/
Ddb8500-thermal.txt9 - num-trips : number of total trip points, this is required, set it 0 if none,
19 Usually the num-trips and tripN-*** are separated in board related dts files.
28 num-trips = <3>;
Dthermal.txt152 - trips: A sub-node which is a container of only trip point nodes
156 Type: sub-node map nodes, used to describe the relation between trips
268 trips {
347 trips {
348 /* each zone within the SoC may have its own trips */
374 trips {
375 /* each zone within the SoC may have its own trips */
401 trips {
402 /* each zone within the SoC may have its own trips */
434 may be uncorrelated, having its own dT/dt requirements, trips
[all …]
Dqcom-spmi-temp-alarm.txt38 trips {
Drockchip-thermal.txt56 trips {
/linux-4.4.14/drivers/thermal/samsung/
Dexynos_tmu.c317 const struct thermal_trip * const trips = in get_th_reg() local
322 if (!trips) { in get_th_reg()
329 if (trips[i].type == THERMAL_TRIP_CRITICAL) in get_th_reg()
332 temp = trips[i].temperature / MCELSIUS; in get_th_reg()
334 temp -= (trips[i].hysteresis / MCELSIUS); in get_th_reg()
399 const struct thermal_trip * const trips = in exynos4210_tmu_initialize() local
405 if (!trips) { in exynos4210_tmu_initialize()
421 reference = trips[0].temperature / MCELSIUS; in exynos4210_tmu_initialize()
430 temp = trips[i].temperature / MCELSIUS; in exynos4210_tmu_initialize()
443 const struct thermal_trip * const trips = in exynos4412_tmu_initialize() local
[all …]
/linux-4.4.14/arch/arm/boot/dts/
Dexynos5440-trip-points.dtsi14 trips {
Domap5-gpu-thermal.dtsi21 trips {
Domap5-core-thermal.dtsi21 trips {
Dexynos5420-trip-points.dtsi14 trips {
Drk3288-thermal.dtsi60 trips {
88 trips {
Domap4-cpu-thermal.dtsi21 cpu_trips: trips {
Dexynos4-cpu-thermal.dtsi20 trips {
Dexynos5422-cpu-thermal.dtsi21 trips {
Dsun5i-a13.dtsi83 trips {
Dexynos4210.dtsi168 trips {
Dste-snowball.dts329 num-trips = <4>;
Dtegra124-jetson-tk1.dts1933 trips {
1947 trips {
1961 trips {
Dam57xx-beagle-x15.dts746 board_trips: trips {
Dsun4i-a10.dtsi137 trips {
Dsun6i-a31.dtsi147 trips {
Dsun7i-a20.dtsi139 trips {
/linux-4.4.14/Documentation/devicetree/bindings/hwmon/
Dpwm-fan.txt24 trips {
/linux-4.4.14/include/linux/
Dthermal.h194 int trips; member
437 const char *type, int trips, int mask, void *devdata, in thermal_zone_device_register() argument
/linux-4.4.14/arch/alpha/lib/
Dev6-memcpy.S107 subq $18, 192, $2 # E : At least two more trips to go?
118 # fallback wh64 address if < 2 more trips
Dev6-clear_user.S164 subq $0, 168, $5 # E : U L L U : two trips through the loop left?
/linux-4.4.14/Documentation/thermal/
Dsysfs-api.txt35 int trips, int mask, void *devdata,
45 trips: the total number of trip points this thermal zone supports.
150 on all trips. These limits are used when binding a cdev to a
/linux-4.4.14/Documentation/arm/
Dvlocks.txt127 reduces the number of round-trips required to external memory.
/linux-4.4.14/Documentation/hid/
Duhid.txt70 The kernel blocks internal driver-execution during such round-trips (times out
/linux-4.4.14/Documentation/
Dbcache.txt181 One last issue that sometimes trips people up is actually an old bug, due to