/linux-6.3-rc2/drivers/acpi/ |
A D | thermal.c | 169 struct acpi_thermal_trips trips; member 484 tz->trips.hot.flags.valid | in acpi_thermal_get_trip_points() 582 tz->trips.hot.temperature, in thermal_get_trip_temp() 659 tz->trips.passive.tc2 * (tz->temperature - tz->trips.passive.temperature); in thermal_get_trend() 707 if (tz->trips.hot.flags.valid) in acpi_thermal_cooling_device_cb() 792 int trips = 0; in acpi_thermal_register_thermal_zone() local 798 trips++; in acpi_thermal_register_thermal_zone() 800 if (tz->trips.hot.flags.valid) in acpi_thermal_register_thermal_zone() 801 trips++; in acpi_thermal_register_thermal_zone() 804 trips++; in acpi_thermal_register_thermal_zone() [all …]
|
/linux-6.3-rc2/drivers/thermal/ |
A D | thermal_of.c | 26 struct device_node *trips; in of_find_trip_id() local 31 if (!trips) { in of_find_trip_id() 48 of_node_put(trips); in of_find_trip_id() 129 if (!trips) { in thermal_of_trips_init() 156 of_node_put(trips); in thermal_of_trips_init() 164 of_node_put(trips); in thermal_of_trips_init() 444 struct thermal_trip *trips = tz->trips; in thermal_of_zone_unregister() local 450 kfree(trips); in thermal_of_zone_unregister() 501 if (IS_ERR(trips)) { in thermal_of_zone_register() 503 ret = PTR_ERR(trips); in thermal_of_zone_register() [all …]
|
A D | imx_thermal.c | 117 static struct thermal_trip trips[] = { variable 284 if (data->alarm_temp == trips[IMX_TRIP_PASSIVE].temperature && in imx_get_temp() 285 *temp >= trips[IMX_TRIP_PASSIVE].temperature) in imx_get_temp() 288 *temp < trips[IMX_TRIP_PASSIVE].temperature) { in imx_get_temp() 337 *temp = trips[IMX_TRIP_CRITICAL].temperature; in imx_get_crit_temp() 357 if (temp < 0 || temp > trips[IMX_TRIP_CRITICAL].temperature) in imx_set_trip_temp() 360 trips[IMX_TRIP_PASSIVE].temperature = temp; in imx_set_trip_temp() 728 trips, in imx_thermal_probe() 729 ARRAY_SIZE(trips), in imx_thermal_probe() 744 trips[IMX_TRIP_PASSIVE].temperature / 1000); in imx_thermal_probe() [all …]
|
A D | thermal_trip.c | 111 if (tz->trips) { in __thermal_zone_get_trip() 112 *trip = tz->trips[trip_id]; in __thermal_zone_get_trip() 151 if (!tz->ops->set_trip_temp && !tz->ops->set_trip_hyst && !tz->trips) in thermal_zone_set_trip() 173 if (tz->trips && (t.temperature != trip->temperature || t.hysteresis != trip->hysteresis)) in thermal_zone_set_trip() 174 tz->trips[trip_id] = *trip; in thermal_zone_set_trip()
|
A D | da9062-thermal.c | 139 static struct thermal_trip trips[] = { variable 196 trips, ARRAY_SIZE(trips), 0, thermal, in da9062_thermal_probe()
|
/linux-6.3-rc2/drivers/thermal/intel/ |
A D | x86_pkg_temp_thermal.c | 56 struct thermal_trip *trips; member 271 struct thermal_trip *trips; in pkg_temp_thermal_trips_init() local 276 trips = kzalloc(sizeof(*trips) * num_trips, GFP_KERNEL); in pkg_temp_thermal_trips_init() 277 if (!trips) in pkg_temp_thermal_trips_init() 293 kfree(trips); in pkg_temp_thermal_trips_init() 308 return trips; in pkg_temp_thermal_trips_init() 338 if (IS_ERR(zonedev->trips)) { in pkg_temp_thermal_device_add() 339 err = PTR_ERR(zonedev->trips); in pkg_temp_thermal_device_add() 346 zonedev->trips, thres_count, in pkg_temp_thermal_device_add() 371 kfree(zonedev->trips); in pkg_temp_thermal_device_add() [all …]
|
A D | intel_pch_thermal.c | 87 struct thermal_trip trips[PCH_MAX_TRIPS]; member 109 ptd->trips[trip].type = THERMAL_TRIP_PASSIVE; in pch_wpt_add_acpi_psv_trip() 110 ptd->trips[trip].temperature = temp; in pch_wpt_add_acpi_psv_trip() 222 ptd->trips[nr_trips].temperature = GET_WPT_TEMP(trip_temp); in intel_pch_thermal_probe() 223 ptd->trips[nr_trips++].type = THERMAL_TRIP_CRITICAL; in intel_pch_thermal_probe() 229 ptd->trips[nr_trips].temperature = GET_WPT_TEMP(trip_temp); in intel_pch_thermal_probe() 230 ptd->trips[nr_trips++].type = THERMAL_TRIP_HOT; in intel_pch_thermal_probe() 236 ptd->trips, nr_trips, in intel_pch_thermal_probe()
|
A D | intel_quark_dts_thermal.c | 108 struct thermal_trip trips[QRK_MAX_DTS_TRIPS]; member 365 aux_entry->trips[QRK_DTS_ID_TP_CRITICAL].temperature = get_trip_temp(QRK_DTS_ID_TP_CRITICAL); in alloc_soc_dts() 366 aux_entry->trips[QRK_DTS_ID_TP_CRITICAL].type = THERMAL_TRIP_CRITICAL; in alloc_soc_dts() 368 aux_entry->trips[QRK_DTS_ID_TP_HOT].temperature = get_trip_temp(QRK_DTS_ID_TP_HOT); in alloc_soc_dts() 369 aux_entry->trips[QRK_DTS_ID_TP_HOT].type = THERMAL_TRIP_HOT; in alloc_soc_dts() 372 aux_entry->trips, in alloc_soc_dts()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/thermal/ |
A D | brcm,sr-thermal.txt | 37 trips { 49 trips { 61 trips { 73 trips { 85 trips { 97 trips {
|
A 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>;
|
A D | thermal-zones.yaml | 107 trips: 176 crosses one of the temperature thresholds described in the trips 217 - trips 267 trips { 312 trips { 334 trips {
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | core_thermal.c | 87 struct thermal_trip trips[MLXSW_THERMAL_NUM_TRIPS]; member 109 struct thermal_trip trips[MLXSW_THERMAL_NUM_TRIPS]; member 149 tz->trips[MLXSW_THERMAL_TEMP_TRIP_HOT].temperature = 0; in mlxsw_thermal_module_trips_reset() 500 module_tz->trips, in mlxsw_thermal_module_tz_init() 542 memcpy(module_tz->trips, default_thermal_trips, in mlxsw_thermal_module_init() 543 sizeof(thermal->trips)); in mlxsw_thermal_module_init() 642 gearbox_tz->trips, in mlxsw_thermal_gearbox_tz_init() 697 memcpy(gearbox_tz->trips, default_thermal_trips, in mlxsw_thermal_gearboxes_init() 698 sizeof(thermal->trips)); in mlxsw_thermal_gearboxes_init() 815 memcpy(thermal->trips, default_thermal_trips, sizeof(thermal->trips)); in mlxsw_thermal_init() [all …]
|
/linux-6.3-rc2/arch/arm64/boot/dts/ti/ |
A D | k3-am654-industrial-thermal.dtsi | 10 trips { 24 trips { 38 trips {
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | exynos5422-odroidhc1.dts | 35 trips { 90 trips { 134 trips { 178 trips { 222 trips {
|
A D | exynos5422-odroidxu3-common.dtsi | 56 trips { 145 trips { 218 trips { 291 trips { 364 trips {
|
A D | rk3288-veyron-mickey.dts | 42 /delete-node/ trips; 45 trips { 148 /delete-node/ trips; 151 trips {
|
/linux-6.3-rc2/arch/arm64/boot/dts/qcom/ |
A D | pm8550vs.dtsi | 17 trips { 38 trips { 59 trips { 80 trips {
|
A D | pm8010.dtsi | 17 trips { 38 trips {
|
A D | pmr735d.dtsi | 17 trips { 38 trips {
|
A D | sm8550.dtsi | 3701 trips { 3721 trips { 3741 trips { 3761 trips { 3781 trips { 3801 trips { 3827 trips { 3853 trips { 3879 trips { 3905 trips { [all …]
|
/linux-6.3-rc2/drivers/thermal/intel/int340x_thermal/ |
A D | int340x_thermal_zone.c | 171 int34x_zone->trips = zone_trips; in int340x_thermal_zone_add() 195 kfree(int34x_zone->trips); in int340x_thermal_zone_add() 209 kfree(int34x_zone->trips); in int340x_thermal_zone_remove() 218 struct thermal_trip *zone_trips = int34x_zone->trips; in int340x_thermal_update_trips()
|
/linux-6.3-rc2/arch/arm64/boot/dts/exynos/ |
A D | exynos5433-tmu.dtsi | 16 trips { 104 trips { 147 trips { 190 trips { 266 trips {
|
/linux-6.3-rc2/drivers/platform/x86/ |
A D | acerhdf.c | 142 static struct thermal_trip trips[] = { variable 346 trips[0].temperature = fanon; in acerhdf_check_param() 347 trips[0].hysteresis = fanon - fanoff; in acerhdf_check_param() 686 thz_dev = thermal_zone_device_register_with_trips("acerhdf", trips, ARRAY_SIZE(trips), in acerhdf_register_thermal()
|
/linux-6.3-rc2/arch/arm64/boot/dts/marvell/ |
A D | armada-ap80x.dtsi | 326 trips { 343 trips { 376 trips { 409 trips { 442 trips {
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | tt.c | 578 if (mvm->tz_device.trips[i].temperature != INT_MIN) { in iwl_mvm_send_temp_report_ths_cmd() 580 cpu_to_le16((s16)(mvm->tz_device.trips[i].temperature / 1000)); in iwl_mvm_send_temp_report_ths_cmd() 597 mvm->tz_device.trips[j].temperature) in iwl_mvm_send_temp_report_ths_cmd() 697 mvm->tz_device.trips, in iwl_mvm_thermal_zone_register() 721 mvm->tz_device.trips[i].temperature = INT_MIN; in iwl_mvm_thermal_zone_register() 722 mvm->tz_device.trips[i].type = THERMAL_TRIP_PASSIVE; in iwl_mvm_thermal_zone_register()
|