Home
last modified time | relevance | path

Searched refs:trips (Results 1 – 25 of 202) sorted by relevance

123456789

/linux/drivers/acpi/
A Dthermal.c169 struct acpi_thermal_trips trips; member
486 tz->trips.hot.flags.valid | in acpi_thermal_get_trip_points()
585 tz->trips.hot.temperature, in thermal_get_trip_temp()
661 + (tz->trips.passive.tc2 in thermal_get_trend()
710 if (tz->trips.hot.flags.valid) in acpi_thermal_cooling_device_cb()
792 int trips = 0; in acpi_thermal_register_thermal_zone() local
798 trips++; in acpi_thermal_register_thermal_zone()
801 trips++; in acpi_thermal_register_thermal_zone()
804 trips++; in acpi_thermal_register_thermal_zone()
807 tz->trips.active[i].flags.valid; i++, trips++); in acpi_thermal_register_thermal_zone()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dcore_thermal.c299 *p_type = thermal->trips[trip].type; in mlxsw_thermal_get_trip_type()
323 thermal->trips[trip].temp = temp; in mlxsw_thermal_set_trip_temp()
341 thermal->trips[trip].hyst = hyst; in mlxsw_thermal_set_trip_hyst()
486 *p_type = tz->trips[trip].type; in mlxsw_thermal_module_trip_type_get()
499 *p_temp = tz->trips[trip].temp; in mlxsw_thermal_module_trip_temp_get()
512 tz->trips[trip].temp = temp; in mlxsw_thermal_module_trip_temp_set()
522 *p_hyst = tz->trips[trip].hyst; in mlxsw_thermal_module_trip_hyst_get()
532 tz->trips[trip].hyst = hyst; in mlxsw_thermal_module_trip_hyst_set()
716 sizeof(thermal->trips)); in mlxsw_thermal_module_init()
864 sizeof(thermal->trips)); in mlxsw_thermal_gearboxes_init()
[all …]
/linux/drivers/thermal/
A Dthermal_of.c74 struct thermal_trip *trips; member
169 return data->trips; in of_thermal_get_trip_points()
281 *type = data->trips[trip].type; in of_thermal_get_trip_type()
678 struct thermal_trip *trips, in thermal_of_populate_bind_params() argument
701 if (trip == trips[i].np) { in thermal_of_populate_bind_params()
911 tz->trips = kcalloc(tz->ntrips, sizeof(*tz->trips), GFP_KERNEL); in thermal_of_build_thermal_zone()
912 if (!tz->trips) { in thermal_of_build_thermal_zone()
970 of_node_put(tz->trips[i].np); in thermal_of_build_thermal_zone()
971 kfree(tz->trips); in thermal_of_build_thermal_zone()
996 of_node_put(tz->trips[i].np); in of_thermal_free_zone()
[all …]
A Duniphier_thermal.c251 const struct thermal_trip *trips; in uniphier_tm_probe() local
300 trips = of_thermal_get_trip_points(tdev->tz_dev); in uniphier_tm_probe()
309 if (trips[i].type == THERMAL_TRIP_CRITICAL && in uniphier_tm_probe()
310 trips[i].temperature < crit_temp) in uniphier_tm_probe()
311 crit_temp = trips[i].temperature; in uniphier_tm_probe()
312 uniphier_tm_set_alert(tdev, i, trips[i].temperature); in uniphier_tm_probe()
A Dgov_fair_share.c28 if (tz->trips == 0 || !tz->ops->get_trip_temp) in get_trip_level()
31 for (count = 0; count < tz->trips; count++) { in get_trip_level()
56 return (long)(percentage * level * max_state) / (100 * tz->trips); in get_target_state()
A Dthermal_sysfs.c419 if (tz->trips <= 0) in create_trip_attrs()
422 tz->trip_type_attrs = kcalloc(tz->trips, sizeof(*tz->trip_type_attrs), in create_trip_attrs()
427 tz->trip_temp_attrs = kcalloc(tz->trips, sizeof(*tz->trip_temp_attrs), in create_trip_attrs()
435 tz->trip_hyst_attrs = kcalloc(tz->trips, in create_trip_attrs()
445 attrs = kcalloc(tz->trips * 3 + 1, sizeof(*attrs), GFP_KERNEL); in create_trip_attrs()
454 for (indx = 0; indx < tz->trips; indx++) { in create_trip_attrs()
481 attrs[indx + tz->trips] = &tz->trip_temp_attrs[indx].attr.attr; in create_trip_attrs()
499 attrs[indx + tz->trips * 2] = in create_trip_attrs()
502 attrs[tz->trips * 3] = NULL; in create_trip_attrs()
543 if (tz->trips) { in thermal_zone_create_device_groups()
[all …]
A Dthermal_core.c508 for (count = 0; count < tz->trips; count++) in thermal_zone_device_update()
633 if (trip >= tz->trips || trip < 0) in thermal_zone_bind_cooling_device()
814 for (i = 0; i < tz->trips; i++) { in __bind()
1059 for (i = 0; i < tz->trips; i++) in __unbind()
1186 thermal_zone_device_register(const char *type, int trips, int mask, in thermal_zone_device_register() argument
1210 if (trips > THERMAL_MAX_TRIPS || trips < 0 || mask >> trips) { in thermal_zone_device_register()
1220 if (trips > 0 && (!ops->get_trip_type || !ops->get_trip_temp)) in thermal_zone_device_register()
1250 tz->trips = trips; in thermal_zone_device_register()
1268 for (count = 0; count < trips; count++) { in thermal_zone_device_register()
A Dthermal_helpers.c93 for (count = 0; count < tz->trips; count++) { in thermal_zone_get_temp()
141 for (i = 0; i < tz->trips; i++) { in thermal_zone_set_trips()
A Darmada_thermal.c788 const struct thermal_trip *trips = of_thermal_get_trip_points(tz); in armada_configure_overheat_int() local
792 if (!trips) in armada_configure_overheat_int()
796 if (trips[i].type == THERMAL_TRIP_CRITICAL) in armada_configure_overheat_int()
807 trips[i].temperature, in armada_configure_overheat_int()
808 trips[i].hysteresis); in armada_configure_overheat_int()
/linux/Documentation/devicetree/bindings/thermal/
A Dbrcm,sr-thermal.txt37 trips {
49 trips {
61 trips {
73 trips {
85 trips {
97 trips {
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>;
A Dthermal-zones.yaml107 trips:
176 crosses one of the temperature thresholds described in the trips
267 trips {
312 trips {
334 trips {
/linux/arch/arm64/boot/dts/ti/
A Dk3-am654-industrial-thermal.dtsi10 trips {
24 trips {
38 trips {
/linux/arch/arm/boot/dts/
A Dexynos5422-odroidhc1.dts33 trips {
88 trips {
132 trips {
176 trips {
220 trips {
A Dexynos5422-odroidxu3-common.dtsi56 trips {
145 trips {
218 trips {
291 trips {
364 trips {
A Dqcom-ipq8064.dtsi57 trips {
77 trips {
97 trips {
117 trips {
137 trips {
157 trips {
177 trips {
197 trips {
217 trips {
237 trips {
[all …]
A Drk3288-veyron-mickey.dts42 /delete-node/ trips;
45 trips {
148 /delete-node/ trips;
151 trips {
/linux/arch/arm64/boot/dts/exynos/
A Dexynos5433-tmu.dtsi16 trips {
104 trips {
147 trips {
190 trips {
266 trips {
/linux/arch/arm64/boot/dts/qcom/
A Dsm8350.dtsi1678 trips {
1722 trips {
1766 trips {
1810 trips {
1854 trips {
1898 trips {
1942 trips {
1986 trips {
2030 trips {
2074 trips {
[all …]
A Dsm8250-mtp.dts33 trips {
47 trips {
61 trips {
75 trips {
89 trips {
103 trips {
117 trips {
A Dmsm8998.dtsi515 trips {
536 trips {
557 trips {
578 trips {
599 trips {
620 trips {
641 trips {
662 trips {
683 trips {
698 trips {
[all …]
A Dsm8150.dtsi3692 trips {
3736 trips {
3780 trips {
3824 trips {
3868 trips {
3912 trips {
3956 trips {
4000 trips {
4044 trips {
4088 trips {
[all …]
/linux/drivers/thermal/qcom/
A Dqcom-spmi-temp-alarm.c302 const struct thermal_trip *trips; in qpnp_tm_get_critical_trip_temp() local
309 trips = of_thermal_get_trip_points(chip->tz_dev); in qpnp_tm_get_critical_trip_temp()
310 if (!trips) in qpnp_tm_get_critical_trip_temp()
315 trips[i].type == THERMAL_TRIP_CRITICAL) in qpnp_tm_get_critical_trip_temp()
316 return trips[i].temperature; in qpnp_tm_get_critical_trip_temp()
/linux/arch/arm64/boot/dts/marvell/
A Darmada-ap80x.dtsi321 trips {
338 trips {
371 trips {
404 trips {
437 trips {
/linux/arch/arm64/boot/dts/broadcom/stingray/
A Dstingray.dtsi628 trips {
640 trips {
652 trips {
664 trips {
676 trips {
688 trips {

Completed in 61 milliseconds

123456789