/Zephyr-latest/include/zephyr/drivers/firmware/scmi/ |
D | shmem.h | 9 * @brief SCMI SHMEM API 25 * @brief Write a message in the SHMEM area 27 * @param shmem pointer to shmem device 33 int scmi_shmem_write_message(const struct device *shmem, 37 * @brief Read a message from a SHMEM area 39 * @param shmem pointer to shmem device 45 int scmi_shmem_read_message(const struct device *shmem, 51 * @param shmem pointer to shmem device 57 void scmi_shmem_update_flags(const struct device *shmem, 63 * @param shmem pointer to shmem device [all …]
|
D | util.h | 48 DT_PROP_HAS_IDX(node_id, shmem, idx)
|
/Zephyr-latest/dts/bindings/firmware/ |
D | arm,scmi.yaml | 6 and shared memory (SHMEM) transport. 12 compatible = "arm,scmi-shmem"; 25 shmem = <&scmi_res0>; 50 shmem: 61 1) tx - 1 mbox / 1 shmem (platform and agent use the same 63 2) tx_reply - 2 mbox / 1 shmem (platform and agent use different
|
D | arm,scmi-shmem.yaml | 4 description: System Control and Management Interface (SCMI) shared memory (SHMEM) 6 compatible: "arm,scmi-shmem"
|
D | arm,scmi-clock.yaml | 11 shmem:
|
/Zephyr-latest/drivers/firmware/scmi/ |
D | mailbox.h | 12 #include <zephyr/drivers/firmware/scmi/shmem.h> 20 COND_CODE_1(DT_PROP_HAS_IDX(node_id, shmem, idx), \ 21 (DEVICE_DT_GET(DT_PROP_BY_IDX(node_id, shmem, idx))), \ 38 .shmem = _SCMI_MBOX_SHMEM_BY_IDX(node_id, 0), \ 59 COND_CODE_1(DT_PROP_HAS_IDX(node_id, shmem, idx), \ 74 (DT_INST_PROP_HAS_IDX(inst, shmem, 0) && \ 83 BUILD_ASSERT(DT_INST_PROP_LEN(inst, shmem) == 1, \ 84 "bad SHMEM count"); \ 109 /* SHMEM area bound to the channel */ 110 const struct device *shmem; member
|
D | shmem.c | 7 #include <zephyr/drivers/firmware/scmi/shmem.h> 60 int scmi_shmem_read_message(const struct device *shmem, struct scmi_message *msg) in scmi_shmem_read_message() argument 66 data = shmem->data; in scmi_shmem_read_message() 67 cfg = shmem->config; in scmi_shmem_read_message() 80 LOG_ERR("message doesn't fit in shmem area"); in scmi_shmem_read_message() 107 int scmi_shmem_write_message(const struct device *shmem, struct scmi_message *msg) in scmi_shmem_write_message() argument 113 data = shmem->data; in scmi_shmem_write_message() 114 cfg = shmem->config; in scmi_shmem_write_message() 148 uint32_t scmi_shmem_channel_status(const struct device *shmem) in scmi_shmem_channel_status() argument 153 data = shmem->data; in scmi_shmem_channel_status() [all …]
|
D | Kconfig | 32 bool "SCMI shared memory (SHMEM) driver" 36 Enable support for SCMI shared memory (SHMEM) driver. 39 int "SCMI shared memory (SHMEM) initialization priority" 42 SCMI SHMEM driver device initialization priority.
|
D | mailbox.c | 33 ret = scmi_shmem_write_message(mbox_chan->shmem, msg); in scmi_mbox_send_message() 35 LOG_ERR("failed to write message to shmem: %d", ret); in scmi_mbox_send_message() 56 return scmi_shmem_read_message(mbox_chan->shmem, msg); in scmi_mbox_read_message() 64 return scmi_shmem_channel_status(mbox_chan->shmem) & in scmi_mbox_channel_is_free() 100 scmi_shmem_update_flags(mbox_chan->shmem, in scmi_mbox_setup_chan()
|
D | CMakeLists.txt | 8 zephyr_library_sources_ifdef(CONFIG_ARM_SCMI_SHMEM shmem.c)
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_ivshmem_priv.h | 19 void *shmem; member 33 void *shmem; member
|
D | eth_ivshmem_queue.c | 47 q->tx.shmem = (void *)tx_shmem; in eth_ivshmem_queue_init() 48 q->rx.shmem = (void *)rx_shmem; in eth_ivshmem_queue_init() 51 vring_init(&q->tx.vring, vring_desc_len, q->tx.shmem, ETH_IVSHMEM_VRING_ALIGNMENT); in eth_ivshmem_queue_init() 52 vring_init(&q->rx.vring, vring_desc_len, q->rx.shmem, ETH_IVSHMEM_VRING_ALIGNMENT); in eth_ivshmem_queue_init() 82 memset(q->tx.shmem, 0, q->vring_header_size); in eth_ivshmem_queue_reset() 119 *data = (uint8_t *)q->tx.shmem + q->vring_header_size + head; in eth_ivshmem_queue_tx_get_buff() 182 *data = (uint8_t *)q->rx.shmem + q->vring_header_size + offset; in eth_ivshmem_queue_rx()
|
D | eth_ivshmem.c | 313 LOG_INF("shmem queue: desc len 0x%hX, header size 0x%X, data size 0x%X", in eth_ivshmem_initialize()
|
/Zephyr-latest/tests/drivers/ethernet/eth_ivshmem_queue/src/ |
D | main.c | 63 zassert_equal_ptr(q1.tx.shmem, shmem_buff[0]); in ZTEST() 64 zassert_equal_ptr(q1.rx.shmem, shmem_buff[1]); in ZTEST() 65 zassert_equal_ptr(q2.tx.shmem, shmem_buff[1]); in ZTEST() 66 zassert_equal_ptr(q2.rx.shmem, shmem_buff[0]); in ZTEST() 160 /* Fill queue shmem */ in ZTEST()
|
/Zephyr-latest/drivers/virtualization/ |
D | virt_ivshmem.h | 49 uintptr_t shmem; member
|
D | virt_ivshmem.c | 186 LOG_INF("SHMEM bar present: %s", shmem_bar_present ? "yes" : "no"); in ivshmem_configure() 277 k_mem_map_phys_bare((uint8_t **)&data->shmem, in ivshmem_configure() 301 data->size, shmem_phys_addr, data->shmem); in ivshmem_configure() 318 *memmap = data->shmem; in ivshmem_api_get_mem()
|
D | virt_ivshmem_shell.c | 203 SHELL_CMD(shmem, NULL,
|
/Zephyr-latest/doc/hardware/arch/ |
D | arm-scmi.rst | 112 memory area is performed using a driver (:file:`drivers/firmware/scmi/shmem.c`), 194 compatible = "arm,scmi-shmem"; 203 shmem = <&scmi_res0>;
|
/Zephyr-latest/dts/arm64/nxp/ |
D | nxp_mimx95_a55.dtsi | 86 compatible = "arm,scmi-shmem"; 94 shmem = <&scmi_shmem0>;
|
/Zephyr-latest/dts/arm/nxp/ |
D | nxp_imx95_m7.dtsi | 37 compatible = "arm,scmi-shmem"; 45 shmem = <&scmi_shmem0>;
|
/Zephyr-latest/include/zephyr/ipc/ |
D | ipc_service.h | 429 * back to the pool of shmem buffers. This function can be called in the
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.4.rst | 1268 * ICMSG: added mutual exclusion access to SHMEM.
|