Searched refs:num_desc (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/subsys/ipc/ipc_service/backends/ |
D | ipc_rpmsg_static_vrings.h | 158 unsigned int num_desc = 1; in optimal_num_desc() local 162 while (available > shm_size(num_desc, buf_size)) { in optimal_num_desc() 163 num_desc++; in optimal_num_desc() 167 return (--num_desc == 0) ? 0 : (1 << LOG2(num_desc)); in optimal_num_desc()
|
D | ipc_rpmsg_static_vrings.c | 253 unsigned int num_desc; in vr_shm_configure() local 255 num_desc = optimal_num_desc(conf->shm_size, conf->buffer_size); in vr_shm_configure() 256 if (num_desc == 0) { in vr_shm_configure() 283 vr->shm_size = shm_size(num_desc, conf->buffer_size); in vr_shm_configure() 285 vr->rx_addr = vr->shm_addr + VRING_COUNT * vq_ring_size(num_desc, conf->buffer_size); in vr_shm_configure() 286 vr->tx_addr = ROUND_UP(vr->rx_addr + vring_size(num_desc, MEM_ALIGNMENT), in vr_shm_configure() 291 vr->vring_size = num_desc; in vr_shm_configure()
|
/Zephyr-latest/drivers/sdhc/ |
D | sdhc_esp32.c | 221 static void fill_dma_descriptors(struct sdhc_esp32_data *data, size_t num_desc) in fill_dma_descriptors() argument 223 for (size_t i = 0; i < num_desc; ++i) { in fill_dma_descriptors() 259 LOG_DBG("fill %d desc=%d rem=%d next=%d last=%d sz=%d", num_desc, next, in fill_dma_descriptors()
|