Searched refs:trip_id (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/thermal/ |
| H A D | thermal_debugfs.c | 583 int trip_id = thermal_zone_trip_id(tz, trip); in thermal_debug_tz_trip_up() local 650 tz_dbg->trips_crossed[tz_dbg->nr_trips++] = trip_id; in thermal_debug_tz_trip_up() 653 trip_stats = &tze->trip_stats[trip_id]; in thermal_debug_tz_trip_up() 662 static void tz_episode_close_trip(struct tz_episode *tze, int trip_id, ktime_t now) in tz_episode_close_trip() argument 664 struct trip_stats *trip_stats = &tze->trip_stats[trip_id]; in tz_episode_close_trip() 676 int trip_id = thermal_zone_trip_id(tz, trip); in thermal_debug_tz_trip_down() local 700 if (tz_dbg->trips_crossed[i] == trip_id) in thermal_debug_tz_trip_down() 714 tz_episode_close_trip(tze, trip_id, now); in thermal_debug_tz_trip_down() 750 int trip_id = tz_dbg->trips_crossed[i]; in thermal_debug_update_trip_stats() local 751 struct trip_stats *trip_stats = &tze->trip_stats[trip_id]; in thermal_debug_update_trip_stats() [all …]
|
| H A D | thermal_netlink.c | 66 int trip_id; member 149 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_ID, p->trip_id) || in thermal_genl_event_tz_trip_up() 159 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_ID, p->trip_id) || in thermal_genl_event_tz_trip_change() 383 .trip_id = thermal_zone_trip_id(tz, trip), in thermal_notify_tz_trip_down() 393 .trip_id = thermal_zone_trip_id(tz, trip), in thermal_notify_tz_trip_up() 403 .trip_id = thermal_zone_trip_id(tz, trip), in thermal_notify_tz_trip_change()
|