| /linux/arch/arm64/boot/dts/ti/ |
| H A D | k3-j721s2-thermal.dtsi | 13 trips { 27 trips { 41 trips { 55 trips { 69 trips { 83 trips { 97 trips {
|
| H A D | k3-j721e-thermal.dtsi | 14 trips { 28 trips { 42 trips { 56 trips { 70 trips {
|
| H A D | k3-am654-industrial-thermal.dtsi | 13 trips { 27 trips { 41 trips {
|
| H A D | k3-j7200-thermal.dtsi | 14 trips { 28 trips { 42 trips {
|
| H A D | k3-am62a-thermal.dtsi | 14 trips { 45 trips { 76 trips {
|
| H A D | k3-am62p-j722s-common-thermal.dtsi | 14 trips { 45 trips { 76 trips {
|
| H A D | k3-am64-thermal.dtsi | 14 trips { 28 trips {
|
| H A D | k3-am62-thermal.dtsi | 14 trips { 45 trips {
|
| /linux/drivers/thermal/testing/ |
| H A D | zone.c | 28 * @trips: List of trip point templates for this thermal zone template. 36 * @num_trips: Number of trip points in the @trips list. 41 struct list_head trips; member 143 list_for_each_entry_safe(tt_trip, aux, &tt_zone->trips, list_node) { in tt_zone_free_trips() 196 INIT_LIST_HEAD(&tt_zone->trips); in tt_add_tz() 354 list_add_tail(&tt_trip->list_node, &tt_zone->trips); in tt_zone_add_trip() 392 struct thermal_trip *trips __free(kfree) = kzalloc_objs(*trips, in tt_zone_register_tz() 394 if (!trips) in tt_zone_register_tz() 398 list_for_each_entry(tt_trip, &tt_zone->trips, list_node) in tt_zone_register_tz() 399 trips[i++] = tt_trip->trip; in tt_zone_register_tz() [all …]
|
| /linux/drivers/thermal/intel/ |
| H A D | intel_soc_dts_iosf.c | 40 /* 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()
|
| H A D | intel_quark_dts_thermal.c | 334 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()
|
| /linux/drivers/thermal/ |
| H A D | imx_thermal.c | 117 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 …]
|
| H A D | thermal_trip.c | 8 * Thermal trips handling 79 dev_err(&tz->device, "Failed to set trips: %d\n", ret); in thermal_zone_set_trips() 87 * zone's trips[] table. in thermal_zone_trip_id() 89 return trip_to_trip_desc(trip) - tz->trips; in thermal_zone_trip_id()
|
| H A D | thermal_of.c | 102 struct device_node *trips __free(device_node) = of_get_child_by_name(np, "trips"); in thermal_of_trips_init() 103 if (!trips) in thermal_of_trips_init() 106 count = of_get_child_count(trips); in thermal_of_trips_init() 115 for_each_child_of_node_scoped(trips, trip) { in thermal_of_trips_init() 390 struct thermal_trip *trips; in thermal_of_zone_register() local 405 trips = thermal_of_trips_init(np, &ntrips); in thermal_of_zone_register() 406 if (IS_ERR(trips)) { in thermal_of_zone_register() 408 ret = PTR_ERR(trips); in thermal_of_zone_register() 412 if (!trips) in thermal_of_zone_register() 433 tz = thermal_zone_device_register_with_trips(np->name, trips, ntrips, in thermal_of_zone_register() [all …]
|
| H A D | thermal_core.c | 248 * - Non-critical trips will invoke the governor responsible for that zone; 249 * - Hot trips will produce a notification to userspace; 510 /* Check the trips that were below or at the zone temperature. */ in thermal_zone_handle_trips() 522 /* Check the trips that were previously above the zone temperature. */ in thermal_zone_handle_trips() 530 /* Move all of the trips from the temporary list to trips_high. */ in thermal_zone_handle_trips() 1316 * At this point, all valid trips need to be moved to trips_high so that in thermal_zone_device_init() 1386 * @trips: a pointer to an array of thermal trips 1409 const struct thermal_trip *trips, in thermal_zone_device_register_with_trips() argument 1416 const struct thermal_trip *trip = trips; in thermal_zone_device_register_with_trips() 1438 pr_err("Incorrect number of thermal trips\n"); in thermal_zone_device_register_with_trips() [all …]
|
| H A D | da9062-thermal.c | 144 static struct thermal_trip trips[] = { variable 200 trips, ARRAY_SIZE(trips), thermal, in da9062_thermal_probe()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | core_thermal.c | 112 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() 478 gearbox_tz->trips, in mlxsw_thermal_gearbox_tz_init() 531 memcpy(gearbox_tz->trips, default_thermal_trips, in mlxsw_thermal_gearboxes_init() 532 sizeof(thermal->trips)); in mlxsw_thermal_gearboxes_init() 536 gearbox_tz->trips[j].priv = &gearbox_tz->cooling_states[j]; in mlxsw_thermal_gearboxes_init() [all …]
|
| /linux/arch/arm/boot/dts/samsung/ |
| H A D | exynos5422-odroidhc1.dts | 35 trips { 90 trips { 134 trips { 178 trips { 222 trips {
|
| H A D | exynos5422-odroidxu3-common.dtsi | 60 trips { 143 trips { 216 trips { 289 trips { 362 trips {
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | glymur.dtsi | 8169 trips { 8181 trips { 8193 trips { 8205 trips { 8217 trips { 8229 trips { 8241 trips { 8253 trips { 8265 trips { 8277 trips { [all …]
|
| H A D | sc8280xp-pmics.dtsi | 20 trips { 40 trips { 60 trips { 80 trips {
|
| H A D | sm6125-sony-xperia-seine-pdx201.dts | 95 trips { 107 trips { 119 trips { 131 trips {
|
| /linux/arch/arm64/boot/dts/marvell/ |
| H A D | armada-ap80x.dtsi | 326 trips { 343 trips { 376 trips { 409 trips { 442 trips {
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | thermal.c | 157 /* The thermal core holds an array of temperature trips that are in iwl_mld_config_temp_report_ths() 162 /* compress trips to cmd array, remove uninitialized values*/ in iwl_mld_config_temp_report_ths() 247 struct thermal_trip trips[IWL_MAX_DTS_TRIPS] = { in iwl_mld_thermal_zone_register() local 259 thermal_zone_device_register_with_trips(name, trips, in iwl_mld_thermal_zone_register()
|
| /linux/arch/alpha/lib/ |
| H A D | ev6-memset.S | 154 * Assumes the wh64 needs to be for 2 trips through the loop in the future 156 * through the loop, and if there are less than two trips left, the target 332 * Assumes the wh64 needs to be for 2 trips through the loop in the future 334 * through the loop, and if there are less than two trips left, the target 520 * Assumes the wh64 needs to be for 2 trips through the loop in the future 522 * through the loop, and if there are less than two trips left, the target
|