Home
last modified time | relevance | path

Searched refs:thermal_trip (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.6.21/drivers/thermal/
Dthermal_trip.c13 int (*cb)(struct thermal_trip *, void *), in for_each_thermal_trip() argument
53 struct thermal_trip trip; in __thermal_zone_set_trips()
114 struct thermal_trip *trip) in __thermal_zone_get_trip()
125 struct thermal_trip *trip) in thermal_zone_get_trip()
138 const struct thermal_trip *trip) in thermal_zone_set_trip()
140 struct thermal_trip t; in thermal_zone_set_trip()
177 const struct thermal_trip *trip) in thermal_zone_trip_id()
Dthermal_core.h90 const struct thermal_trip *trip;
121 struct thermal_trip *trip);
123 const struct thermal_trip *trip);
Dgov_power_allocator.c93 const struct thermal_trip *trip_max_desired_temperature = in estimate_sustainable_power()
129 struct thermal_trip trip; in estimate_pid_constants()
388 const struct thermal_trip *trip_max_desired_temperature = in allocate_power()
524 struct thermal_trip trip; in get_governor_trips()
570 const struct thermal_trip *trip_max_desired_temperature = in allow_maximum_power()
639 struct thermal_trip trip; in power_allocator_bind()
703 struct thermal_trip trip; in power_allocator_throttle()
Dthermal_helpers.c27 struct thermal_trip *trip = tz->trips ? &tz->trips[trip_index] : NULL; in get_tz_trend()
49 const struct thermal_trip *trip; in get_thermal_instance()
89 struct thermal_trip trip; in __thermal_zone_get_temp()
Dgov_fair_share.c24 struct thermal_trip trip; in get_trip_level()
70 const struct thermal_trip *trip = &tz->trips[trip_index]; in fair_share_throttle()
Dthermal_of.c95 struct thermal_trip *trip) in thermal_of_populate_trip()
123 static struct thermal_trip *thermal_of_trips_init(struct device_node *np, int *ntrips) in thermal_of_trips_init()
125 struct thermal_trip *tt; in thermal_of_trips_init()
441 struct thermal_trip *trips = tz->trips; in thermal_of_zone_unregister()
474 struct thermal_trip *trips; in thermal_of_zone_register()
Dgov_bang_bang.c18 const struct thermal_trip *trip = &tz->trips[trip_index]; in thermal_zone_trip_update()
Dthermal_sysfs.c86 struct thermal_trip trip; in trip_point_type_show()
123 struct thermal_trip trip; in trip_point_temp_store()
156 struct thermal_trip trip; in trip_point_temp_show()
182 struct thermal_trip trip; in trip_point_hyst_store()
215 struct thermal_trip trip; in trip_point_hyst_show()
DMakefile8 thermal_sys-y += thermal_trip.o thermal_helpers.o
Dgov_step_wise.c84 const struct thermal_trip *trip = &tz->trips[trip_id]; in thermal_zone_trip_update()
Dthermal_core.c346 struct thermal_trip trip; in handle_thermal_trip()
636 const struct thermal_trip *trip; in thermal_zone_bind_cooling_device()
764 const struct thermal_trip *trip; in thermal_zone_unbind_cooling_device()
1231 thermal_zone_device_register_with_trips(const char *type, struct thermal_trip *trips, int num_trips… in thermal_zone_device_register_with_trips()
1337 struct thermal_trip trip; in thermal_zone_device_register_with_trips()
Dda9062-thermal.c144 static struct thermal_trip trips[] = {
/linux-6.6.21/include/linux/
Dthermal.h63 struct thermal_trip { struct
84 const struct thermal_trip *, enum thermal_trend *); argument
165 struct thermal_trip *trips;
283 struct thermal_trip *trip);
285 struct thermal_trip *trip);
288 const struct thermal_trip *trip);
291 int (*cb)(struct thermal_trip *, void *),
307 struct thermal_trip *trips,
363 struct thermal_trip *trips, in thermal_zone_device_register_with_trips()
/linux-6.6.21/tools/lib/thermal/include/
Dthermal.h41 struct thermal_trip { struct
53 struct thermal_trip *trip; argument
73 typedef int (*cb_tt_t)(struct thermal_trip *, void *);
79 LIBTHERMAL_API int for_each_thermal_trip(struct thermal_trip *tt, cb_tt_t cb, void *arg);
/linux-6.6.21/drivers/thermal/intel/int340x_thermal/
Dint340x_thermal_zone.c71 struct thermal_trip *zone_trips, in int340x_thermal_read_trips()
119 struct thermal_trip *zone_trips; in int340x_thermal_zone_add()
218 struct thermal_trip *zone_trips = int34x_zone->trips; in int340x_thermal_update_trips()
Dint340x_thermal_zone.h23 struct thermal_trip *trips;
/linux-6.6.21/drivers/thermal/intel/
Dintel_soc_dts_iosf.h32 struct thermal_trip trips[SOC_MAX_DTS_TRIPS];
Dx86_pkg_temp_thermal.c56 struct thermal_trip *trips;
271 static struct thermal_trip *pkg_temp_thermal_trips_init(int cpu, int tj_max, int num_trips) in pkg_temp_thermal_trips_init()
273 struct thermal_trip *trips; in pkg_temp_thermal_trips_init()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_thermal.c36 static struct thermal_trip trip = { .type = THERMAL_TRIP_CRITICAL } ;
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dcore_thermal.c41 static const struct thermal_trip default_thermal_trips[] = {
59 static const struct thermal_trip default_thermal_module_trips[] = {
102 struct thermal_trip trips[MLXSW_THERMAL_NUM_TRIPS];
123 struct thermal_trip trips[MLXSW_THERMAL_NUM_TRIPS];
/linux-6.6.21/tools/lib/thermal/
Dthermal.c21 int for_each_thermal_trip(struct thermal_trip *tt, cb_tt_t cb, void *arg) in for_each_thermal_trip()
/linux-6.6.21/drivers/thermal/samsung/
Dexynos_tmu.c298 struct thermal_trip trip; in exynos_tmu_initialize()
353 struct thermal_trip trip; in exynos4210_tmu_set_trip_temp()
555 struct thermal_trip trip; in exynos4210_tmu_control()
586 struct thermal_trip trip; in exynos5433_tmu_control()
618 struct thermal_trip trip; in exynos7_tmu_control()
/linux-6.6.21/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c268 struct thermal_trip trip; in qpnp_tm_set_trip_temp()
301 struct thermal_trip trip; in qpnp_tm_get_critical_trip_temp()
/linux-6.6.21/drivers/acpi/
Dthermal.c128 struct thermal_trip *trip_table;
402 static int acpi_thermal_adjust_trip(struct thermal_trip *trip, void *data) in acpi_thermal_adjust_trip()
495 const struct thermal_trip *trip, in thermal_get_trend()
685 struct thermal_trip *trip; in acpi_thermal_register_thermal_zone()
/linux-6.6.21/drivers/thermal/ti-soc-thermal/
Dti-thermal-common.c113 const struct thermal_trip *trip, in __ti_thermal_get_trend()

12