Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/mbox/
Dmbox_handlers.c10 static inline int z_vrfy_mbox_send(const struct mbox_channel *channel, in z_vrfy_mbox_send()
13 Z_OOPS(Z_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 Z_OOPS(Z_SYSCALL_MEMORY_READ(channel, sizeof(struct mbox_channel))); in z_vrfy_mbox_set_enabled()
/Zephyr-Core-3.5.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.5.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.5.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.5.0/include/zephyr/ipc/
Dicmsg.h40 struct mbox_channel mbox_tx;
41 struct mbox_channel mbox_rx;
/Zephyr-Core-3.5.0/drivers/ethernet/
Deth_nxp_s32_netc_priv.h47 .mbox_channel = MBOX_DT_CHANNEL_GET(node, name), \
96 struct mbox_channel mbox_channel; member
Deth_nxp_s32_netc_vsi.c68 if (msix->mbox_channel.dev != NULL) { in nxp_s32_eth_iface_init()
69 if (mbox_set_enabled(&msix->mbox_channel, true)) { in nxp_s32_eth_iface_init()
70 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.c201 if (msix->mbox_channel.dev != NULL) { in nxp_s32_eth_iface_init()
202 if (mbox_set_enabled(&msix->mbox_channel, true)) { in nxp_s32_eth_iface_init()
203 LOG_ERR("Failed to enable MRU channel %u", msix->mbox_channel.id); in nxp_s32_eth_iface_init()
/Zephyr-Core-3.5.0/samples/boards/nrf/nrf53_sync_rtc/net/src/
Dmain.c39 struct mbox_channel channel; in mbox_init()
/Zephyr-Core-3.5.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.5.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.5.0/tests/lib/devicetree/api/src/
Dmain.c2693 const struct mbox_channel channel_tx = MBOX_DT_CHANNEL_GET(TEST_TEMP, tx); in ZTEST()
2694 const struct mbox_channel channel_rx = MBOX_DT_CHANNEL_GET(TEST_TEMP, rx); in ZTEST()
2710 const struct mbox_channel channel_zero = MBOX_DT_CHANNEL_GET(TEST_TEMP, zero); in ZTEST()