Home
last modified time | relevance | path

Searched refs:trip_index (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/thermal/
Dgov_bang_bang.c16 static int thermal_zone_trip_update(struct thermal_zone_device *tz, int trip_index) in thermal_zone_trip_update() argument
18 const struct thermal_trip *trip = &tz->trips[trip_index]; in thermal_zone_trip_update()
26 trip_index, trip->temperature, tz->temperature, in thermal_zone_trip_update()
Dthermal_helpers.c25 int get_tz_trend(struct thermal_zone_device *tz, int trip_index) in get_tz_trend() argument
27 struct thermal_trip *trip = tz->trips ? &tz->trips[trip_index] : NULL; in get_tz_trend()
45 struct thermal_cooling_device *cdev, int trip_index) in get_thermal_instance() argument
54 trip = &tz->trips[trip_index]; in get_thermal_instance()
Dgov_fair_share.c68 static int fair_share_throttle(struct thermal_zone_device *tz, int trip_index) in fair_share_throttle() argument
70 const struct thermal_trip *trip = &tz->trips[trip_index]; in fair_share_throttle()
Dthermal_core.c627 int trip_index, in thermal_zone_bind_cooling_device() argument
640 if (trip_index >= tz->num_trips || trip_index < 0) in thermal_zone_bind_cooling_device()
643 trip = &tz->trips[trip_index]; in thermal_zone_bind_cooling_device()
760 int trip_index, in thermal_zone_unbind_cooling_device() argument
768 trip = &tz->trips[trip_index]; in thermal_zone_unbind_cooling_device()
Dthermal_core.h73 int get_tz_trend(struct thermal_zone_device *tz, int trip_index);