Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/thermal/
H A 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()
H A 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()
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 Dgov_fair_share.c52 * @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 Dthermal_core.c607 * @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 Dthermal_core.h73 int get_tz_trend(struct thermal_zone_device *tz, int trip_index);

Completed in 5 milliseconds