Lines Matching refs:gt
34 static bool flush_submission(struct intel_gt *gt, long timeout) in flush_submission() argument
43 if (!intel_gt_pm_is_awake(gt)) in flush_submission()
46 for_each_engine(engine, gt, id) { in flush_submission()
133 long intel_gt_retire_requests_timeout(struct intel_gt *gt, long timeout, in intel_gt_retire_requests_timeout() argument
136 struct intel_gt_timelines *timelines = >->timelines; in intel_gt_retire_requests_timeout()
141 flush_submission(gt, timeout); /* kick the ksoftirqd tasklets */ in intel_gt_retire_requests_timeout()
196 if (flush_submission(gt, timeout)) /* Wait, there's more! */ in intel_gt_retire_requests_timeout()
207 struct intel_gt *gt = in retire_work_handler() local
208 container_of(work, typeof(*gt), requests.retire_work.work); in retire_work_handler()
210 schedule_delayed_work(>->requests.retire_work, in retire_work_handler()
212 intel_gt_retire_requests(gt); in retire_work_handler()
215 void intel_gt_init_requests(struct intel_gt *gt) in intel_gt_init_requests() argument
217 INIT_DELAYED_WORK(>->requests.retire_work, retire_work_handler); in intel_gt_init_requests()
220 void intel_gt_park_requests(struct intel_gt *gt) in intel_gt_park_requests() argument
222 cancel_delayed_work(>->requests.retire_work); in intel_gt_park_requests()
225 void intel_gt_unpark_requests(struct intel_gt *gt) in intel_gt_unpark_requests() argument
227 schedule_delayed_work(>->requests.retire_work, in intel_gt_unpark_requests()
231 void intel_gt_fini_requests(struct intel_gt *gt) in intel_gt_fini_requests() argument
234 cancel_delayed_work_sync(>->requests.retire_work); in intel_gt_fini_requests()
236 flush_work(>->watchdog.work); in intel_gt_fini_requests()
241 struct intel_gt *gt = in intel_gt_watchdog_work() local
242 container_of(work, typeof(*gt), watchdog.work); in intel_gt_watchdog_work()
246 first = llist_del_all(>->watchdog.list); in intel_gt_watchdog_work()