Lines Matching refs:num_tr

2886 	int num_tr = 0;  in udma_prep_slave_sg_tr()  local
2893 num_tr++; in udma_prep_slave_sg_tr()
2895 num_tr += 2; in udma_prep_slave_sg_tr()
2900 d = udma_alloc_tr_desc(uc, tr_size, num_tr, dir); in udma_prep_slave_sg_tr()
2915 num_tr = udma_get_tr_counters(sg_dma_len(sgent), __ffs(sg_addr), in udma_prep_slave_sg_tr()
2917 if (num_tr < 0) { in udma_prep_slave_sg_tr()
2936 if (num_tr == 2) { in udma_prep_slave_sg_tr()
2974 int num_tr = 0; in udma_prep_slave_sg_triggered_tr() local
3024 num_tr++; in udma_prep_slave_sg_triggered_tr()
3026 num_tr += 2; in udma_prep_slave_sg_triggered_tr()
3031 d = udma_alloc_tr_desc(uc, tr_size, num_tr, dir); in udma_prep_slave_sg_triggered_tr()
3051 num_tr = udma_get_tr_counters(sg_len / trigger_size, 0, in udma_prep_slave_sg_triggered_tr()
3053 if (num_tr < 0) { in udma_prep_slave_sg_triggered_tr()
3105 if (num_tr == 2) { in udma_prep_slave_sg_triggered_tr()
3478 int num_tr; in udma_prep_dma_cyclic_tr() local
3480 num_tr = udma_get_tr_counters(period_len, __ffs(buf_addr), &tr0_cnt0, in udma_prep_dma_cyclic_tr()
3482 if (num_tr < 0) { in udma_prep_dma_cyclic_tr()
3490 d = udma_alloc_tr_desc(uc, tr_size, periods * num_tr, dir); in udma_prep_dma_cyclic_tr()
3502 int tr_idx = i * num_tr; in udma_prep_dma_cyclic_tr()
3512 if (num_tr == 2) { in udma_prep_dma_cyclic_tr()
3679 int num_tr; in udma_prep_dma_memcpy() local
3693 num_tr = udma_get_tr_counters(len, __ffs(src | dest), &tr0_cnt0, in udma_prep_dma_memcpy()
3695 if (num_tr < 0) { in udma_prep_dma_memcpy()
3701 d = udma_alloc_tr_desc(uc, tr_size, num_tr, DMA_MEM_TO_MEM); in udma_prep_dma_memcpy()
3737 if (num_tr == 2) { in udma_prep_dma_memcpy()
3755 cppi5_tr_csf_set(&tr_req[num_tr - 1].flags, csf | CPPI5_TR_CSF_EOP); in udma_prep_dma_memcpy()