Home
last modified time | relevance | path

Searched refs:mbox_channel (Results 1 – 17 of 17) sorted by relevance

/Zephyr-Core-3.6.0/drivers/mbox/
Dmbox_handlers.c10 static inline int z_vrfy_mbox_send(const struct mbox_channel *channel, in z_vrfy_mbox_send()
13 K_OOPS(K_SYSCALL_MEMORY_READ(channel, sizeof(struct mbox_channel))); in z_vrfy_mbox_send()
38 static inline int z_vrfy_mbox_set_enabled(const struct mbox_channel *channel, bool enable) in z_vrfy_mbox_set_enabled()
40 K_OOPS(K_SYSCALL_MEMORY_READ(channel, sizeof(struct mbox_channel))); in z_vrfy_mbox_set_enabled()
/Zephyr-Core-3.6.0/include/zephyr/drivers/
Dmbox.h93 struct mbox_channel { struct
240 static inline void mbox_init_channel(struct mbox_channel *channel, const struct device *dev, in mbox_init_channel()
266 __syscall int mbox_send(const struct mbox_channel *channel, const struct mbox_msg *msg);
268 static inline int z_impl_mbox_send(const struct mbox_channel *channel, const struct mbox_msg *msg) in z_impl_mbox_send()
294 static inline int mbox_register_callback(const struct mbox_channel *channel, in mbox_register_callback()
364 __syscall int mbox_set_enabled(const struct mbox_channel *channel, bool enable);
366 static inline int z_impl_mbox_set_enabled(const struct mbox_channel *channel, bool enable) in z_impl_mbox_set_enabled()
/Zephyr-Core-3.6.0/samples/drivers/mbox/remote/src/
Dmain.c23 struct mbox_channel tx_channel; in main()
24 struct mbox_channel rx_channel; in main()
/Zephyr-Core-3.6.0/samples/drivers/mbox/src/
Dmain.c23 struct mbox_channel tx_channel; in main()
24 struct mbox_channel rx_channel; in main()
/Zephyr-Core-3.6.0/include/zephyr/ipc/
Dicmsg.h36 struct mbox_channel mbox_tx;
37 struct mbox_channel mbox_rx;
/Zephyr-Core-3.6.0/samples/drivers/mbox_data/remote/src/
Dmain.c32 struct mbox_channel tx_channel; in main()
33 struct mbox_channel rx_channel; in main()
/Zephyr-Core-3.6.0/samples/drivers/mbox_data/src/
Dmain.c32 struct mbox_channel tx_channel; in main()
33 struct mbox_channel rx_channel; in main()
/Zephyr-Core-3.6.0/tests/drivers/mbox/mbox_data/remote/src/
Dmain.c46 struct mbox_channel tx_channel; in main()
47 struct mbox_channel rx_channel; in main()
/Zephyr-Core-3.6.0/drivers/ethernet/
Deth_nxp_s32_netc_priv.h47 .mbox_channel = MBOX_DT_CHANNEL_GET(node, name), \
103 struct mbox_channel mbox_channel; member
Deth_nxp_s32_netc_vsi.c69 if (msix->mbox_channel.dev != NULL) { in nxp_s32_eth_iface_init()
70 if (mbox_set_enabled(&msix->mbox_channel, true)) { in nxp_s32_eth_iface_init()
71 LOG_ERR("Failed to enable MRU channel %u", msix->mbox_channel.id); in nxp_s32_eth_iface_init()
Deth_nxp_s32_netc.c84 if (msix->mbox_channel.dev != NULL) { in nxp_s32_eth_initialize_common()
85 err = mbox_register_callback(&msix->mbox_channel, in nxp_s32_eth_initialize_common()
90 msix->mbox_channel.id); in nxp_s32_eth_initialize_common()
Deth_nxp_s32_netc_psi.c200 if (msix->mbox_channel.dev != NULL) { in nxp_s32_eth_iface_init()
201 if (mbox_set_enabled(&msix->mbox_channel, true)) { in nxp_s32_eth_iface_init()
202 LOG_ERR("Failed to enable MRU channel %u", msix->mbox_channel.id); in nxp_s32_eth_iface_init()
/Zephyr-Core-3.6.0/tests/drivers/mbox/mbox_data/src/
Dmain.c26 static struct mbox_channel g_tx_channel;
27 static struct mbox_channel g_rx_channel;
/Zephyr-Core-3.6.0/samples/boards/nrf/nrf53_sync_rtc/net/src/
Dmain.c45 struct mbox_channel channel; in mbox_init()
/Zephyr-Core-3.6.0/soc/arm/nordic_nrf/nrf53/
Dsync_rtc.c196 struct mbox_channel ch; in mbox_callback()
211 struct mbox_channel channel; in mbox_rx_init()
/Zephyr-Core-3.6.0/subsys/ipc/ipc_service/backends/
Dipc_rpmsg_static_vrings.c58 struct mbox_channel mbox_tx;
59 struct mbox_channel mbox_rx;
/Zephyr-Core-3.6.0/tests/lib/devicetree/api/src/
Dmain.c2649 const struct mbox_channel channel_tx = MBOX_DT_CHANNEL_GET(TEST_TEMP, tx); in ZTEST()
2650 const struct mbox_channel channel_rx = MBOX_DT_CHANNEL_GET(TEST_TEMP, rx); in ZTEST()
2666 const struct mbox_channel channel_zero = MBOX_DT_CHANNEL_GET(TEST_TEMP, zero); in ZTEST()