Home
last modified time | relevance | path

Searched refs:max_peers (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.5.0/drivers/virtualization/
Dvirt_ivshmem.h58 uint32_t max_peers; member
77 uint32_t max_peers; member
Dvirt_ivshmem.c200 data->max_peers = regs->max_peers; in ivshmem_configure()
201 if (!IN_RANGE(data->max_peers, 2, 0x10000)) { in ivshmem_configure()
202 LOG_ERR("Invalid max peers %u", data->max_peers); in ivshmem_configure()
218 if (state_table_size < sizeof(uint32_t) * data->max_peers) { in ivshmem_configure()
234 data->output_section_size * data->max_peers; in ivshmem_configure()
340 if (data->ivshmem_v2 && peer_id >= data->max_peers) { in ivshmem_api_int_peer()
407 if (!data->ivshmem_v2 || peer_id >= data->max_peers) { in ivshmem_api_get_output_mem_section()
423 if (!data->ivshmem_v2 || peer_id >= data->max_peers) { in ivshmem_api_get_state()
458 return data->max_peers; in ivshmem_api_get_max_peers()
/Zephyr-Core-3.5.0/drivers/ethernet/
Deth_ivshmem.c287 uint32_t max_peers = ivshmem_get_max_peers(cfg_data->ivshmem); in eth_ivshmem_initialize() local
289 LOG_INF("ivshmem: id %u, max_peers %u", id, max_peers); in eth_ivshmem_initialize()
294 if (max_peers != 2) { in eth_ivshmem_initialize()
295 LOG_ERR("Invalid ivshmem max peers %u", max_peers); in eth_ivshmem_initialize()