Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/acpi/
Dthermal.c189 struct acpi_thermal_trips trips; member
297 tz->trips.critical.temperature = tmp; in acpi_thermal_trips_update()
305 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
311 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
313 tz->trips.critical.flags.valid = 1; in acpi_thermal_trips_update()
316 tz->trips.critical.temperature)); in acpi_thermal_trips_update()
318 if (tz->trips.critical.flags.valid == 1) { in acpi_thermal_trips_update()
320 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
326 if (crt_k > tz->trips.critical.temperature) in acpi_thermal_trips_update()
329 tz->trips.critical.temperature = crt_k; in acpi_thermal_trips_update()
[all …]
/linux-4.1.27/drivers/thermal/
Dof-thermal.c76 struct thermal_trip *trips; member
160 return data->trips; in of_thermal_get_trip_points()
303 *type = data->trips[trip].type; in of_thermal_get_trip_type()
316 *temp = data->trips[trip].temperature; in of_thermal_get_trip_temp()
330 data->trips[trip].temperature = temp; in of_thermal_set_trip_temp()
343 *hyst = data->trips[trip].hysteresis; in of_thermal_get_trip_hyst()
357 data->trips[trip].hysteresis = hyst; in of_thermal_set_trip_hyst()
369 if (data->trips[i].type == THERMAL_TRIP_CRITICAL) { in of_thermal_get_crit_temp()
370 *temp = data->trips[i].temperature; in of_thermal_get_crit_temp()
575 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)(weight * level * max_state) / (100 * tz->trips); in get_target_state()
Dthermal_core.c228 for (i = 0; i < tz->trips; i++) { in __bind()
251 for (i = 0; i < tz->trips; i++) in __unbind()
440 for (count = 0; count < tz->trips; count++) { in thermal_zone_get_temp()
511 for (count = 0; count < tz->trips; count++) in thermal_zone_device_update()
977 if (trip >= tz->trips || (trip < 0 && trip != THERMAL_TRIPS_NONE)) in thermal_zone_bind_cooling_device()
1367 int size = sizeof(struct thermal_attr) * tz->trips; in create_trip_attrs()
1389 for (indx = 0; indx < tz->trips; indx++) { in create_trip_attrs()
1448 for (indx = 0; indx < tz->trips; indx++) { in remove_trip_attrs()
1487 int trips, int mask, void *devdata, in thermal_zone_device_register() argument
1502 if (trips > THERMAL_MAX_TRIPS || trips < 0 || mask >> trips) in thermal_zone_device_register()
[all …]
/linux-4.1.27/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.txt151 - trips: A sub-node which is a container of only trip point nodes
155 Type: sub-node map nodes, used to describe the relation between trips
260 trips {
339 trips {
340 /* each zone within the SoC may have its own trips */
366 trips {
367 /* each zone within the SoC may have its own trips */
393 trips {
394 /* each zone within the SoC may have its own trips */
426 may be uncorrelated, having its own dT/dt requirements, trips
[all …]
Drockchip-thermal.txt47 trips {
/linux-4.1.27/arch/arm/boot/dts/
Drk3288-thermal.dtsi26 trips {
54 trips {
Dexynos5440-trip-points.dtsi14 trips {
Domap5-gpu-thermal.dtsi21 trips {
Domap5-core-thermal.dtsi21 trips {
Dexynos5420-trip-points.dtsi14 trips {
Domap4-cpu-thermal.dtsi21 cpu_trips: trips {
Dexynos4-cpu-thermal.dtsi20 trips {
Dexynos4210.dtsi178 trips {
Dste-snowball.dts313 num-trips = <4>;
Dam57xx-beagle-x15.dts593 board_trips: trips {
Dtegra124-jetson-tk1.dts1908 trips {
1922 trips {
1936 trips {
Dsun5i-a13.dtsi77 trips {
Dsun4i-a10.dtsi103 trips {
Dsun7i-a20.dtsi142 trips {
/linux-4.1.27/drivers/thermal/samsung/
Dexynos_tmu.c292 const struct thermal_trip * const trips = in get_th_reg() local
297 if (!trips) { in get_th_reg()
304 if (trips[i].type == THERMAL_TRIP_CRITICAL) in get_th_reg()
307 temp = trips[i].temperature / MCELSIUS; in get_th_reg()
309 temp -= (trips[i].hysteresis / MCELSIUS); in get_th_reg()
374 const struct thermal_trip * const trips = in exynos4210_tmu_initialize() local
380 if (!trips) { in exynos4210_tmu_initialize()
396 reference = trips[0].temperature / MCELSIUS; in exynos4210_tmu_initialize()
405 temp = trips[i].temperature / MCELSIUS; in exynos4210_tmu_initialize()
418 const struct thermal_trip * const trips = in exynos4412_tmu_initialize() local
[all …]
/linux-4.1.27/include/linux/
Dthermal.h185 int trips; member
354 const char *type, int trips, int mask, void *devdata, in thermal_zone_device_register() argument
/linux-4.1.27/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.1.27/Documentation/thermal/
Dsysfs-api.txt35 int trips, int mask, void *devdata,
45 trips: the total number of trip points this thermal zone supports.
142 on all trips. These limits are used when binding a cdev to a
/linux-4.1.27/Documentation/arm/
Dvlocks.txt127 reduces the number of round-trips required to external memory.
/linux-4.1.27/Documentation/hid/
Duhid.txt70 The kernel blocks internal driver-execution during such round-trips (times out
/linux-4.1.27/Documentation/
Dbcache.txt181 One last issue that sometimes trips people up is actually an old bug, due to