Lines Matching refs:now
435 ktime_t now = ktime_get(); in thermal_debug_cdev_state_update() local
436 ktime_t delta = ktime_sub(now, cdev_dbg->timestamp); in thermal_debug_cdev_state_update()
438 cdev_dbg->timestamp = now; in thermal_debug_cdev_state_update()
557 ktime_t now) in thermal_debugfs_tz_event_alloc() argument
567 tze->timestamp = now; in thermal_debugfs_tz_event_alloc()
584 ktime_t now = ktime_get(); in thermal_debug_tz_trip_up() local
630 tze = thermal_debugfs_tz_event_alloc(tz, now); in thermal_debug_tz_trip_up()
656 trip_stats->timestamp = now; 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
665 ktime_t delta = ktime_sub(now, trip_stats->timestamp); in tz_episode_close_trip()
677 ktime_t now = ktime_get(); in thermal_debug_tz_trip_down() local
714 tz_episode_close_trip(tze, trip_id, now); in thermal_debug_tz_trip_down()
721 tze->duration = ktime_sub(now, tze->timestamp); in thermal_debug_tz_trip_down()
937 ktime_t now = ktime_get(); in thermal_debug_tz_resume() local
960 tz_episode_close_trip(tze, tz_dbg->trips_crossed[i], now); in thermal_debug_tz_resume()
962 tze->duration = ktime_sub(now, tze->timestamp); in thermal_debug_tz_resume()