Home
last modified time | relevance | path

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

12345

/Linux-v4.19/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-v4.19/drivers/thermal/
Dof-thermal.c62 struct thermal_trip *trips; member
157 return data->trips; in of_thermal_get_trip_points()
287 *type = data->trips[trip].type; in of_thermal_get_trip_type()
300 *temp = data->trips[trip].temperature; in of_thermal_get_trip_temp()
322 data->trips[trip].temperature = temp; in of_thermal_set_trip_temp()
335 *hyst = data->trips[trip].hysteresis; in of_thermal_get_trip_hyst()
349 data->trips[trip].hysteresis = hyst; in of_thermal_set_trip_hyst()
361 if (data->trips[i].type == THERMAL_TRIP_CRITICAL) { in of_thermal_get_crit_temp()
362 *temp = data->trips[i].temperature; in of_thermal_get_crit_temp()
654 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()
Duniphier_thermal.c262 const struct thermal_trip *trips; in uniphier_tm_probe() local
311 trips = of_thermal_get_trip_points(tdev->tz_dev); in uniphier_tm_probe()
320 if (trips[i].type == THERMAL_TRIP_CRITICAL && in uniphier_tm_probe()
321 trips[i].temperature < crit_temp) in uniphier_tm_probe()
322 crit_temp = trips[i].temperature; in uniphier_tm_probe()
323 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.c481 for (count = 0; count < tz->trips; count++) in thermal_zone_device_update()
684 if (trip >= tz->trips || (trip < 0 && trip != THERMAL_TRIPS_NONE)) in thermal_zone_bind_cooling_device()
865 for (i = 0; i < tz->trips; i++) { in __bind()
1050 for (i = 0; i < tz->trips; i++) in __unbind()
1175 thermal_zone_device_register(const char *type, int trips, int mask, in thermal_zone_device_register() argument
1193 if (trips > THERMAL_MAX_TRIPS || trips < 0 || mask >> trips) in thermal_zone_device_register()
1199 if (trips > 0 && (!ops->get_trip_type || !ops->get_trip_temp)) in thermal_zone_device_register()
1219 tz->trips = trips; in thermal_zone_device_register()
1237 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-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dcore_thermal.c71 struct mlxsw_thermal_trip trips[MLXSW_THERMAL_NUM_TRIPS]; member
111 const struct mlxsw_thermal_trip *trip = &thermal->trips[i]; in mlxsw_thermal_bind()
208 *p_type = thermal->trips[trip].type; in mlxsw_thermal_get_trip_type()
220 *p_temp = thermal->trips[trip].temp; in mlxsw_thermal_get_trip_temp()
233 thermal->trips[trip].temp = temp; in mlxsw_thermal_set_trip_temp()
328 memcpy(thermal->trips, default_thermal_trips, sizeof(thermal->trips)); in mlxsw_thermal_init()
/Linux-v4.19/arch/arm/boot/dts/
Dexynos5422-odroidhc1.dts33 trips {
82 trips {
120 trips {
158 trips {
Dexynos5422-odroidxu3-common.dtsi58 trips {
141 trips {
208 trips {
275 trips {
Dexynos5420-trip-points.dtsi10 trips {
Ddra7-dspeve-thermal.dtsi20 trips {
Ddra7-iva-thermal.dtsi20 trips {
Dexynos4-cpu-thermal.dtsi16 trips {
Domap5-core-thermal.dtsi21 trips {
Domap5-gpu-thermal.dtsi21 trips {
Dqcom-apq8084.dtsi105 trips {
125 trips {
145 trips {
165 trips {
Dtango4-smp8758.dtsi48 trips {
/Linux-v4.19/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.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 {
Dbrcm,bcm2835-thermal.txt21 trips {
/Linux-v4.19/arch/arm64/boot/dts/exynos/
Dexynos5433-tmu.dtsi16 trips {
97 trips {
140 trips {
183 trips {
254 trips {
Dexynos7-trip-points.dtsi9 trips {
/Linux-v4.19/Documentation/devicetree/bindings/hwmon/
Dpwm-fan.txt24 trips {

12345