Lines Matching refs:xe_guc_ct
65 ct_to_guc(struct xe_guc_ct *ct) in ct_to_guc()
71 ct_to_gt(struct xe_guc_ct *ct) in ct_to_gt()
77 ct_to_xe(struct xe_guc_ct *ct) in ct_to_xe()
134 long xe_guc_ct_queue_proc_time_jiffies(struct xe_guc_ct *ct) in xe_guc_ct_queue_proc_time_jiffies()
148 struct xe_guc_ct *ct = arg; in guc_ct_fini()
154 static void receive_g2h(struct xe_guc_ct *ct);
158 static void primelockdep(struct xe_guc_ct *ct) in primelockdep()
168 int xe_guc_ct_init(struct xe_guc_ct *ct) in xe_guc_ct_init()
258 static int guc_ct_ctb_h2g_register(struct xe_guc_ct *ct) in guc_ct_ctb_h2g_register()
285 static int guc_ct_ctb_g2h_register(struct xe_guc_ct *ct) in guc_ct_ctb_g2h_register()
313 static int guc_ct_control_toggle(struct xe_guc_ct *ct, bool enable) in guc_ct_control_toggle()
329 static void xe_guc_ct_set_state(struct xe_guc_ct *ct, in xe_guc_ct_set_state()
354 static bool ct_needs_safe_mode(struct xe_guc_ct *ct) in ct_needs_safe_mode()
359 static bool ct_restart_safe_mode_worker(struct xe_guc_ct *ct) in ct_restart_safe_mode_worker()
370 struct xe_guc_ct *ct = container_of(w, struct xe_guc_ct, safe_mode_worker.work); in safe_mode_worker_func()
378 static void ct_enter_safe_mode(struct xe_guc_ct *ct) in ct_enter_safe_mode()
384 static void ct_exit_safe_mode(struct xe_guc_ct *ct) in ct_exit_safe_mode()
390 int xe_guc_ct_enable(struct xe_guc_ct *ct) in xe_guc_ct_enable()
430 static void stop_g2h_handler(struct xe_guc_ct *ct) in stop_g2h_handler()
442 void xe_guc_ct_disable(struct xe_guc_ct *ct) in xe_guc_ct_disable()
455 void xe_guc_ct_stop(struct xe_guc_ct *ct) in xe_guc_ct_stop()
461 static bool h2g_has_room(struct xe_guc_ct *ct, u32 cmd_len) in h2g_has_room()
479 static bool g2h_has_room(struct xe_guc_ct *ct, u32 g2h_len) in g2h_has_room()
489 static int has_room(struct xe_guc_ct *ct, u32 cmd_len, u32 g2h_len) in has_room()
499 static void h2g_reserve_space(struct xe_guc_ct *ct, u32 cmd_len) in h2g_reserve_space()
505 static void __g2h_reserve_space(struct xe_guc_ct *ct, u32 g2h_len, u32 num_g2h) in __g2h_reserve_space()
522 static void __g2h_release_space(struct xe_guc_ct *ct, u32 g2h_len) in __g2h_release_space()
534 static void g2h_release_space(struct xe_guc_ct *ct, u32 g2h_len) in g2h_release_space()
543 static int h2g_write(struct xe_guc_ct *ct, const u32 *action, u32 len, in h2g_write()
623 static u16 next_ct_seqno(struct xe_guc_ct *ct, bool is_g2h_fence) in next_ct_seqno()
633 static int __guc_ct_send_locked(struct xe_guc_ct *ct, const u32 *action, in __guc_ct_send_locked()
706 static void kick_reset(struct xe_guc_ct *ct) in kick_reset()
711 static int dequeue_one_g2h(struct xe_guc_ct *ct);
713 static int guc_ct_send_locked(struct xe_guc_ct *ct, const u32 *action, u32 len, in guc_ct_send_locked()
788 static int guc_ct_send(struct xe_guc_ct *ct, const u32 *action, u32 len, in guc_ct_send()
802 int xe_guc_ct_send(struct xe_guc_ct *ct, const u32 *action, u32 len, in xe_guc_ct_send()
814 int xe_guc_ct_send_locked(struct xe_guc_ct *ct, const u32 *action, u32 len, in xe_guc_ct_send_locked()
826 int xe_guc_ct_send_g2h_handler(struct xe_guc_ct *ct, const u32 *action, u32 len) in xe_guc_ct_send_g2h_handler()
843 static bool retry_failure(struct xe_guc_ct *ct, int ret) in retry_failure()
858 static int guc_ct_send_recv(struct xe_guc_ct *ct, const u32 *action, u32 len, in guc_ct_send_recv()
962 int xe_guc_ct_send_recv(struct xe_guc_ct *ct, const u32 *action, u32 len, in xe_guc_ct_send_recv()
969 int xe_guc_ct_send_recv_no_fail(struct xe_guc_ct *ct, const u32 *action, in xe_guc_ct_send_recv_no_fail()
985 static int parse_g2h_event(struct xe_guc_ct *ct, u32 *msg, u32 len) in parse_g2h_event()
1003 static int parse_g2h_response(struct xe_guc_ct *ct, u32 *msg, u32 len) in parse_g2h_response()
1069 static int parse_g2h_msg(struct xe_guc_ct *ct, u32 *msg, u32 len) in parse_g2h_msg()
1108 static int process_g2h_msg(struct xe_guc_ct *ct, u32 *msg, u32 len) in process_g2h_msg()
1184 static int g2h_read(struct xe_guc_ct *ct, u32 *msg, bool fast_path) in g2h_read()
1274 static void g2h_fast_path(struct xe_guc_ct *ct, u32 *msg, u32 len) in g2h_fast_path()
1311 void xe_guc_ct_fast_path(struct xe_guc_ct *ct) in xe_guc_ct_fast_path()
1334 static int dequeue_one_g2h(struct xe_guc_ct *ct) in dequeue_one_g2h()
1358 static void receive_g2h(struct xe_guc_ct *ct) in receive_g2h()
1410 struct xe_guc_ct *ct = container_of(w, struct xe_guc_ct, g2h_worker); in g2h_worker_func()
1500 struct xe_guc_ct_snapshot *xe_guc_ct_snapshot_capture(struct xe_guc_ct *ct, in xe_guc_ct_snapshot_capture()
1579 void xe_guc_ct_print(struct xe_guc_ct *ct, struct drm_printer *p, bool atomic) in xe_guc_ct_print()