Searched refs:eth_ivshmem_queue (Results 1 – 6 of 6) sorted by relevance
/Zephyr-Core-3.5.0/drivers/ethernet/ |
D | eth_ivshmem_priv.h | 16 struct eth_ivshmem_queue { struct 43 struct eth_ivshmem_queue *q, uintptr_t shmem, argument 45 void eth_ivshmem_queue_reset(struct eth_ivshmem_queue *q); 46 int eth_ivshmem_queue_tx_get_buff(struct eth_ivshmem_queue *q, void **data, size_t len); 47 int eth_ivshmem_queue_tx_commit_buff(struct eth_ivshmem_queue *q); 48 int eth_ivshmem_queue_rx(struct eth_ivshmem_queue *q, const void **data, size_t *len); 49 int eth_ivshmem_queue_rx_complete(struct eth_ivshmem_queue *q);
|
D | eth_ivshmem_queue.c | 27 static int tx_clean_used(struct eth_ivshmem_queue *q); 28 static int get_rx_avail_desc_idx(struct eth_ivshmem_queue *q, uint16_t *avail_desc_idx); 31 struct eth_ivshmem_queue *q, uintptr_t shmem, in eth_ivshmem_queue_init() 74 void eth_ivshmem_queue_reset(struct eth_ivshmem_queue *q) in eth_ivshmem_queue_reset() 96 int eth_ivshmem_queue_tx_get_buff(struct eth_ivshmem_queue *q, void **data, size_t len) in eth_ivshmem_queue_tx_get_buff() 132 int eth_ivshmem_queue_tx_commit_buff(struct eth_ivshmem_queue *q) in eth_ivshmem_queue_tx_commit_buff() 162 int eth_ivshmem_queue_rx(struct eth_ivshmem_queue *q, const void **data, size_t *len) in eth_ivshmem_queue_rx() 193 int eth_ivshmem_queue_rx_complete(struct eth_ivshmem_queue *q) in eth_ivshmem_queue_rx_complete() 272 static int tx_clean_used(struct eth_ivshmem_queue *q) in tx_clean_used() 312 static int get_rx_avail_desc_idx(struct eth_ivshmem_queue *q, uint16_t *avail_desc_idx) in get_rx_avail_desc_idx()
|
D | CMakeLists.txt | 35 zephyr_library_sources_ifdef(CONFIG_ETH_IVSHMEM eth_ivshmem.c eth_ivshmem_queue.c)
|
D | eth_ivshmem.c | 38 struct eth_ivshmem_queue ivshmem_queue;
|
/Zephyr-Core-3.5.0/tests/drivers/ethernet/eth_ivshmem_queue/ |
D | CMakeLists.txt | 5 project(eth_ivshmem_queue) project 11 ${ZEPHYR_BASE}/drivers/ethernet/eth_ivshmem_queue.c)
|
/Zephyr-Core-3.5.0/tests/drivers/ethernet/eth_ivshmem_queue/src/ |
D | main.c | 18 static struct eth_ivshmem_queue q1, q2; 32 static inline int queue_tx(struct eth_ivshmem_queue *q, const void *data, size_t len) in queue_tx()
|