/linux-5.19.10/drivers/acpi/ |
D | thermal.c | 169 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() 305 if (crt_k > tz->trips.critical.temperature) in acpi_thermal_trips_update() 308 tz->trips.critical.temperature = crt_k; in acpi_thermal_trips_update() [all …]
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_thermal.c | 82 struct mlxsw_thermal_trip trips[MLXSW_THERMAL_NUM_TRIPS]; member 103 struct mlxsw_thermal_trip trips[MLXSW_THERMAL_NUM_TRIPS]; member 142 tz->trips[MLXSW_THERMAL_TEMP_TRIP_NORM].temp = 0; in mlxsw_thermal_module_trips_reset() 143 tz->trips[MLXSW_THERMAL_TEMP_TRIP_HIGH].temp = 0; in mlxsw_thermal_module_trips_reset() 144 tz->trips[MLXSW_THERMAL_TEMP_TRIP_HOT].temp = 0; in mlxsw_thermal_module_trips_reset() 186 tz->trips[MLXSW_THERMAL_TEMP_TRIP_NORM].temp = crit_temp - in mlxsw_thermal_module_trips_update() 189 tz->trips[MLXSW_THERMAL_TEMP_TRIP_NORM].temp = crit_temp; in mlxsw_thermal_module_trips_update() 190 tz->trips[MLXSW_THERMAL_TEMP_TRIP_HIGH].temp = crit_temp; in mlxsw_thermal_module_trips_update() 191 tz->trips[MLXSW_THERMAL_TEMP_TRIP_HOT].temp = emerg_temp; in mlxsw_thermal_module_trips_update() 198 struct mlxsw_thermal_trip *trips, in mlxsw_thermal_tz_score_update() argument [all …]
|
/linux-5.19.10/Documentation/devicetree/bindings/thermal/ |
D | brcm,sr-thermal.txt | 37 trips { 49 trips { 61 trips { 73 trips { 85 trips { 97 trips {
|
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-zones.yaml | 107 trips: 176 crosses one of the temperature thresholds described in the trips 266 trips { 311 trips { 333 trips {
|
/linux-5.19.10/drivers/thermal/ |
D | thermal_of.c | 74 struct thermal_trip *trips; member 169 return data->trips; in of_thermal_get_trip_points() 289 *type = data->trips[trip].type; in of_thermal_get_trip_type() 302 *temp = data->trips[trip].temperature; in of_thermal_get_trip_temp() 324 data->trips[trip].temperature = temp; in of_thermal_set_trip_temp() 337 *hyst = data->trips[trip].hysteresis; in of_thermal_get_trip_hyst() 351 data->trips[trip].hysteresis = hyst; in of_thermal_set_trip_hyst() 363 if (data->trips[i].type == THERMAL_TRIP_CRITICAL) { in of_thermal_get_crit_temp() 364 *temp = data->trips[i].temperature; in of_thermal_get_crit_temp() 690 struct thermal_trip *trips, in thermal_of_populate_bind_params() argument [all …]
|
D | gov_fair_share.c | 28 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()
|
D | uniphier_thermal.c | 251 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()
|
D | thermal_sysfs.c | 419 if (tz->trips <= 0) in create_trip_attrs() 422 tz->trip_type_attrs = kcalloc(tz->trips, sizeof(*tz->trip_type_attrs), in create_trip_attrs() 427 tz->trip_temp_attrs = kcalloc(tz->trips, sizeof(*tz->trip_temp_attrs), in create_trip_attrs() 435 tz->trip_hyst_attrs = kcalloc(tz->trips, in create_trip_attrs() 445 attrs = kcalloc(tz->trips * 3 + 1, sizeof(*attrs), GFP_KERNEL); in create_trip_attrs() 454 for (indx = 0; indx < tz->trips; indx++) { in create_trip_attrs() 481 attrs[indx + tz->trips] = &tz->trip_temp_attrs[indx].attr.attr; in create_trip_attrs() 499 attrs[indx + tz->trips * 2] = in create_trip_attrs() 502 attrs[tz->trips * 3] = NULL; in create_trip_attrs() 543 if (tz->trips) { in thermal_zone_create_device_groups() [all …]
|
D | thermal_core.c | 508 for (count = 0; count < tz->trips; count++) in thermal_zone_device_update() 633 if (trip >= tz->trips || trip < 0) in thermal_zone_bind_cooling_device() 814 for (i = 0; i < tz->trips; i++) { in __bind() 1060 for (i = 0; i < tz->trips; i++) in __unbind() 1187 thermal_zone_device_register(const char *type, int trips, int mask, in thermal_zone_device_register() argument 1211 if (trips > THERMAL_MAX_TRIPS || trips < 0 || mask >> trips) { in thermal_zone_device_register() 1221 if (trips > 0 && (!ops->get_trip_type || !ops->get_trip_temp)) in thermal_zone_device_register() 1251 tz->trips = trips; in thermal_zone_device_register() 1269 for (count = 0; count < trips; count++) { in thermal_zone_device_register()
|
D | thermal_helpers.c | 93 for (count = 0; count < tz->trips; count++) { in thermal_zone_get_temp() 141 for (i = 0; i < tz->trips; i++) { in thermal_zone_set_trips()
|
/linux-5.19.10/arch/arm64/boot/dts/ti/ |
D | k3-am654-industrial-thermal.dtsi | 10 trips { 24 trips { 38 trips {
|
/linux-5.19.10/arch/arm/boot/dts/ |
D | exynos5422-odroidhc1.dts | 33 trips { 88 trips { 132 trips { 176 trips { 220 trips {
|
D | exynos5422-odroidxu3-common.dtsi | 56 trips { 145 trips { 218 trips { 291 trips { 364 trips {
|
D | qcom-ipq8064.dtsi | 57 trips { 77 trips { 97 trips { 117 trips { 137 trips { 157 trips { 177 trips { 197 trips { 217 trips { 237 trips { [all …]
|
D | rk3288-veyron-mickey.dts | 42 /delete-node/ trips; 45 trips { 148 /delete-node/ trips; 151 trips {
|
D | exynos5420-trip-points.dtsi | 10 trips {
|
/linux-5.19.10/arch/arm64/boot/dts/exynos/ |
D | exynos5433-tmu.dtsi | 16 trips { 104 trips { 147 trips { 190 trips { 266 trips {
|
/linux-5.19.10/drivers/thermal/qcom/ |
D | qcom-spmi-temp-alarm.c | 302 const struct thermal_trip *trips; in qpnp_tm_get_critical_trip_temp() local 309 trips = of_thermal_get_trip_points(chip->tz_dev); in qpnp_tm_get_critical_trip_temp() 310 if (!trips) in qpnp_tm_get_critical_trip_temp() 315 trips[i].type == THERMAL_TRIP_CRITICAL) in qpnp_tm_get_critical_trip_temp() 316 return trips[i].temperature; in qpnp_tm_get_critical_trip_temp()
|
/linux-5.19.10/arch/arm64/boot/dts/marvell/ |
D | armada-ap80x.dtsi | 321 trips { 338 trips { 371 trips { 404 trips { 437 trips {
|
/linux-5.19.10/arch/arm64/boot/dts/qcom/ |
D | sm8350.dtsi | 2610 trips { 2654 trips { 2698 trips { 2742 trips { 2786 trips { 2830 trips { 2874 trips { 2918 trips { 2962 trips { 3006 trips { [all …]
|
D | msm8998.dtsi | 467 trips { 488 trips { 509 trips { 530 trips { 551 trips { 572 trips { 593 trips { 614 trips { 635 trips { 650 trips { [all …]
|
D | sm8450.dtsi | 3180 trips { 3200 trips { 3220 trips { 3240 trips { 3260 trips { 3280 trips { 3306 trips { 3332 trips { 3358 trips { 3384 trips { [all …]
|
D | sm8250-mtp.dts | 36 trips { 50 trips { 64 trips { 78 trips { 92 trips { 106 trips { 120 trips {
|
/linux-5.19.10/arch/arm64/boot/dts/mediatek/ |
D | mt8173-elm-hana-rev7.dts | 15 trips {
|