Searched refs:shmem (Results 1 – 6 of 6) sorted by relevance
/Zephyr-Core-3.5.0/drivers/ethernet/ |
D | eth_ivshmem_priv.h | 19 void *shmem; member 33 void *shmem; member 43 struct eth_ivshmem_queue *q, uintptr_t shmem,
|
D | eth_ivshmem_queue.c | 31 struct eth_ivshmem_queue *q, uintptr_t shmem, in eth_ivshmem_queue_init() argument 49 q->tx.shmem = (void *)shmem; in eth_ivshmem_queue_init() 50 q->rx.shmem = (void *)(shmem + shmem_section_size); in eth_ivshmem_queue_init() 52 q->rx.shmem = (void *)shmem; in eth_ivshmem_queue_init() 53 q->tx.shmem = (void *)(shmem + shmem_section_size); in eth_ivshmem_queue_init() 57 vring_init(&q->tx.vring, vring_desc_len, q->tx.shmem, ETH_IVSHMEM_VRING_ALIGNMENT); in eth_ivshmem_queue_init() 58 vring_init(&q->rx.vring, vring_desc_len, q->rx.shmem, ETH_IVSHMEM_VRING_ALIGNMENT); in eth_ivshmem_queue_init() 88 memset(q->tx.shmem, 0, q->vring_header_size); in eth_ivshmem_queue_reset() 124 *data = (uint8_t *)q->tx.shmem + q->vring_header_size + head; in eth_ivshmem_queue_tx_get_buff() 187 *data = (uint8_t *)q->rx.shmem + q->vring_header_size + offset; in eth_ivshmem_queue_rx()
|
/Zephyr-Core-3.5.0/tests/drivers/ethernet/eth_ivshmem_queue/src/ |
D | main.c | 58 zassert_equal_ptr(q1.tx.shmem, shmem_buff); in ZTEST() 59 zassert_equal_ptr(q1.rx.shmem, shmem_buff + SHMEM_SECTION_SIZE); in ZTEST() 60 zassert_equal_ptr(q2.tx.shmem, shmem_buff + SHMEM_SECTION_SIZE); in ZTEST() 61 zassert_equal_ptr(q2.rx.shmem, shmem_buff); in ZTEST()
|
/Zephyr-Core-3.5.0/drivers/virtualization/ |
D | virt_ivshmem.c | 254 z_phys_map((uint8_t **)&data->shmem, in ivshmem_configure() 277 data->size, shmem_phys_addr, data->shmem); in ivshmem_configure() 287 *memmap = data->shmem; in ivshmem_api_get_mem() 396 *memmap = data->shmem + data->rw_section_offset; in ivshmem_api_get_rw_mem_section() 412 *memmap = data->shmem + data->output_section_offset + in ivshmem_api_get_output_mem_section() 428 (const volatile uint32_t *)data->shmem; in ivshmem_api_get_state()
|
D | virt_ivshmem.h | 49 uintptr_t shmem; member
|
D | virt_ivshmem_shell.c | 198 SHELL_CMD(shmem, NULL,
|