Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/thermal/
H A 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()
H A Dthermal_core.h90 const struct thermal_trip *trip;
121 struct thermal_trip *trip);
123 const struct thermal_trip *trip);
H A 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()
H A 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()
H A 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()
H A 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()
443 struct thermal_trip *trips = tz->trips; in thermal_of_zone_unregister()
476 struct thermal_trip *trips; in thermal_of_zone_register()
H A Dgov_bang_bang.c18 const struct thermal_trip *trip = &tz->trips[trip_index]; in thermal_zone_trip_update()
H A 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()
H A DMakefile8 thermal_sys-y += thermal_trip.o thermal_helpers.o
H A Dgov_step_wise.c84 const struct thermal_trip *trip = &tz->trips[trip_id]; in thermal_zone_trip_update()
H A Dthermal_core.c346 struct thermal_trip trip; in handle_thermal_trip()
641 const struct thermal_trip *trip; in thermal_zone_bind_cooling_device()
769 const struct thermal_trip *trip; in thermal_zone_unbind_cooling_device()
1236 thermal_zone_device_register_with_trips(const char *type, struct thermal_trip *trips, int num_trips… in thermal_zone_device_register_with_trips()
1345 struct thermal_trip trip; in thermal_zone_device_register_with_trips()
H A Dda9062-thermal.c144 static struct thermal_trip trips[] = {
/openbmc/linux/include/linux/
H A Dthermal.h63 struct thermal_trip { struct
84 const struct thermal_trip *, enum thermal_trend *); argument
167 struct thermal_trip *trips;
285 struct thermal_trip *trip);
287 struct thermal_trip *trip);
290 const struct thermal_trip *trip);
293 int (*cb)(struct thermal_trip *, void *),
309 struct thermal_trip *trips,
365 struct thermal_trip *trips, in thermal_zone_device_register_with_trips()
/openbmc/linux/tools/lib/thermal/include/
H A 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);
/openbmc/linux/drivers/thermal/intel/int340x_thermal/
H A 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()
H A Dint340x_thermal_zone.h23 struct thermal_trip *trips;
/openbmc/linux/drivers/thermal/intel/
H A 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()
H A Dintel_soc_dts_iosf.h32 struct thermal_trip trips[SOC_MAX_DTS_TRIPS];
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_thermal.c36 static struct thermal_trip trip = { .type = THERMAL_TRIP_CRITICAL } ;
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A 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];
/openbmc/linux/tools/lib/thermal/
H A Dthermal.c21 int for_each_thermal_trip(struct thermal_trip *tt, cb_tt_t cb, void *arg) in for_each_thermal_trip()
/openbmc/linux/drivers/thermal/samsung/
H A 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()
/openbmc/linux/drivers/thermal/qcom/
H A 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()
/openbmc/linux/drivers/acpi/
H A 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()
/openbmc/linux/drivers/thermal/broadcom/
H A Dbcm2835_thermal.c221 struct thermal_trip trip; in bcm2835_thermal_probe()

12