Searched refs:trip_index (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-6.6/drivers/thermal/ |
H A D | gov_bang_bang.c | 16 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()
|
H A D | thermal_helpers.c | 25 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() 54 trip = &tz->trips[trip_index]; in get_thermal_instance() 44 get_thermal_instance(struct thermal_zone_device *tz, struct thermal_cooling_device *cdev, int trip_index) get_thermal_instance() argument
|
H A D | gov_fair_share.c | 52 * @trip_index: trip point index 68 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()
|
H A D | thermal_core.c | 607 * @trip_index: indicates which trip point the cooling devices is 627 int trip_index, in thermal_zone_bind_cooling_device() 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() 749 * @trip_index: indicates which trip point the cooling devices is 760 int trip_index, in thermal_zone_unbind_cooling_device() 768 trip = &tz->trips[trip_index]; in thermal_zone_unbind_cooling_device() 626 thermal_zone_bind_cooling_device(struct thermal_zone_device *tz, int trip_index, struct thermal_cooling_device *cdev, unsigned long upper, unsigned long lower, unsigned int weight) thermal_zone_bind_cooling_device() argument 759 thermal_zone_unbind_cooling_device(struct thermal_zone_device *tz, int trip_index, struct thermal_cooling_device *cdev) thermal_zone_unbind_cooling_device() argument
|
H A D | thermal_core.h | 73 int get_tz_trend(struct thermal_zone_device *tz, int trip_index);
|
Completed in 5 milliseconds