Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/xe/
H A Dxe_guc_relay.c39 static struct xe_guc *relay_to_guc(struct xe_guc_relay *relay) in relay_to_guc() argument
41 return container_of(relay, struct xe_guc, relay); in relay_to_guc()
44 static struct xe_guc_ct *relay_to_ct(struct xe_guc_relay *relay) in relay_to_ct() argument
46 return &relay_to_guc(relay)->ct; in relay_to_ct()
49 static struct xe_gt *relay_to_gt(struct xe_guc_relay *relay) in relay_to_gt() argument
51 return guc_to_gt(relay_to_guc(relay)); in relay_to_gt()
54 static struct xe_device *relay_to_xe(struct xe_guc_relay *relay) in relay_to_xe() argument
56 return gt_to_xe(relay_to_gt(relay)); in relay_to_xe()
59 #define relay_assert(relay, conditio argument
60 relay_notice(relay,msg...) global() argument
61 relay_debug(relay,msg...) global() argument
63 relay_get_totalvfs(struct xe_guc_relay * relay) relay_get_totalvfs() argument
72 relay_is_ready(struct xe_guc_relay * relay) relay_is_ready() argument
77 relay_get_next_rid(struct xe_guc_relay * relay) relay_get_next_rid() argument
209 __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) __relay_get_transaction() argument
257 relay_new_transaction(struct xe_guc_relay * relay,u32 target,const u32 * action,u32 len,u32 * resp,u32 resp_size) relay_new_transaction() argument
266 relay_new_incoming_transaction(struct xe_guc_relay * relay,u32 origin,u32 rid,const u32 * action,u32 len) relay_new_incoming_transaction() argument
272 relay_release_transaction(struct xe_guc_relay * relay,struct relay_transaction * txn) relay_release_transaction() argument
282 relay_send_transaction(struct xe_guc_relay * relay,struct relay_transaction * txn) relay_send_transaction() argument
319 struct xe_guc_relay *relay = arg; __fini_relay() local
333 xe_guc_relay_init(struct xe_guc_relay * relay) xe_guc_relay_init() argument
402 relay_testonly_nop(struct xe_guc_relay * relay) relay_testonly_nop() argument
407 relay_send_message_and_wait(struct xe_guc_relay * relay,struct relay_transaction * txn,u32 * buf,u32 buf_size) relay_send_message_and_wait() argument
480 relay_send_to(struct xe_guc_relay * relay,u32 target,const u32 * msg,u32 len,u32 * buf,u32 buf_size) relay_send_to() argument
532 xe_guc_relay_send_to_vf(struct xe_guc_relay * relay,u32 target,const u32 * msg,u32 len,u32 * buf,u32 buf_size) xe_guc_relay_send_to_vf() argument
554 xe_guc_relay_send_to_pf(struct xe_guc_relay * relay,const u32 * msg,u32 len,u32 * buf,u32 buf_size) xe_guc_relay_send_to_pf() argument
562 relay_handle_reply(struct xe_guc_relay * relay,u32 origin,u32 rid,int reply,const u32 * msg,u32 len) relay_handle_reply() argument
594 relay_handle_failure(struct xe_guc_relay * relay,u32 origin,u32 rid,const u32 * msg,u32 len) relay_handle_failure() argument
607 relay_testloop_action_handler(struct xe_guc_relay * relay,u32 origin,const u32 * msg,u32 len,u32 * response,u32 size) relay_testloop_action_handler() argument
667 relay_action_handler(struct xe_guc_relay * relay,u32 origin,const u32 * msg,u32 len,u32 * response,u32 size) relay_action_handler() argument
692 relay_dequeue_transaction(struct xe_guc_relay * relay) relay_dequeue_transaction() argument
705 relay_process_incoming_action(struct xe_guc_relay * relay) relay_process_incoming_action() argument
764 relay_needs_worker(struct xe_guc_relay * relay) relay_needs_worker() argument
776 relay_kick_worker(struct xe_guc_relay * relay) relay_kick_worker() argument
784 struct xe_guc_relay *relay = container_of(w, struct xe_guc_relay, worker); relays_worker_fn() local
792 relay_queue_action_msg(struct xe_guc_relay * relay,u32 origin,u32 rid,const u32 * msg,u32 len) relay_queue_action_msg() argument
809 relay_process_msg(struct xe_guc_relay * relay,u32 origin,u32 rid,const u32 * msg,u32 len) relay_process_msg() argument
867 xe_guc_relay_process_guc2vf(struct xe_guc_relay * relay,const u32 * msg,u32 len) xe_guc_relay_process_guc2vf() argument
912 xe_guc_relay_process_guc2pf(struct xe_guc_relay * relay,const u32 * msg,u32 len) xe_guc_relay_process_guc2pf() 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, in xe_guc_relay_send_to_vf() argument
31 static inline int xe_guc_relay_process_guc2pf(struct xe_guc_relay *relay, const u32 *msg, u32 len) in xe_guc_relay_process_guc2pf() argument
H A Dxe_gt_sriov_vf.c671 ret = xe_guc_relay_send_to_pf(&gt->uc.guc.relay, in relay_action_handshake()
842 ret = xe_guc_relay_send_to_pf(&gt->uc.guc.relay, in vf_query_runtime_info()
H A Dxe_guc_ct.c1427 ret = xe_guc_relay_process_guc2pf(&guc->relay, hxg, hxg_len); in process_g2h_msg()
1430 ret = xe_guc_relay_process_guc2vf(&guc->relay, hxg, hxg_len); in process_g2h_msg()
H A Dxe_guc.c739 ret = xe_guc_relay_init(&guc->relay); in xe_guc_init_noalloc()
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_guc_relay_test.c20 static int replacement_relay_get_totalvfs(struct xe_guc_relay *relay) in replacement_relay_get_totalvfs() argument
32 struct xe_guc_relay *relay; in relay_test_init() local
41 relay = &xe_device_get_gt(xe, 0)->uc.guc.relay; in relay_test_init()
45 KUNIT_ASSERT_EQ(test, xe_guc_relay_init(relay), 0); in relay_test_init()
46 KUNIT_EXPECT_TRUE(test, relay_is_ready(relay)); in relay_test_init()
47 relay->last_rid = TEST_RID - 1; in relay_test_init()
49 test->priv = relay; in relay_test_init()
123 struct xe_guc_relay *relay = test->priv; in pf_rejects_guc2pf_too_short() local
126 KUNIT_ASSERT_EQ(test, -EPROTO, xe_guc_relay_process_guc2pf(relay, ms in pf_rejects_guc2pf_too_short()
132 struct xe_guc_relay *relay = test->priv; pf_rejects_guc2pf_too_long() local
141 struct xe_guc_relay *relay = test->priv; pf_rejects_guc2pf_no_payload() local
149 struct xe_guc_relay *relay = test->priv; pf_fails_no_payload() local
157 struct xe_guc_relay *relay = test->priv; pf_fails_bad_origin() local
169 struct xe_guc_relay *relay = test->priv; pf_fails_bad_type() local
181 struct xe_guc_relay *relay = test->priv; pf_txn_reports_error() local
197 struct xe_guc_relay *relay = test->priv; pf_txn_sends_pf2guc() local
213 struct xe_guc_relay *relay = test->priv; pf_sends_pf2guc() local
227 struct xe_guc_relay *relay = test->priv; replacement_xe_guc_ct_send_recv_loopback_relay() local
281 struct xe_guc_relay *relay = test->priv; pf_loopback_nop() local
309 struct xe_guc_relay *relay = test->priv; pf_loopback_echo() local
342 struct xe_guc_relay *relay = test->priv; pf_loopback_fail() local
365 struct xe_guc_relay *relay = test->priv; pf_loopback_busy() local
390 struct xe_guc_relay *relay = test->priv; pf_loopback_retry() local
439 struct xe_guc_relay *relay = test->priv; vf_rejects_guc2vf_too_short() local
448 struct xe_guc_relay *relay = test->priv; vf_rejects_guc2vf_too_long() local
457 struct xe_guc_relay *relay = test->priv; vf_rejects_guc2vf_no_payload() local
479 struct xe_guc_relay *relay = &xe_device_get_gt(xe, 0)->uc.guc.relay; xe_drops_guc2pf_if_not_ready() local
489 struct xe_guc_relay *relay = &xe_device_get_gt(xe, 0)->uc.guc.relay; xe_drops_guc2vf_if_not_ready() local
499 struct xe_guc_relay *relay = &xe_device_get_gt(xe, 0)->uc.guc.relay; xe_rejects_send_if_not_ready() local
[all...]
/linux/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.
226 * Use no-overwrite mode by default, where relay will stop accepting in subbuf_start_callback()
228 * There is no strict synchronization enforced by relay between Consumer in subbuf_start_callback()
242 * file_create() callback. Creates relay file in debugfs.
253 * This to enable the use of a single buffer for the relay channel and in create_buf_file_callback()
272 * file_remove() default callback. Removes relay file in debugfs.
280 /* relay channel callbacks */
296 relay_reserve(log->relay.channel, log->vma->obj->base.size - in guc_move_to_next_buf()
300 relay_flush(log->relay in guc_move_to_next_buf()
[all...]
H A Dintel_guc_log.h10 #include <linux/relay.h>
66 } relay; member
/linux/Documentation/filesystems/
H A Drelay.rst4 relay interface (formerly relayfs)
7 The relay interface provides a means for kernel applications to
9 to userspace via user-defined 'relay channels'.
11 A 'relay channel' is a kernel->user data relay mechanism implemented
13 represented as a regular file ('relay file') in user space. Kernel
16 buffer. User space applications mmap() or read() from the relay files
17 and retrieve the data as it becomes available. The relay files
22 up to the kernel client; the relay interface does however provide
24 buffer data. The relay interfac
[all...]
H A Dindex.rst116 relay
/linux/include/linux/
H A Dif_pppox.h28 struct sockaddr_pppox relay; /* what socket data will be member
56 #define pppoe_relay proto.pppoe.relay
/linux/Documentation/core-api/
H A Dkernel-api.rst208 relay interface support
212 for tools and facilities to relay large amounts of data from kernel
215 relay interface
218 .. kernel-doc:: kernel/relay.c
221 .. kernel-doc:: kernel/relay.c
/linux/Documentation/translations/zh_CN/core-api/
H A Dkernel-api.rst217 kernel/relay.c
219 kernel/relay.c
/linux/arch/arm/boot/dts/allwinner/
H A Dsun7i-a20-linutronix-testbox-v2.dts21 label = "lamobo_r1:opto:relay";
/linux/Documentation/watchdog/
H A Dwatchdog-api.rst187 WDIOF_EXTERN1 External relay 1
190 External monitoring relay/source 1 was triggered. Controllers intended for
195 WDIOF_EXTERN2 External relay 2
198 External monitoring relay/source 2 was triggered
/linux/tools/testing/selftests/net/
H A Damt.sh78 readonly RELAY=$(mktemp -u relay-XXXXXXXX)
149 ip netns exec "${RELAY}" ip link add amtr type amt mode relay \
/linux/net/x25/
H A DKconfig10 frame relay; the one physical line from your box to the X.25 network
/linux/arch/arm64/kvm/hyp/nvhe/
H A DMakefile26 hyp-main.o hyp-smp.o psci-relay.o early_alloc.o page_alloc.o \
/linux/drivers/media/platform/mediatek/mdp3/
H A Dmdp_sm_mt8195.h101 u32 relay; member
/linux/kernel/
H A DMakefile106 obj-$(CONFIG_RELAY) += relay.o
/linux/Documentation/trace/
H A Dintel_th.rst48 consume the data and/or relay it further.
/linux/arch/um/drivers/
H A DKconfig118 the UML hostaudio relay, which acts as a intermediary
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ull-tarragon-common.dtsi746 pinctrl_relay_sense_snvs: relay-sense-snvsgrp {
/linux/Documentation/networking/
H A Dgtp.rst36 intermediate nodes just perform some specific relay function.
/linux/init/
H A DKconfig1422 bool "Kernel->user space relay support (formerly relayfs)"
1425 This option enables support for relay interface support in
1428 facilities to relay large amounts of data from kernel space to

12