Searched refs:relay (Results 1 - 25 of 25) sorted by relevance

/linux-master/drivers/gpu/drm/xe/
H A Dxe_guc_relay.c37 static struct xe_guc *relay_to_guc(struct xe_guc_relay *relay) argument
39 return container_of(relay, struct xe_guc, relay);
42 static struct xe_guc_ct *relay_to_ct(struct xe_guc_relay *relay) argument
44 return &relay_to_guc(relay)->ct;
47 static struct xe_gt *relay_to_gt(struct xe_guc_relay *relay) argument
49 return guc_to_gt(relay_to_guc(relay));
52 static struct xe_device *relay_to_xe(struct xe_guc_relay *relay) argument
54 return gt_to_xe(relay_to_gt(relay));
57 #define relay_assert(relay, conditio
61 relay_get_totalvfs(struct xe_guc_relay *relay) argument
70 relay_is_ready(struct xe_guc_relay *relay) argument
75 relay_get_next_rid(struct xe_guc_relay *relay) argument
207 __relay_get_transaction(struct xe_guc_relay *relay, bool incoming, u32 remote, u32 rid, const u32 *action, u32 action_len, u32 *resp, u32 resp_size) argument
255 relay_new_transaction(struct xe_guc_relay *relay, u32 target, const u32 *action, u32 len, u32 *resp, u32 resp_size) argument
264 relay_new_incoming_transaction(struct xe_guc_relay *relay, u32 origin, u32 rid, const u32 *action, u32 len) argument
270 relay_release_transaction(struct xe_guc_relay *relay, struct relay_transaction *txn) argument
280 relay_send_transaction(struct xe_guc_relay *relay, struct relay_transaction *txn) argument
317 struct xe_guc_relay *relay = arg; local
331 xe_guc_relay_init(struct xe_guc_relay *relay) argument
399 relay_testonly_nop(struct xe_guc_relay *relay) argument
404 relay_send_message_and_wait(struct xe_guc_relay *relay, struct relay_transaction *txn, u32 *buf, u32 buf_size) argument
477 relay_send_to(struct xe_guc_relay *relay, u32 target, const u32 *msg, u32 len, u32 *buf, u32 buf_size) argument
529 xe_guc_relay_send_to_vf(struct xe_guc_relay *relay, u32 target, const u32 *msg, u32 len, u32 *buf, u32 buf_size) argument
551 xe_guc_relay_send_to_pf(struct xe_guc_relay *relay, const u32 *msg, u32 len, u32 *buf, u32 buf_size) argument
559 relay_handle_reply(struct xe_guc_relay *relay, u32 origin, u32 rid, int reply, const u32 *msg, u32 len) argument
591 relay_handle_failure(struct xe_guc_relay *relay, u32 origin, u32 rid, const u32 *msg, u32 len) argument
604 relay_testloop_action_handler(struct xe_guc_relay *relay, u32 origin, const u32 *msg, u32 len, u32 *response, u32 size) argument
664 relay_action_handler(struct xe_guc_relay *relay, u32 origin, const u32 *msg, u32 len, u32 *response, u32 size) argument
686 relay_dequeue_transaction(struct xe_guc_relay *relay) argument
699 relay_process_incoming_action(struct xe_guc_relay *relay) argument
758 relay_needs_worker(struct xe_guc_relay *relay) argument
763 relay_kick_worker(struct xe_guc_relay *relay) argument
771 struct xe_guc_relay *relay = container_of(w, struct xe_guc_relay, worker); local
779 relay_queue_action_msg(struct xe_guc_relay *relay, u32 origin, u32 rid, const u32 *msg, u32 len) argument
796 relay_process_msg(struct xe_guc_relay *relay, u32 origin, u32 rid, const u32 *msg, u32 len) argument
854 xe_guc_relay_process_guc2vf(struct xe_guc_relay *relay, const u32 *msg, u32 len) argument
899 xe_guc_relay_process_guc2pf(struct xe_guc_relay *relay, const u32 *msg, u32 len) argument
[all...]
H A Dxe_guc_relay.h14 int xe_guc_relay_init(struct xe_guc_relay *relay);
16 int xe_guc_relay_send_to_pf(struct xe_guc_relay *relay,
19 int xe_guc_relay_process_guc2vf(struct xe_guc_relay *relay, const u32 *msg, u32 len);
22 int xe_guc_relay_send_to_vf(struct xe_guc_relay *relay, u32 target,
24 int xe_guc_relay_process_guc2pf(struct xe_guc_relay *relay, const u32 *msg, u32 len);
26 static inline int xe_guc_relay_send_to_vf(struct xe_guc_relay *relay, u32 target, argument
31 static inline int xe_guc_relay_process_guc2pf(struct xe_guc_relay *relay, const u32 *msg, u32 len) argument
H A Dxe_guc_types.h89 /** @relay: GuC Relay Communication used in SR-IOV */
90 struct xe_guc_relay relay; member in struct:xe_guc
H A Dxe_guc_ct.c1057 ret = xe_guc_relay_process_guc2pf(&guc->relay, hxg, hxg_len);
1060 ret = xe_guc_relay_process_guc2vf(&guc->relay, hxg, hxg_len);
H A Dxe_guc.c329 ret = xe_guc_relay_init(&guc->relay);
/linux-master/drivers/gpu/drm/xe/tests/
H A Dxe_guc_relay_test.c20 static int replacement_relay_get_totalvfs(struct xe_guc_relay *relay) argument
32 struct xe_guc_relay *relay; local
41 relay = &xe_device_get_gt(xe, 0)->uc.guc.relay;
45 KUNIT_ASSERT_EQ(test, xe_guc_relay_init(relay), 0);
46 KUNIT_EXPECT_TRUE(test, relay_is_ready(relay));
47 relay->last_rid = TEST_RID - 1;
49 test->priv = relay;
123 struct xe_guc_relay *relay = test->priv; local
126 KUNIT_ASSERT_EQ(test, -EPROTO, xe_guc_relay_process_guc2pf(relay, ms
132 struct xe_guc_relay *relay = test->priv; local
141 struct xe_guc_relay *relay = test->priv; local
149 struct xe_guc_relay *relay = test->priv; local
157 struct xe_guc_relay *relay = test->priv; local
169 struct xe_guc_relay *relay = test->priv; local
181 struct xe_guc_relay *relay = test->priv; local
197 struct xe_guc_relay *relay = test->priv; local
213 struct xe_guc_relay *relay = test->priv; local
227 struct xe_guc_relay *relay = test->priv; local
281 struct xe_guc_relay *relay = test->priv; local
309 struct xe_guc_relay *relay = test->priv; local
342 struct xe_guc_relay *relay = test->priv; local
365 struct xe_guc_relay *relay = test->priv; local
390 struct xe_guc_relay *relay = test->priv; local
439 struct xe_guc_relay *relay = test->priv; local
448 struct xe_guc_relay *relay = test->priv; local
457 struct xe_guc_relay *relay = test->priv; local
479 struct xe_guc_relay *relay = &xe_device_get_gt(xe, 0)->uc.guc.relay; local
489 struct xe_guc_relay *relay = &xe_device_get_gt(xe, 0)->uc.guc.relay; local
499 struct xe_guc_relay *relay = &xe_device_get_gt(xe, 0)->uc.guc.relay; local
[all...]
/linux-master/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_log.c218 * Sub buffer switch callback. Called whenever relay has to switch to a new
219 * sub buffer, relay stays on the same sub buffer if 0 is returned.
227 * Use no-overwrite mode by default, where relay will stop accepting
229 * There is no strict synchronization enforced by relay between Consumer
243 * file_create() callback. Creates relay file in debugfs.
254 * This to enable the use of a single buffer for the relay channel and
273 * file_remove() default callback. Removes relay file in debugfs.
281 /* relay channel callbacks */
297 relay_reserve(log->relay.channel, log->vma->obj->base.size -
301 relay_flush(log->relay
[all...]
H A Dintel_guc_log.h10 #include <linux/relay.h>
66 } relay; member in struct:intel_guc_log
/linux-master/drivers/net/wwan/iosm/
H A Diosm_ipc_trace.h10 #include <linux/relay.h>
27 * @ipc_rchan: Pointer to relay channel
/linux-master/include/linux/
H A Dif_pppox.h28 struct sockaddr_pppox relay; /* what socket data will be member in struct:pppoe_opt
56 #define pppoe_relay proto.pppoe.relay
H A Dblktrace_api.h6 #include <linux/relay.h>
/linux-master/drivers/net/wwan/t7xx/
H A Dt7xx_port_trace.c7 #include <linux/relay.h>
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A DMakefile24 hyp-main.o hyp-smp.o psci-relay.o early_alloc.o page_alloc.o \
/linux-master/tools/testing/selftests/net/
H A Damt.sh78 readonly RELAY=$(mktemp -u relay-XXXXXXXX)
143 ip netns exec "${RELAY}" ip link add amtr type amt mode relay \
/linux-master/drivers/media/platform/mediatek/mdp3/
H A Dmdp_sm_mt8195.h101 u32 relay; member in struct:mdp_hdr_data_8195
H A Dmtk-mdp3-comp.c1314 reg = CFG_COMP(MT8195, ctx->param, hdr.relay);
1434 /* Set to relay mode */
/linux-master/kernel/
H A DMakefile99 obj-$(CONFIG_RELAY) += relay.o
H A Drelay.c2 * Public API and common code for kernel->userspace relay file support.
4 * See Documentation/filesystems/relay.rst for an overview.
9 * Moved to kernel/relay.c by Paul Mundt, 2006.
20 #include <linux/relay.h>
31 * fault() vm_op implementation for relay file mapping.
52 * vm_ops for relay file mappings.
76 * @buf: relay channel buffer
143 * @chan: the relay channel
178 * @kref: target kernel reference that contains the relay channel
212 * @kref: target kernel reference that contains the relay buffe
[all...]
H A Dcpu.c33 #include <linux/relay.h>
2120 .name = "relay:prepare",
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dspectral.c6 #include <linux/relay.h>
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/
H A Ddebugfs.c6 #include <linux/relay.h>
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dcommon-spectral.c17 #include <linux/relay.h>
H A Dinit.c26 #include <linux/relay.h>
/linux-master/drivers/net/wireless/ath/ath11k/
H A Dspectral.c7 #include <linux/relay.h>
936 ath11k_warn(ar->ab, "failed to open relay in pdev %d\n",
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Ddebugfs.c4 #include <linux/relay.h>

Completed in 1029 milliseconds