Lines Matching refs:num_tr
2866 int num_tr = 0; in udma_prep_slave_sg_tr() local
2873 num_tr++; in udma_prep_slave_sg_tr()
2875 num_tr += 2; in udma_prep_slave_sg_tr()
2880 d = udma_alloc_tr_desc(uc, tr_size, num_tr, dir); in udma_prep_slave_sg_tr()
2895 num_tr = udma_get_tr_counters(sg_dma_len(sgent), __ffs(sg_addr), in udma_prep_slave_sg_tr()
2897 if (num_tr < 0) { in udma_prep_slave_sg_tr()
2916 if (num_tr == 2) { in udma_prep_slave_sg_tr()
2953 int num_tr = 0; in udma_prep_slave_sg_triggered_tr() local
3003 num_tr++; in udma_prep_slave_sg_triggered_tr()
3005 num_tr += 2; in udma_prep_slave_sg_triggered_tr()
3010 d = udma_alloc_tr_desc(uc, tr_size, num_tr, dir); in udma_prep_slave_sg_triggered_tr()
3029 num_tr = udma_get_tr_counters(sg_len / trigger_size, 0, in udma_prep_slave_sg_triggered_tr()
3031 if (num_tr < 0) { in udma_prep_slave_sg_triggered_tr()
3083 if (num_tr == 2) { in udma_prep_slave_sg_triggered_tr()
3456 int num_tr; in udma_prep_dma_cyclic_tr() local
3458 num_tr = udma_get_tr_counters(period_len, __ffs(buf_addr), &tr0_cnt0, in udma_prep_dma_cyclic_tr()
3460 if (num_tr < 0) { in udma_prep_dma_cyclic_tr()
3468 d = udma_alloc_tr_desc(uc, tr_size, periods * num_tr, dir); in udma_prep_dma_cyclic_tr()
3480 int tr_idx = i * num_tr; in udma_prep_dma_cyclic_tr()
3490 if (num_tr == 2) { in udma_prep_dma_cyclic_tr()
3657 int num_tr; in udma_prep_dma_memcpy() local
3670 num_tr = udma_get_tr_counters(len, __ffs(src | dest), &tr0_cnt0, in udma_prep_dma_memcpy()
3672 if (num_tr < 0) { in udma_prep_dma_memcpy()
3678 d = udma_alloc_tr_desc(uc, tr_size, num_tr, DMA_MEM_TO_MEM); in udma_prep_dma_memcpy()
3712 if (num_tr == 2) { in udma_prep_dma_memcpy()
3730 cppi5_tr_csf_set(&tr_req[num_tr - 1].flags, in udma_prep_dma_memcpy()