Lines Matching refs:num_tr
2883 int num_tr = 0; in udma_prep_slave_sg_tr() local
2890 num_tr++; in udma_prep_slave_sg_tr()
2892 num_tr += 2; in udma_prep_slave_sg_tr()
2897 d = udma_alloc_tr_desc(uc, tr_size, num_tr, dir); in udma_prep_slave_sg_tr()
2912 num_tr = udma_get_tr_counters(sg_dma_len(sgent), __ffs(sg_addr), in udma_prep_slave_sg_tr()
2914 if (num_tr < 0) { in udma_prep_slave_sg_tr()
2933 if (num_tr == 2) { in udma_prep_slave_sg_tr()
2970 int num_tr = 0; in udma_prep_slave_sg_triggered_tr() local
3020 num_tr++; in udma_prep_slave_sg_triggered_tr()
3022 num_tr += 2; in udma_prep_slave_sg_triggered_tr()
3027 d = udma_alloc_tr_desc(uc, tr_size, num_tr, dir); in udma_prep_slave_sg_triggered_tr()
3046 num_tr = udma_get_tr_counters(sg_len / trigger_size, 0, in udma_prep_slave_sg_triggered_tr()
3048 if (num_tr < 0) { in udma_prep_slave_sg_triggered_tr()
3100 if (num_tr == 2) { in udma_prep_slave_sg_triggered_tr()
3475 int num_tr; in udma_prep_dma_cyclic_tr() local
3477 num_tr = udma_get_tr_counters(period_len, __ffs(buf_addr), &tr0_cnt0, in udma_prep_dma_cyclic_tr()
3479 if (num_tr < 0) { in udma_prep_dma_cyclic_tr()
3487 d = udma_alloc_tr_desc(uc, tr_size, periods * num_tr, dir); in udma_prep_dma_cyclic_tr()
3499 int tr_idx = i * num_tr; in udma_prep_dma_cyclic_tr()
3509 if (num_tr == 2) { in udma_prep_dma_cyclic_tr()
3676 int num_tr; in udma_prep_dma_memcpy() local
3689 num_tr = udma_get_tr_counters(len, __ffs(src | dest), &tr0_cnt0, in udma_prep_dma_memcpy()
3691 if (num_tr < 0) { in udma_prep_dma_memcpy()
3697 d = udma_alloc_tr_desc(uc, tr_size, num_tr, DMA_MEM_TO_MEM); in udma_prep_dma_memcpy()
3731 if (num_tr == 2) { in udma_prep_dma_memcpy()
3749 cppi5_tr_csf_set(&tr_req[num_tr - 1].flags, in udma_prep_dma_memcpy()