Home
last modified time | relevance | path

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

12345678910>>...15

/linux-6.12.1/arch/arm64/boot/dts/ti/
Dk3-j784s4-thermal.dtsi13 trips {
27 trips {
41 trips {
55 trips {
69 trips {
83 trips {
97 trips {
Dk3-j721s2-thermal.dtsi13 trips {
27 trips {
41 trips {
55 trips {
69 trips {
83 trips {
97 trips {
Dk3-j721e-thermal.dtsi14 trips {
28 trips {
42 trips {
56 trips {
70 trips {
Dk3-am654-industrial-thermal.dtsi13 trips {
27 trips {
41 trips {
Dk3-j7200-thermal.dtsi14 trips {
28 trips {
42 trips {
Dk3-am62p-j722s-common-thermal.dtsi14 trips {
28 trips {
42 trips {
Dk3-am62a-thermal.dtsi14 trips {
28 trips {
42 trips {
Dk3-am64-thermal.dtsi14 trips {
28 trips {
/linux-6.12.1/drivers/thermal/
Dthermal_of.c99 struct device_node *trips; in thermal_of_trips_init() local
104 trips = of_get_child_by_name(np, "trips"); in thermal_of_trips_init()
105 if (!trips) in thermal_of_trips_init()
108 count = of_get_child_count(trips); in thermal_of_trips_init()
121 for_each_child_of_node_scoped(trips, trip) { in thermal_of_trips_init()
127 of_node_put(trips); in thermal_of_trips_init()
134 of_node_put(trips); in thermal_of_trips_init()
383 struct thermal_trip *trips; in thermal_of_zone_register() local
398 trips = thermal_of_trips_init(np, &ntrips); in thermal_of_zone_register()
399 if (IS_ERR(trips)) { in thermal_of_zone_register()
[all …]
Dimx_thermal.c117 static struct thermal_trip trips[] = { variable
283 if (data->alarm_temp == trips[IMX_TRIP_PASSIVE].temperature && in imx_get_temp()
284 *temp >= trips[IMX_TRIP_PASSIVE].temperature) in imx_get_temp()
285 imx_set_alarm_temp(data, trips[IMX_TRIP_CRITICAL].temperature); in imx_get_temp()
286 if (data->alarm_temp == trips[IMX_TRIP_CRITICAL].temperature && in imx_get_temp()
287 *temp < trips[IMX_TRIP_PASSIVE].temperature) { in imx_get_temp()
288 imx_set_alarm_temp(data, trips[IMX_TRIP_PASSIVE].temperature); in imx_get_temp()
345 if (temp < 0 || temp > trips[IMX_TRIP_CRITICAL].temperature) in imx_set_trip_temp()
349 trips[IMX_TRIP_PASSIVE].temperature = temp; in imx_set_trip_temp()
449 trips[IMX_TRIP_PASSIVE].temperature = data->temp_max - (1000 * 10); in imx_init_temp_grade()
[all …]
Dthermal_trip.c8 * Thermal trips handling
83 dev_err(&tz->device, "Failed to set trips: %d\n", ret); in thermal_zone_set_trips()
91 * zone's trips[] table. in thermal_zone_trip_id()
93 return trip_to_trip_desc(trip) - tz->trips; in thermal_zone_trip_id()
/linux-6.12.1/Documentation/devicetree/bindings/thermal/
Dbrcm,sr-thermal.txt37 trips {
49 trips {
61 trips {
73 trips {
85 trips {
97 trips {
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>;
/linux-6.12.1/drivers/thermal/testing/
Dzone.c29 * @trips: List of trip point templates for this thermal zone template.
37 * @num_trips: Number of trip points in the @trips list.
42 struct list_head trips; member
144 list_for_each_entry_safe(tt_trip, aux, &tt_zone->trips, list_node) { in tt_zone_free_trips()
199 INIT_LIST_HEAD(&tt_zone->trips); in tt_add_tz()
365 list_add_tail(&tt_trip->list_node, &tt_zone->trips); in tt_zone_add_trip()
394 struct thermal_trip *trips __free(kfree); in tt_zone_register_tz()
404 trips = kcalloc(tt_zone->num_trips, sizeof(*trips), GFP_KERNEL); in tt_zone_register_tz()
405 if (!trips) in tt_zone_register_tz()
409 list_for_each_entry(tt_trip, &tt_zone->trips, list_node) in tt_zone_register_tz()
[all …]
/linux-6.12.1/drivers/thermal/intel/
Dintel_soc_dts_iosf.c40 /* Mask for two trips in status bits */
207 struct thermal_trip *trips) in add_dts_thermal_zone() argument
229 trips[i].flags &= ~THERMAL_TRIP_FLAG_RW_TEMP; in add_dts_thermal_zone()
233 dts->tzone = thermal_zone_device_register_with_trips(name, trips, in add_dts_thermal_zone()
310 struct thermal_trip trips[SOC_MAX_DTS_SENSORS][SOC_MAX_DTS_TRIPS] = { 0 }; in intel_soc_dts_iosf_init() local
337 set_trip(&trips[i][0], THERMAL_TRIP_PASSIVE, in intel_soc_dts_iosf_init()
346 set_trip(&trips[i][1], THERMAL_TRIP_CRITICAL, 0, temp, 1); in intel_soc_dts_iosf_init()
348 set_trip(&trips[i][1], THERMAL_TRIP_PASSIVE, in intel_soc_dts_iosf_init()
359 ret = add_dts_thermal_zone(i, &sensors->soc_dts[i], trips[i]); in intel_soc_dts_iosf_init()
Dintel_quark_dts_thermal.c334 struct thermal_trip trips[QRK_MAX_DTS_TRIPS] = { 0 }; in alloc_soc_dts() local
369 trips[QRK_DTS_ID_TP_CRITICAL].flags |= THERMAL_TRIP_FLAG_RW_TEMP; in alloc_soc_dts()
370 trips[QRK_DTS_ID_TP_HOT].flags |= THERMAL_TRIP_FLAG_RW_TEMP; in alloc_soc_dts()
373 trips[QRK_DTS_ID_TP_CRITICAL].temperature = get_trip_temp(QRK_DTS_ID_TP_CRITICAL); in alloc_soc_dts()
374 trips[QRK_DTS_ID_TP_CRITICAL].type = THERMAL_TRIP_CRITICAL; in alloc_soc_dts()
376 trips[QRK_DTS_ID_TP_HOT].temperature = get_trip_temp(QRK_DTS_ID_TP_HOT); in alloc_soc_dts()
377 trips[QRK_DTS_ID_TP_HOT].type = THERMAL_TRIP_HOT; in alloc_soc_dts()
380 trips, in alloc_soc_dts()
Dx86_pkg_temp_thermal.c273 struct thermal_trip *trips, int num_trips) in pkg_temp_thermal_trips_init() argument
296 trips[i].temperature = thres_reg_value ? in pkg_temp_thermal_trips_init()
299 trips[i].type = THERMAL_TRIP_PASSIVE; in pkg_temp_thermal_trips_init()
300 trips[i].flags |= THERMAL_TRIP_FLAG_RW_TEMP; in pkg_temp_thermal_trips_init()
301 trips[i].priv = THERMAL_INT_TO_TRIP_PRIV(i); in pkg_temp_thermal_trips_init()
304 __func__, cpu, i, trips[i].temperature); in pkg_temp_thermal_trips_init()
312 struct thermal_trip trips[MAX_NUMBER_OF_TRIPS] = { 0 }; in pkg_temp_thermal_device_add() local
337 err = pkg_temp_thermal_trips_init(cpu, tj_max, trips, thres_count); in pkg_temp_thermal_device_add()
344 trips, thres_count, in pkg_temp_thermal_device_add()
/linux-6.12.1/drivers/acpi/
Dthermal.c116 struct acpi_thermal_trips trips; member
195 return active - tz->trips.active; in active_trip_index()
217 * trips with thresholds greater than the override. in get_active_temp()
399 tz->trips.passive.tc1 = tmp; in passive_trip_params_init()
405 tz->trips.passive.tc2 = tmp; in passive_trip_params_init()
409 tz->trips.passive.delay = tmp; in passive_trip_params_init()
417 tz->trips.passive.delay = tmp * 100; in passive_trip_params_init()
428 acpi_trip = &tz->trips.passive.trip; in acpi_thermal_init_trip()
439 acpi_trip = &tz->trips.active[index].trip; in acpi_thermal_init_trip()
473 tz->trips.active[i].trip.temp_dk = THERMAL_TEMP_INVALID; in acpi_thermal_get_trip_points()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dcore_thermal.c112 struct thermal_trip trips[MLXSW_THERMAL_NUM_TRIPS]; member
133 struct thermal_trip trips[MLXSW_THERMAL_NUM_TRIPS]; member
362 module_tz->trips, in mlxsw_thermal_module_tz_init()
399 memcpy(module_tz->trips, default_thermal_module_trips, in mlxsw_thermal_module_init()
400 sizeof(thermal->trips)); in mlxsw_thermal_module_init()
404 module_tz->trips[i].priv = &module_tz->cooling_states[i]; in mlxsw_thermal_module_init()
479 gearbox_tz->trips, in mlxsw_thermal_gearbox_tz_init()
533 memcpy(gearbox_tz->trips, default_thermal_trips, in mlxsw_thermal_gearboxes_init()
534 sizeof(thermal->trips)); in mlxsw_thermal_gearboxes_init()
538 gearbox_tz->trips[j].priv = &gearbox_tz->cooling_states[j]; in mlxsw_thermal_gearboxes_init()
[all …]
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dx1e80100-pmics.dtsi18 trips {
38 trips {
58 trips {
78 trips {
98 trips {
118 trips {
138 trips {
158 trips {
178 trips {
Dpm8550vs.dtsi16 trips {
36 trips {
56 trips {
76 trips {
Dipq9574.dtsi765 trips {
777 trips {
789 trips {
801 trips {
813 trips {
825 trips {
837 trips {
849 trips {
877 trips {
905 trips {
[all …]
Dsa8775p-pmics.dtsi16 trips {
36 trips {
56 trips {
76 trips {
Dsm6375.dtsi1842 trips {
1866 trips {
1890 trips {
1914 trips {
1938 trips {
1962 trips {
1986 trips {
2010 trips {
2034 trips {
2058 trips {
[all …]
/linux-6.12.1/arch/arm/boot/dts/samsung/
Dexynos5422-odroidhc1.dts35 trips {
90 trips {
134 trips {
178 trips {
222 trips {

12345678910>>...15