/Linux-v4.19/drivers/acpi/ |
D | thermal.c | 185 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/ |
D | of-thermal.c | 62 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 …]
|
D | fair_share.c | 40 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()
|
D | uniphier_thermal.c | 262 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()
|
D | thermal_sysfs.c | 474 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 …]
|
D | thermal_core.c | 481 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()
|
D | thermal_helpers.c | 92 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/ |
D | core_thermal.c | 71 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/ |
D | exynos5422-odroidhc1.dts | 33 trips { 82 trips { 120 trips { 158 trips {
|
D | exynos5422-odroidxu3-common.dtsi | 58 trips { 141 trips { 208 trips { 275 trips {
|
D | exynos5420-trip-points.dtsi | 10 trips {
|
D | dra7-dspeve-thermal.dtsi | 20 trips {
|
D | dra7-iva-thermal.dtsi | 20 trips {
|
D | exynos4-cpu-thermal.dtsi | 16 trips {
|
D | omap5-core-thermal.dtsi | 21 trips {
|
D | omap5-gpu-thermal.dtsi | 21 trips {
|
D | qcom-apq8084.dtsi | 105 trips { 125 trips { 145 trips { 165 trips {
|
D | tango4-smp8758.dtsi | 48 trips {
|
/Linux-v4.19/Documentation/devicetree/bindings/thermal/ |
D | db8500-thermal.txt | 9 - 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>;
|
D | thermal.txt | 142 - 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 …]
|
D | brcm,ns-thermal.txt | 26 trips {
|
D | brcm,bcm2835-thermal.txt | 21 trips {
|
/Linux-v4.19/arch/arm64/boot/dts/exynos/ |
D | exynos5433-tmu.dtsi | 16 trips { 97 trips { 140 trips { 183 trips { 254 trips {
|
D | exynos7-trip-points.dtsi | 9 trips {
|
/Linux-v4.19/Documentation/devicetree/bindings/hwmon/ |
D | pwm-fan.txt | 24 trips {
|