Lines Matching refs:buf_cnt
493 uint32_t buf_cnt = p_i2s[i2s_num]->dma_desc_num; in i2s_delete_dma_buffer() local
495 for (int cnt = 0; cnt < buf_cnt; cnt++) { in i2s_delete_dma_buffer()
513 uint32_t buf_cnt = p_i2s[i2s_num]->dma_desc_num; in i2s_alloc_dma_buffer() local
514 for (int cnt = 0; cnt < buf_cnt; cnt++) { in i2s_alloc_dma_buffer()
526 for (int cnt = 0; cnt < buf_cnt; cnt++) { in i2s_alloc_dma_buffer()
536 …dma_obj->desc[cnt]->empty = (uint32_t)((cnt < (buf_cnt - 1)) ? (dma_obj->desc[cnt + 1]) : dma_obj-… in i2s_alloc_dma_buffer()
541 …GD(TAG, "DMA Malloc info, datalen=blocksize=%d, dma_desc_num=%"PRIu32, dma_obj->buf_size, buf_cnt); in i2s_alloc_dma_buffer()
595 uint32_t buf_cnt = p_i2s[i2s_num]->dma_desc_num; in i2s_create_dma_object() local
600 (*dma)->buf = (char **)heap_caps_calloc(buf_cnt, sizeof(char *), MALLOC_CAP_DMA); in i2s_create_dma_object()
605 (*dma)->desc = (lldesc_t **)heap_caps_calloc(buf_cnt, sizeof(lldesc_t *), MALLOC_CAP_DMA); in i2s_create_dma_object()
610 (*dma)->queue = xQueueCreate(buf_cnt - 1, sizeof(char *)); in i2s_create_dma_object()
1824 uint32_t buf_cnt = p_i2s[i2s_num]->dma_desc_num; in i2s_zero_dma_buffer() local
1828 for (int i = 0; i < buf_cnt; i++) { in i2s_zero_dma_buffer()
1842 for (int i = 0; i < buf_cnt; i++) { in i2s_zero_dma_buffer()