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()
303 cfg_data->ivshmem, 0, &output_section_addr); in eth_ivshmem_initialize()
317 uint16_t n_vectors = ivshmem_get_vectors(cfg_data->ivshmem); in eth_ivshmem_initialize()
320 ivshmem_register_handler(cfg_data->ivshmem, &dev_data->poll_signal, 0); in eth_ivshmem_initialize()
326 ivshmem_register_handler(cfg_data->ivshmem, &dev_data->poll_signal, 1); in eth_ivshmem_initialize()
330 ivshmem_set_state(cfg_data->ivshmem, ETH_IVSHMEM_STATE_RESET); in eth_ivshmem_initialize()
347 ivshmem_enable_interrupts(cfg_data->ivshmem, true); in eth_ivshmem_initialize()
420 .ivshmem = DEVICE_DT_GET(DT_INST_PHANDLE(inst, ivshmem_v2)), \