/Zephyr-latest/include/zephyr/drivers/firmware/scmi/ |
D | shmem.h | 33 int scmi_shmem_write_message(const struct device *shmem, 45 int scmi_shmem_read_message(const struct device *shmem, 57 void scmi_shmem_update_flags(const struct device *shmem, 65 uint32_t scmi_shmem_channel_status(const struct device *shmem);
|
D | util.h | 48 DT_PROP_HAS_IDX(node_id, shmem, idx)
|
/Zephyr-latest/drivers/firmware/scmi/ |
D | mailbox.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, \ 110 const struct device *shmem; member
|
D | shmem.c | 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() 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() 159 void scmi_shmem_update_flags(const struct device *shmem, uint32_t mask, uint32_t val) in scmi_shmem_update_flags() argument 164 data = shmem->data; in scmi_shmem_update_flags()
|
D | mailbox.c | 33 ret = scmi_shmem_write_message(mbox_chan->shmem, msg); 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()
|
/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()
|
/Zephyr-latest/drivers/virtualization/ |
D | virt_ivshmem.h | 49 uintptr_t shmem; member
|
D | virt_ivshmem.c | 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/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/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>;
|