Searched refs:MEM_ALIGNMENT (Results 1 – 4 of 4) sorted by relevance
146 return ROUND_UP((buf_size * num), MEM_ALIGNMENT); in vq_ring_size()152 ROUND_UP(vring_size(num, MEM_ALIGNMENT), MEM_ALIGNMENT))); in shm_size()
282 vr->shm_addr = ROUND_UP(conf->shm_addr + VDEV_STATUS_SIZE, MEM_ALIGNMENT); in vr_shm_configure()286 vr->tx_addr = ROUND_UP(vr->rx_addr + vring_size(num_desc, MEM_ALIGNMENT), in vr_shm_configure()287 MEM_ALIGNMENT); in vr_shm_configure()787 __ASSERT((MEM_ALIGNMENT % sys_cache_data_line_size_get()) == 0U, in backend_init()
33 #define MEM_ALIGNMENT CONFIG_IPC_SERVICE_STATIC_VRINGS_MEM_ALIGNMENT macro
88 vr->rvrings[RPMSG_VQ_0].info.align = MEM_ALIGNMENT; in vq_setup()94 vr->rvrings[RPMSG_VQ_1].info.align = MEM_ALIGNMENT; in vq_setup()