/Linux-v6.6/drivers/acpi/ |
D | thermal.c | 127 struct acpi_thermal_trips trips; member 202 tz->trips.critical.temperature = tmp; in __acpi_thermal_trips_update() 210 tz->trips.critical.valid = false; in __acpi_thermal_trips_update() 215 tz->trips.critical.valid = false; in __acpi_thermal_trips_update() 217 tz->trips.critical.valid = true; in __acpi_thermal_trips_update() 220 tz->trips.critical.temperature); in __acpi_thermal_trips_update() 222 if (tz->trips.critical.valid) { in __acpi_thermal_trips_update() 224 tz->trips.critical.valid = false; in __acpi_thermal_trips_update() 231 if (crt_k > tz->trips.critical.temperature) in __acpi_thermal_trips_update() 234 tz->trips.critical.temperature = crt_k; in __acpi_thermal_trips_update() [all …]
|
/Linux-v6.6/drivers/thermal/ |
D | thermal_of.c | 25 struct device_node *trips; in of_find_trip_id() local 29 trips = of_get_child_by_name(np, "trips"); in of_find_trip_id() 30 if (!trips) { in of_find_trip_id() 38 for_each_child_of_node(trips, t) { in of_find_trip_id() 49 of_node_put(trips); in of_find_trip_id() 126 struct device_node *trips, *trip; in thermal_of_trips_init() local 129 trips = of_get_child_by_name(np, "trips"); in thermal_of_trips_init() 130 if (!trips) { in thermal_of_trips_init() 135 count = of_get_child_count(trips); in thermal_of_trips_init() 151 for_each_child_of_node(trips, trip) { in thermal_of_trips_init() [all …]
|
D | thermal_trip.c | 20 if (!tz->trips) in for_each_thermal_trip() 24 ret = cb(&tz->trips[i], data); in for_each_thermal_trip() 104 if (!tz || !tz->trips || trip_id < 0 || trip_id >= tz->num_trips || !trip) in __thermal_zone_get_trip() 107 *trip = tz->trips[trip_id]; in __thermal_zone_get_trip() 131 if (!tz->ops->set_trip_temp && !tz->ops->set_trip_hyst && !tz->trips) in thermal_zone_set_trip() 153 if (tz->trips && (t.temperature != trip->temperature || t.hysteresis != trip->hysteresis)) in thermal_zone_set_trip() 154 tz->trips[trip_id] = *trip; in thermal_zone_set_trip()
|
D | imx_thermal.c | 117 static struct thermal_trip trips[] = { variable 282 if (data->alarm_temp == trips[IMX_TRIP_PASSIVE].temperature && in imx_get_temp() 283 *temp >= trips[IMX_TRIP_PASSIVE].temperature) in imx_get_temp() 284 imx_set_alarm_temp(data, trips[IMX_TRIP_CRITICAL].temperature); in imx_get_temp() 285 if (data->alarm_temp == trips[IMX_TRIP_CRITICAL].temperature && in imx_get_temp() 286 *temp < trips[IMX_TRIP_PASSIVE].temperature) { in imx_get_temp() 287 imx_set_alarm_temp(data, trips[IMX_TRIP_PASSIVE].temperature); in imx_get_temp() 353 if (temp < 0 || temp > trips[IMX_TRIP_CRITICAL].temperature) in imx_set_trip_temp() 464 trips[IMX_TRIP_PASSIVE].temperature = data->temp_max - (1000 * 10); in imx_init_temp_grade() 465 trips[IMX_TRIP_CRITICAL].temperature = data->temp_max - (1000 * 5); in imx_init_temp_grade() [all …]
|
/Linux-v6.6/drivers/thermal/intel/ |
D | x86_pkg_temp_thermal.c | 56 struct thermal_trip *trips; member 273 struct thermal_trip *trips; in pkg_temp_thermal_trips_init() local 278 trips = kzalloc(sizeof(*trips) * num_trips, GFP_KERNEL); in pkg_temp_thermal_trips_init() 279 if (!trips) in pkg_temp_thermal_trips_init() 295 kfree(trips); in pkg_temp_thermal_trips_init() 301 trips[i].temperature = thres_reg_value ? in pkg_temp_thermal_trips_init() 304 trips[i].type = THERMAL_TRIP_PASSIVE; in pkg_temp_thermal_trips_init() 307 __func__, cpu, i, trips[i].temperature); in pkg_temp_thermal_trips_init() 310 return trips; in pkg_temp_thermal_trips_init() 339 zonedev->trips = pkg_temp_thermal_trips_init(cpu, tj_max, thres_count); in pkg_temp_thermal_device_add() [all …]
|
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() 223 ptd->trips[nr_trips].temperature = GET_WPT_TEMP(trip_temp); in intel_pch_thermal_probe() 224 ptd->trips[nr_trips++].type = THERMAL_TRIP_CRITICAL; in intel_pch_thermal_probe() 230 ptd->trips[nr_trips].temperature = GET_WPT_TEMP(trip_temp); in intel_pch_thermal_probe() 231 ptd->trips[nr_trips++].type = THERMAL_TRIP_HOT; in intel_pch_thermal_probe() 237 ptd->trips, nr_trips, in intel_pch_thermal_probe()
|
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-v6.6/arch/arm64/boot/dts/ti/ |
D | k3-j784s4-thermal.dtsi | 10 trips { 24 trips { 38 trips { 52 trips { 66 trips { 80 trips { 94 trips {
|
D | k3-j721s2-thermal.dtsi | 10 trips { 24 trips { 38 trips { 52 trips { 66 trips { 80 trips { 94 trips {
|
D | k3-j721e-thermal.dtsi | 11 trips { 25 trips { 39 trips { 53 trips { 67 trips {
|
D | k3-am654-industrial-thermal.dtsi | 10 trips { 24 trips { 38 trips {
|
D | k3-j7200-thermal.dtsi | 11 trips { 25 trips { 39 trips {
|
D | k3-am62a-thermal.dtsi | 11 trips { 25 trips { 39 trips {
|
D | k3-am62-thermal.dtsi | 11 trips { 25 trips {
|
D | k3-am64-thermal.dtsi | 11 trips { 25 trips {
|
/Linux-v6.6/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>;
|
/Linux-v6.6/arch/arm/boot/dts/samsung/ |
D | exynos5422-odroidhc1.dts | 35 trips { 90 trips { 134 trips { 178 trips { 222 trips {
|
/Linux-v6.6/arch/arm64/boot/dts/qcom/ |
D | pm8550vs.dtsi | 17 trips { 38 trips { 59 trips { 80 trips {
|
D | sa8775p-pmics.dtsi | 16 trips { 36 trips { 56 trips { 76 trips {
|
D | ipq9574.dtsi | 733 trips { 747 trips { 761 trips { 775 trips { 789 trips { 803 trips { 817 trips { 831 trips { 861 trips { 891 trips { [all …]
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_thermal.c | 102 struct thermal_trip trips[MLXSW_THERMAL_NUM_TRIPS]; member 123 struct thermal_trip trips[MLXSW_THERMAL_NUM_TRIPS]; member 420 module_tz->trips, in mlxsw_thermal_module_tz_init() 461 memcpy(module_tz->trips, default_thermal_module_trips, in mlxsw_thermal_module_init() 462 sizeof(thermal->trips)); in mlxsw_thermal_module_init() 548 gearbox_tz->trips, in mlxsw_thermal_gearbox_tz_init() 603 memcpy(gearbox_tz->trips, default_thermal_trips, in mlxsw_thermal_gearboxes_init() 604 sizeof(thermal->trips)); in mlxsw_thermal_gearboxes_init() 721 memcpy(thermal->trips, default_thermal_trips, sizeof(thermal->trips)); in mlxsw_thermal_init() 773 thermal->trips, in mlxsw_thermal_init()
|
/Linux-v6.6/drivers/thermal/intel/int340x_thermal/ |
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-v6.6/arch/arm64/boot/dts/exynos/ |
D | exynos5433-tmu.dtsi | 16 trips { 104 trips { 147 trips { 190 trips { 266 trips {
|
/Linux-v6.6/drivers/platform/x86/ |
D | acerhdf.c | 141 static struct thermal_trip trips[] = { variable 345 trips[0].temperature = fanon; in acerhdf_check_param() 346 trips[0].hysteresis = fanon - fanoff; in acerhdf_check_param() 680 thz_dev = thermal_zone_device_register_with_trips("acerhdf", trips, ARRAY_SIZE(trips), in acerhdf_register_thermal()
|