Lines Matching refs:num_tr

2882 	int num_tr = 0;  in udma_prep_slave_sg_tr()  local
2889 num_tr++; in udma_prep_slave_sg_tr()
2891 num_tr += 2; in udma_prep_slave_sg_tr()
2896 d = udma_alloc_tr_desc(uc, tr_size, num_tr, dir); in udma_prep_slave_sg_tr()
2911 num_tr = udma_get_tr_counters(sg_dma_len(sgent), __ffs(sg_addr), in udma_prep_slave_sg_tr()
2913 if (num_tr < 0) { in udma_prep_slave_sg_tr()
2932 if (num_tr == 2) { in udma_prep_slave_sg_tr()
2969 int num_tr = 0; in udma_prep_slave_sg_triggered_tr() local
3019 num_tr++; in udma_prep_slave_sg_triggered_tr()
3021 num_tr += 2; in udma_prep_slave_sg_triggered_tr()
3026 d = udma_alloc_tr_desc(uc, tr_size, num_tr, dir); in udma_prep_slave_sg_triggered_tr()
3045 num_tr = udma_get_tr_counters(sg_len / trigger_size, 0, in udma_prep_slave_sg_triggered_tr()
3047 if (num_tr < 0) { in udma_prep_slave_sg_triggered_tr()
3099 if (num_tr == 2) { in udma_prep_slave_sg_triggered_tr()
3474 int num_tr; in udma_prep_dma_cyclic_tr() local
3476 num_tr = udma_get_tr_counters(period_len, __ffs(buf_addr), &tr0_cnt0, in udma_prep_dma_cyclic_tr()
3478 if (num_tr < 0) { in udma_prep_dma_cyclic_tr()
3486 d = udma_alloc_tr_desc(uc, tr_size, periods * num_tr, dir); in udma_prep_dma_cyclic_tr()
3498 int tr_idx = i * num_tr; in udma_prep_dma_cyclic_tr()
3508 if (num_tr == 2) { in udma_prep_dma_cyclic_tr()
3675 int num_tr; in udma_prep_dma_memcpy() local
3688 num_tr = udma_get_tr_counters(len, __ffs(src | dest), &tr0_cnt0, in udma_prep_dma_memcpy()
3690 if (num_tr < 0) { in udma_prep_dma_memcpy()
3696 d = udma_alloc_tr_desc(uc, tr_size, num_tr, DMA_MEM_TO_MEM); in udma_prep_dma_memcpy()
3730 if (num_tr == 2) { in udma_prep_dma_memcpy()
3748 cppi5_tr_csf_set(&tr_req[num_tr - 1].flags, in udma_prep_dma_memcpy()