Lines Matching defs:relay
38 static struct xe_guc *relay_to_guc(struct xe_guc_relay *relay) in relay_to_guc()
43 static struct xe_guc_ct *relay_to_ct(struct xe_guc_relay *relay) in relay_to_ct()
48 static struct xe_gt *relay_to_gt(struct xe_guc_relay *relay) in relay_to_gt()
53 static struct xe_device *relay_to_xe(struct xe_guc_relay *relay) in relay_to_xe()
58 #define relay_assert(relay, condition) xe_gt_assert(relay_to_gt(relay), condition) argument
59 #define relay_notice(relay, msg...) xe_gt_sriov_notice(relay_to_gt(relay), "relay: " msg) argument
60 #define relay_debug(relay, msg...) xe_gt_sriov_dbg_verbose(relay_to_gt(relay), "relay: " msg) argument
62 static int relay_get_totalvfs(struct xe_guc_relay *relay) in relay_get_totalvfs()
71 static bool relay_is_ready(struct xe_guc_relay *relay) in relay_is_ready()
76 static u32 relay_get_next_rid(struct xe_guc_relay *relay) in relay_get_next_rid()
208 __relay_get_transaction(struct xe_guc_relay *relay, bool incoming, u32 remote, u32 rid, in __relay_get_transaction()
256 relay_new_transaction(struct xe_guc_relay *relay, u32 target, const u32 *action, u32 len, in relay_new_transaction()
265 relay_new_incoming_transaction(struct xe_guc_relay *relay, u32 origin, u32 rid, in relay_new_incoming_transaction()
271 static void relay_release_transaction(struct xe_guc_relay *relay, struct relay_transaction *txn) in relay_release_transaction()
281 static int relay_send_transaction(struct xe_guc_relay *relay, struct relay_transaction *txn) in relay_send_transaction()
318 struct xe_guc_relay *relay = arg; in __fini_relay() local
332 int xe_guc_relay_init(struct xe_guc_relay *relay) in xe_guc_relay_init()
400 static void relay_testonly_nop(struct xe_guc_relay *relay) in relay_testonly_nop()
405 static int relay_send_message_and_wait(struct xe_guc_relay *relay, in relay_send_message_and_wait()
478 static int relay_send_to(struct xe_guc_relay *relay, u32 target, in relay_send_to()
530 int xe_guc_relay_send_to_vf(struct xe_guc_relay *relay, u32 target, in xe_guc_relay_send_to_vf()
552 int xe_guc_relay_send_to_pf(struct xe_guc_relay *relay, in xe_guc_relay_send_to_pf()
560 static int relay_handle_reply(struct xe_guc_relay *relay, u32 origin, in relay_handle_reply()
592 static int relay_handle_failure(struct xe_guc_relay *relay, u32 origin, in relay_handle_failure()
605 static int relay_testloop_action_handler(struct xe_guc_relay *relay, u32 origin, in relay_testloop_action_handler()
665 static int relay_action_handler(struct xe_guc_relay *relay, u32 origin, in relay_action_handler()
690 static struct relay_transaction *relay_dequeue_transaction(struct xe_guc_relay *relay) in relay_dequeue_transaction()
703 static void relay_process_incoming_action(struct xe_guc_relay *relay) in relay_process_incoming_action()
762 static bool relay_needs_worker(struct xe_guc_relay *relay) in relay_needs_worker()
774 static void relay_kick_worker(struct xe_guc_relay *relay) in relay_kick_worker()
782 struct xe_guc_relay *relay = container_of(w, struct xe_guc_relay, worker); in relays_worker_fn() local
790 static int relay_queue_action_msg(struct xe_guc_relay *relay, u32 origin, u32 rid, in relay_queue_action_msg()
807 static int relay_process_msg(struct xe_guc_relay *relay, u32 origin, u32 rid, in relay_process_msg()
865 int xe_guc_relay_process_guc2vf(struct xe_guc_relay *relay, const u32 *msg, u32 len) in xe_guc_relay_process_guc2vf()
910 int xe_guc_relay_process_guc2pf(struct xe_guc_relay *relay, const u32 *msg, u32 len) in xe_guc_relay_process_guc2pf()