Home
last modified time | relevance | path

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

123456

/Linux-v5.4/drivers/acpi/
Dthermal.c171 struct acpi_thermal_trips trips; member
275 tz->trips.critical.temperature = tmp; in acpi_thermal_trips_update()
283 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
289 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
291 tz->trips.critical.flags.valid = 1; in acpi_thermal_trips_update()
294 tz->trips.critical.temperature)); in acpi_thermal_trips_update()
296 if (tz->trips.critical.flags.valid == 1) { in acpi_thermal_trips_update()
298 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
304 if (crt_k > tz->trips.critical.temperature) in acpi_thermal_trips_update()
307 tz->trips.critical.temperature = crt_k; in acpi_thermal_trips_update()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dcore_thermal.c100 struct mlxsw_thermal_trip trips[MLXSW_THERMAL_NUM_TRIPS]; member
112 struct mlxsw_thermal_trip trips[MLXSW_THERMAL_NUM_TRIPS]; member
155 tz->trips[MLXSW_THERMAL_TEMP_TRIP_NORM].temp = 0; in mlxsw_thermal_module_trips_reset()
156 tz->trips[MLXSW_THERMAL_TEMP_TRIP_HIGH].temp = 0; in mlxsw_thermal_module_trips_reset()
157 tz->trips[MLXSW_THERMAL_TEMP_TRIP_HOT].temp = 0; in mlxsw_thermal_module_trips_reset()
158 tz->trips[MLXSW_THERMAL_TEMP_TRIP_CRIT].temp = 0; in mlxsw_thermal_module_trips_reset()
188 tz->trips[MLXSW_THERMAL_TEMP_TRIP_NORM].temp = crit_temp - in mlxsw_thermal_module_trips_update()
191 tz->trips[MLXSW_THERMAL_TEMP_TRIP_NORM].temp = crit_temp; in mlxsw_thermal_module_trips_update()
192 tz->trips[MLXSW_THERMAL_TEMP_TRIP_HIGH].temp = crit_temp; in mlxsw_thermal_module_trips_update()
193 tz->trips[MLXSW_THERMAL_TEMP_TRIP_HOT].temp = emerg_temp; in mlxsw_thermal_module_trips_update()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/thermal/
Dbrcm,sr-thermal.txt37 trips {
49 trips {
61 trips {
73 trips {
85 trips {
97 trips {
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.txt142 - trips: A sub-node which is a container of only trip point nodes
146 Type: sub-node map nodes, used to describe the relation between trips
254 trips {
328 trips {
329 /* each zone within the SoC may have its own trips */
355 trips {
356 /* each zone within the SoC may have its own trips */
382 trips {
383 /* each zone within the SoC may have its own trips */
415 may be uncorrelated, having its own dT/dt requirements, trips
[all …]
Dbrcm,ns-thermal.txt26 trips {
/Linux-v5.4/drivers/thermal/
Dof-thermal.c76 struct thermal_trip *trips; member
171 return data->trips; in of_thermal_get_trip_points()
313 *type = data->trips[trip].type; in of_thermal_get_trip_type()
326 *temp = data->trips[trip].temperature; in of_thermal_get_trip_temp()
348 data->trips[trip].temperature = temp; in of_thermal_set_trip_temp()
361 *hyst = data->trips[trip].hysteresis; in of_thermal_get_trip_hyst()
375 data->trips[trip].hysteresis = hyst; in of_thermal_set_trip_hyst()
387 if (data->trips[i].type == THERMAL_TRIP_CRITICAL) { in of_thermal_get_crit_temp()
388 *temp = data->trips[i].temperature; in of_thermal_get_crit_temp()
680 struct thermal_trip *trips, in thermal_of_populate_bind_params() argument
[all …]
Dfair_share.c28 if (tz->trips == 0 || !tz->ops->get_trip_temp) in get_trip_level()
31 for (count = 0; count < tz->trips; count++) { in get_trip_level()
56 return (long)(percentage * level * max_state) / (100 * tz->trips); in get_target_state()
Duniphier_thermal.c251 const struct thermal_trip *trips; in uniphier_tm_probe() local
300 trips = of_thermal_get_trip_points(tdev->tz_dev); in uniphier_tm_probe()
309 if (trips[i].type == THERMAL_TRIP_CRITICAL && in uniphier_tm_probe()
310 trips[i].temperature < crit_temp) in uniphier_tm_probe()
311 crit_temp = trips[i].temperature; in uniphier_tm_probe()
312 uniphier_tm_set_alert(tdev, i, trips[i].temperature); in uniphier_tm_probe()
Dthermal_sysfs.c474 for (count = 0; count < tz->trips && !passive; count++) { in thermal_zone_passive_is_visible()
515 if (tz->trips <= 0) in create_trip_attrs()
518 tz->trip_type_attrs = kcalloc(tz->trips, sizeof(*tz->trip_type_attrs), in create_trip_attrs()
523 tz->trip_temp_attrs = kcalloc(tz->trips, sizeof(*tz->trip_temp_attrs), in create_trip_attrs()
531 tz->trip_hyst_attrs = kcalloc(tz->trips, in create_trip_attrs()
541 attrs = kcalloc(tz->trips * 3 + 1, sizeof(*attrs), GFP_KERNEL); in create_trip_attrs()
550 for (indx = 0; indx < tz->trips; indx++) { in create_trip_attrs()
577 attrs[indx + tz->trips] = &tz->trip_temp_attrs[indx].attr.attr; in create_trip_attrs()
595 attrs[indx + tz->trips * 2] = in create_trip_attrs()
598 attrs[tz->trips * 3] = NULL; in create_trip_attrs()
[all …]
Dthermal_core.c491 for (count = 0; count < tz->trips; count++) in thermal_zone_device_update()
694 if (trip >= tz->trips || (trip < 0 && trip != THERMAL_TRIPS_NONE)) in thermal_zone_bind_cooling_device()
875 for (i = 0; i < tz->trips; i++) { in __bind()
1109 for (i = 0; i < tz->trips; i++) in __unbind()
1235 thermal_zone_device_register(const char *type, int trips, int mask, in thermal_zone_device_register() argument
1259 if (trips > THERMAL_MAX_TRIPS || trips < 0 || mask >> trips) { in thermal_zone_device_register()
1269 if (trips > 0 && (!ops->get_trip_type || !ops->get_trip_temp)) in thermal_zone_device_register()
1291 tz->trips = trips; in thermal_zone_device_register()
1309 for (count = 0; count < trips; count++) { in thermal_zone_device_register()
Dthermal_helpers.c92 for (count = 0; count < tz->trips; count++) { in thermal_zone_get_temp()
128 for (i = 0; i < tz->trips; i++) { in thermal_zone_set_trips()
/Linux-v5.4/arch/arm/boot/dts/
Dexynos5422-odroidhc1.dts33 trips {
88 trips {
132 trips {
176 trips {
Drk3288-veyron-mickey.dts34 /delete-node/ trips;
37 trips {
140 /delete-node/ trips;
143 trips {
Dexynos5422-odroidxu3-common.dtsi56 trips {
145 trips {
218 trips {
291 trips {
Dexynos5420-trip-points.dtsi10 trips {
Ddra7-dspeve-thermal.dtsi20 trips {
Ddra7-iva-thermal.dtsi20 trips {
/Linux-v5.4/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c279 const struct thermal_trip *trips; in qpnp_tm_get_critical_trip_temp() local
286 trips = of_thermal_get_trip_points(chip->tz_dev); in qpnp_tm_get_critical_trip_temp()
287 if (!trips) in qpnp_tm_get_critical_trip_temp()
292 trips[i].type == THERMAL_TRIP_CRITICAL) in qpnp_tm_get_critical_trip_temp()
293 return trips[i].temperature; in qpnp_tm_get_critical_trip_temp()
/Linux-v5.4/arch/arm64/boot/dts/exynos/
Dexynos5433-tmu.dtsi16 trips {
104 trips {
147 trips {
190 trips {
266 trips {
/Linux-v5.4/arch/arm64/boot/dts/qcom/
Dmsm8998.dtsi448 trips {
469 trips {
490 trips {
511 trips {
532 trips {
553 trips {
574 trips {
595 trips {
616 trips {
631 trips {
[all …]
Dqcs404.dtsi1089 trips {
1104 trips {
1119 trips {
1134 trips {
1149 trips {
1183 trips {
1217 trips {
1251 trips {
1285 trips {
1319 trips {
/Linux-v5.4/arch/arm64/boot/dts/nvidia/
Dtegra194-p2972-0000.dts148 trips {
202 trips {
216 trips {
/Linux-v5.4/arch/arm64/boot/dts/marvell/
Darmada-ap806.dtsi315 trips {
332 trips {
365 trips {
398 trips {
431 trips {
/Linux-v5.4/arch/arm64/boot/dts/rockchip/
Drk3399-nanopc-t4.dts70 trips {
98 trips {

123456