Lines Matching refs:tr0_cnt0
2844 u16 *tr0_cnt0, u16 *tr0_cnt1, u16 *tr1_cnt0) in udma_get_tr_counters() argument
2847 *tr0_cnt0 = len; in udma_get_tr_counters()
2857 *tr0_cnt0 = SZ_64K - BIT(align_to); in udma_get_tr_counters()
2858 if (len / *tr0_cnt0 >= SZ_64K) { in udma_get_tr_counters()
2866 *tr0_cnt1 = len / *tr0_cnt0; in udma_get_tr_counters()
2867 *tr1_cnt0 = len % *tr0_cnt0; in udma_get_tr_counters()
2880 u16 tr0_cnt0, tr0_cnt1, tr1_cnt0; in udma_prep_slave_sg_tr() local
2913 &tr0_cnt0, &tr0_cnt1, &tr1_cnt0); in udma_prep_slave_sg_tr()
2928 tr_req[tr_idx].icnt0 = tr0_cnt0; in udma_prep_slave_sg_tr()
2930 tr_req[tr_idx].dim1 = tr0_cnt0; in udma_prep_slave_sg_tr()
2940 tr_req[tr_idx].addr = sg_addr + tr0_cnt1 * tr0_cnt0; in udma_prep_slave_sg_tr()
3473 u16 tr0_cnt0, tr0_cnt1, tr1_cnt0; 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()
3505 tr_req[tr_idx].icnt0 = tr0_cnt0; in udma_prep_dma_cyclic_tr()
3507 tr_req[tr_idx].dim1 = tr0_cnt0; in udma_prep_dma_cyclic_tr()
3518 tr_req[tr_idx].addr = period_addr + tr0_cnt1 * tr0_cnt0; in udma_prep_dma_cyclic_tr()
3678 u16 tr0_cnt0, tr0_cnt1, tr1_cnt0; in udma_prep_dma_memcpy() local
3689 num_tr = udma_get_tr_counters(len, __ffs(src | dest), &tr0_cnt0, in udma_prep_dma_memcpy()
3718 tr_req[0].icnt0 = tr0_cnt0; in udma_prep_dma_memcpy()
3722 tr_req[0].dim1 = tr0_cnt0; in udma_prep_dma_memcpy()
3725 tr_req[0].dicnt0 = tr0_cnt0; in udma_prep_dma_memcpy()
3729 tr_req[0].ddim1 = tr0_cnt0; in udma_prep_dma_memcpy()
3736 tr_req[1].addr = src + tr0_cnt1 * tr0_cnt0; in udma_prep_dma_memcpy()
3742 tr_req[1].daddr = dest + tr0_cnt1 * tr0_cnt0; in udma_prep_dma_memcpy()