Lines Matching defs:ct

56 ct_to_guc(struct xe_guc_ct *ct)  in ct_to_guc()
62 ct_to_gt(struct xe_guc_ct *ct) in ct_to_gt()
68 ct_to_xe(struct xe_guc_ct *ct) in ct_to_xe()
114 struct xe_guc_ct *ct = arg; in guc_ct_fini() local
121 static void primelockdep(struct xe_guc_ct *ct) in primelockdep()
131 int xe_guc_ct_init(struct xe_guc_ct *ct) in xe_guc_ct_init()
210 static int guc_ct_ctb_h2g_register(struct xe_guc_ct *ct) in guc_ct_ctb_h2g_register()
237 static int guc_ct_ctb_g2h_register(struct xe_guc_ct *ct) in guc_ct_ctb_g2h_register()
265 static int guc_ct_control_toggle(struct xe_guc_ct *ct, bool enable) in guc_ct_control_toggle()
281 int xe_guc_ct_enable(struct xe_guc_ct *ct) in xe_guc_ct_enable()
322 void xe_guc_ct_disable(struct xe_guc_ct *ct) in xe_guc_ct_disable()
333 static bool h2g_has_room(struct xe_guc_ct *ct, u32 cmd_len) in h2g_has_room()
351 static bool g2h_has_room(struct xe_guc_ct *ct, u32 g2h_len) in g2h_has_room()
361 static int has_room(struct xe_guc_ct *ct, u32 cmd_len, u32 g2h_len) in has_room()
371 static void h2g_reserve_space(struct xe_guc_ct *ct, u32 cmd_len) in h2g_reserve_space()
377 static void __g2h_reserve_space(struct xe_guc_ct *ct, u32 g2h_len, u32 num_g2h) in __g2h_reserve_space()
389 static void __g2h_release_space(struct xe_guc_ct *ct, u32 g2h_len) in __g2h_release_space()
399 static void g2h_release_space(struct xe_guc_ct *ct, u32 g2h_len) in g2h_release_space()
408 static int h2g_write(struct xe_guc_ct *ct, const u32 *action, u32 len, in h2g_write()
478 static int __guc_ct_send_locked(struct xe_guc_ct *ct, const u32 *action, in __guc_ct_send_locked()
543 static void kick_reset(struct xe_guc_ct *ct) in kick_reset()
550 static int guc_ct_send_locked(struct xe_guc_ct *ct, const u32 *action, u32 len, in guc_ct_send_locked()
601 #define g2h_avail(ct) \ in guc_ct_send_locked() argument
624 static int guc_ct_send(struct xe_guc_ct *ct, const u32 *action, u32 len, in guc_ct_send()
638 int xe_guc_ct_send(struct xe_guc_ct *ct, const u32 *action, u32 len, in xe_guc_ct_send()
650 int xe_guc_ct_send_locked(struct xe_guc_ct *ct, const u32 *action, u32 len, in xe_guc_ct_send_locked()
662 int xe_guc_ct_send_g2h_handler(struct xe_guc_ct *ct, const u32 *action, u32 len) in xe_guc_ct_send_g2h_handler()
679 static bool retry_failure(struct xe_guc_ct *ct, int ret) in retry_failure()
684 #define ct_alive(ct) \ in retry_failure() argument
693 static int guc_ct_send_recv(struct xe_guc_ct *ct, const u32 *action, u32 len, in guc_ct_send_recv()
758 int xe_guc_ct_send_recv(struct xe_guc_ct *ct, const u32 *action, u32 len, in xe_guc_ct_send_recv()
764 int xe_guc_ct_send_recv_no_fail(struct xe_guc_ct *ct, const u32 *action, in xe_guc_ct_send_recv_no_fail()
770 static int parse_g2h_event(struct xe_guc_ct *ct, u32 *msg, u32 len) in parse_g2h_event()
787 static int parse_g2h_response(struct xe_guc_ct *ct, u32 *msg, u32 len) in parse_g2h_response()
833 static int parse_g2h_msg(struct xe_guc_ct *ct, u32 *msg, u32 len) in parse_g2h_msg()
875 static int process_g2h_msg(struct xe_guc_ct *ct, u32 *msg, u32 len) in process_g2h_msg()
934 static int g2h_read(struct xe_guc_ct *ct, u32 *msg, bool fast_path) in g2h_read()
1016 static void g2h_fast_path(struct xe_guc_ct *ct, u32 *msg, u32 len) in g2h_fast_path()
1051 void xe_guc_ct_fast_path(struct xe_guc_ct *ct) in xe_guc_ct_fast_path()
1074 static int dequeue_one_g2h(struct xe_guc_ct *ct) in dequeue_one_g2h()
1100 struct xe_guc_ct *ct = container_of(w, struct xe_guc_ct, g2h_worker); in g2h_worker_func() local
1234 struct xe_guc_ct_snapshot *xe_guc_ct_snapshot_capture(struct xe_guc_ct *ct, in xe_guc_ct_snapshot_capture()
1313 void xe_guc_ct_print(struct xe_guc_ct *ct, struct drm_printer *p, bool atomic) in xe_guc_ct_print()