/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/Documentation/devicetree/bindings/thermal/ |
H A D | brcm,sr-thermal.txt | 37 trips { 49 trips { 61 trips { 73 trips { 85 trips { 97 trips {
|
H 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>;
|
/linux/drivers/thermal/ |
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() 372 struct thermal_trip *trips; in thermal_of_zone_register() local 387 trips = thermal_of_trips_init(np, &ntrips); in thermal_of_zone_register() 388 if (IS_ERR(trips)) { in thermal_of_zone_register() 390 ret = PTR_ERR(trips); in thermal_of_zone_register() 394 if (!trips) in thermal_of_zone_register() 415 tz = thermal_zone_device_register_with_trips(np->name, trips, ntrips, in thermal_of_zone_register() [all …]
|
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 | da9062-thermal.c | 144 static struct thermal_trip trips[] = { variable 200 trips, ARRAY_SIZE(trips), thermal, in da9062_thermal_probe()
|
/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 | x86_pkg_temp_thermal.c | 274 struct thermal_trip *trips, int num_trips) in pkg_temp_thermal_trips_init() argument 297 trips[i].temperature = thres_reg_value ? in pkg_temp_thermal_trips_init() 300 trips[i].type = THERMAL_TRIP_PASSIVE; in pkg_temp_thermal_trips_init() 301 trips[i].flags |= THERMAL_TRIP_FLAG_RW_TEMP; in pkg_temp_thermal_trips_init() 302 trips[i].priv = THERMAL_INT_TO_TRIP_PRIV(i); in pkg_temp_thermal_trips_init() 305 __func__, cpu, i, trips[i].temperature); in pkg_temp_thermal_trips_init() 313 struct thermal_trip trips[MAX_NUMBER_OF_TRIPS] = { 0 }; in pkg_temp_thermal_device_add() local 339 err = pkg_temp_thermal_trips_init(cpu, tj_max, trips, thres_count); in pkg_temp_thermal_device_add() 346 trips, thres_count, in pkg_temp_thermal_device_add()
|
/linux/drivers/acpi/ |
H A D | thermal.c | 116 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/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 | pm8550vs.dtsi | 16 trips { 36 trips { 56 trips { 76 trips {
|
H A D | sc8280xp-pmics.dtsi | 20 trips { 40 trips { 60 trips { 80 trips {
|
H A D | pm8010.dtsi | 16 trips { 36 trips {
|
H A D | sm6125-sony-xperia-seine-pdx201.dts | 95 trips { 107 trips { 119 trips { 131 trips {
|
/linux/arch/arm64/boot/dts/exynos/ |
H A D | exynos5433-tmu.dtsi | 16 trips { 104 trips { 147 trips { 190 trips { 266 trips {
|
/linux/arch/arm64/boot/dts/marvell/ |
H A D | armada-ap80x.dtsi | 326 trips { 343 trips { 376 trips { 409 trips { 442 trips {
|