Home
last modified time | relevance | path

Searched full:trips (Results 1 – 25 of 377) sorted by relevance

12345678910>>...16

/openbmc/linux/drivers/acpi/
H A Dthermal.c127 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 …]
/openbmc/linux/drivers/thermal/
H A Dthermal_of.c25 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()
31 pr_err("Failed to find 'trips' node\n"); 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; in thermal_of_trips_init() local
131 trips = of_get_child_by_name(np, "trips"); in thermal_of_trips_init()
132 if (!trips) in thermal_of_trips_init()
135 count = of_get_child_count(trips); in thermal_of_trips_init()
[all …]
H A Dthermal_trip.c8 * Thermal trips handling
21 ret = cb(&tz->trips[i], data); in for_each_thermal_trip()
110 dev_err(&tz->device, "Failed to set trips: %d\n", ret); in __thermal_zone_set_trips()
116 if (!tz || !tz->trips || trip_id < 0 || trip_id >= tz->num_trips || !trip) in __thermal_zone_get_trip()
119 *trip = tz->trips[trip_id]; in __thermal_zone_get_trip()
143 if (!tz->ops->set_trip_temp && !tz->ops->set_trip_hyst && !tz->trips) in thermal_zone_set_trip()
165 if (tz->trips && (t.temperature != trip->temperature || t.hysteresis != trip->hysteresis)) in thermal_zone_set_trip()
166 tz->trips[trip_id] = *trip; in thermal_zone_set_trip()
182 if (&tz->trips[i] == trip) in thermal_zone_trip_id()
H A Dimx_thermal.c117 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 …]
/openbmc/linux/arch/arm64/boot/dts/ti/
H A Dk3-j721s2-thermal.dtsi10 trips {
24 trips {
38 trips {
52 trips {
66 trips {
80 trips {
94 trips {
H A Dk3-j784s4-thermal.dtsi10 trips {
24 trips {
38 trips {
52 trips {
66 trips {
80 trips {
94 trips {
H A Dk3-j721e-thermal.dtsi11 trips {
25 trips {
39 trips {
53 trips {
67 trips {
H A Dk3-am654-industrial-thermal.dtsi10 trips {
24 trips {
38 trips {
H A Dk3-j7200-thermal.dtsi11 trips {
25 trips {
39 trips {
H A Dk3-am62a-thermal.dtsi11 trips {
25 trips {
39 trips {
H A Dk3-am62-thermal.dtsi11 trips {
25 trips {
H A Dk3-am64-thermal.dtsi11 trips {
25 trips {
/openbmc/linux/drivers/thermal/intel/
H A Dx86_pkg_temp_thermal.c56 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 …]
H A Dintel_pch_thermal.c87 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()
H A Dintel_quark_dts_thermal.c108 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()
/openbmc/linux/Documentation/devicetree/bindings/thermal/
H A Dbrcm,sr-thermal.txt37 trips {
49 trips {
61 trips {
73 trips {
85 trips {
97 trips {
H A 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>;
H A Dthermal-zones.yaml110 trips:
180 crosses one of the temperature thresholds described in the trips
221 - trips
271 trips {
316 trips {
338 trips {
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_thermal.c94 /* Make sure all trips are writable */
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()
[all …]
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Dexynos5422-odroidhc1.dts35 trips {
90 trips {
134 trips {
178 trips {
222 trips {
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dpm8550vs.dtsi17 trips {
38 trips {
59 trips {
80 trips {
H A Dipq9574.dtsi733 trips {
747 trips {
761 trips {
775 trips {
789 trips {
803 trips {
817 trips {
831 trips {
861 trips {
891 trips {
[all …]
H A Dsa8775p-pmics.dtsi16 trips {
36 trips {
56 trips {
76 trips {
H A Dsm6375.dtsi1800 trips {
1827 trips {
1854 trips {
1881 trips {
1908 trips {
1935 trips {
1962 trips {
1989 trips {
2016 trips {
2043 trips {
[all …]
/openbmc/linux/drivers/thermal/intel/int340x_thermal/
H A Dint340x_thermal_zone.c171 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()

12345678910>>...16