Lines Matching refs:ivshmem
50 const struct device *ivshmem; member
118 ivshmem_int_peer(cfg_data->ivshmem, dev_data->peer_id, dev_data->tx_rx_vector); in eth_ivshmem_send()
158 ivshmem_int_peer(cfg_data->ivshmem, dev_data->peer_id, dev_data->tx_rx_vector); in eth_ivshmem_rx()
173 ivshmem_set_state(cfg_data->ivshmem, state); in eth_ivshmem_set_state()
181 uint32_t peer_state = ivshmem_get_state(cfg_data->ivshmem, dev_data->peer_id); in eth_ivshmem_state_update()
274 if (!device_is_ready(cfg_data->ivshmem)) { in eth_ivshmem_initialize()
279 uint16_t protocol = ivshmem_get_protocol(cfg_data->ivshmem); in eth_ivshmem_initialize()
286 uint32_t id = ivshmem_get_id(cfg_data->ivshmem); in eth_ivshmem_initialize()
287 uint32_t max_peers = ivshmem_get_max_peers(cfg_data->ivshmem); in eth_ivshmem_initialize()
302 cfg_data->ivshmem, 0, &output_sections[0]); in eth_ivshmem_initialize()
304 cfg_data->ivshmem, 1, &output_sections[1]); in eth_ivshmem_initialize()
318 uint16_t n_vectors = ivshmem_get_vectors(cfg_data->ivshmem); in eth_ivshmem_initialize()
321 ivshmem_register_handler(cfg_data->ivshmem, &dev_data->poll_signal, 0); in eth_ivshmem_initialize()
327 ivshmem_register_handler(cfg_data->ivshmem, &dev_data->poll_signal, 1); in eth_ivshmem_initialize()
331 ivshmem_set_state(cfg_data->ivshmem, ETH_IVSHMEM_STATE_RESET); in eth_ivshmem_initialize()
348 ivshmem_enable_interrupts(cfg_data->ivshmem, true); in eth_ivshmem_initialize()
418 .ivshmem = DEVICE_DT_GET(DT_INST_PHANDLE(inst, ivshmem_v2)), \