Lines Matching full:ct

14 int xe_guc_ct_init(struct xe_guc_ct *ct);
15 int xe_guc_ct_enable(struct xe_guc_ct *ct);
16 void xe_guc_ct_disable(struct xe_guc_ct *ct);
17 void xe_guc_ct_stop(struct xe_guc_ct *ct);
18 void xe_guc_ct_fast_path(struct xe_guc_ct *ct);
20 struct xe_guc_ct_snapshot *xe_guc_ct_snapshot_capture(struct xe_guc_ct *ct);
23 void xe_guc_ct_print(struct xe_guc_ct *ct, struct drm_printer *p, bool want_ctb);
25 static inline bool xe_guc_ct_enabled(struct xe_guc_ct *ct) in xe_guc_ct_enabled() argument
27 return ct->state == XE_GUC_CT_STATE_ENABLED; in xe_guc_ct_enabled()
30 static inline void xe_guc_ct_irq_handler(struct xe_guc_ct *ct) in xe_guc_ct_irq_handler() argument
32 if (!xe_guc_ct_enabled(ct)) in xe_guc_ct_irq_handler()
35 wake_up_all(&ct->wq); in xe_guc_ct_irq_handler()
36 queue_work(ct->g2h_wq, &ct->g2h_worker); in xe_guc_ct_irq_handler()
37 xe_guc_ct_fast_path(ct); in xe_guc_ct_irq_handler()
40 /* Basic CT send / receives */
41 int xe_guc_ct_send(struct xe_guc_ct *ct, const u32 *action, u32 len,
43 int xe_guc_ct_send_locked(struct xe_guc_ct *ct, const u32 *action, u32 len,
45 int xe_guc_ct_send_recv(struct xe_guc_ct *ct, const u32 *action, u32 len,
48 xe_guc_ct_send_block(struct xe_guc_ct *ct, const u32 *action, u32 len) in xe_guc_ct_send_block() argument
50 return xe_guc_ct_send_recv(ct, action, len, NULL); in xe_guc_ct_send_block()
53 /* This is only version of the send CT you can call from a G2H handler */
54 int xe_guc_ct_send_g2h_handler(struct xe_guc_ct *ct, const u32 *action,
58 int xe_guc_ct_send_recv_no_fail(struct xe_guc_ct *ct, const u32 *action,
61 xe_guc_ct_send_block_no_fail(struct xe_guc_ct *ct, const u32 *action, u32 len) in xe_guc_ct_send_block_no_fail() argument
63 return xe_guc_ct_send_recv_no_fail(ct, action, len, NULL); in xe_guc_ct_send_block_no_fail()
66 long xe_guc_ct_queue_proc_time_jiffies(struct xe_guc_ct *ct);