Lines Matching refs:tr0_cnt0
2847 u16 *tr0_cnt0, u16 *tr0_cnt1, u16 *tr1_cnt0) in udma_get_tr_counters() argument
2850 *tr0_cnt0 = len; in udma_get_tr_counters()
2860 *tr0_cnt0 = SZ_64K - BIT(align_to); in udma_get_tr_counters()
2861 if (len / *tr0_cnt0 >= SZ_64K) { in udma_get_tr_counters()
2869 *tr0_cnt1 = len / *tr0_cnt0; in udma_get_tr_counters()
2870 *tr1_cnt0 = len % *tr0_cnt0; in udma_get_tr_counters()
2883 u16 tr0_cnt0, tr0_cnt1, tr1_cnt0; in udma_prep_slave_sg_tr() local
2916 &tr0_cnt0, &tr0_cnt1, &tr1_cnt0); in udma_prep_slave_sg_tr()
2931 tr_req[tr_idx].icnt0 = tr0_cnt0; in udma_prep_slave_sg_tr()
2933 tr_req[tr_idx].dim1 = tr0_cnt0; in udma_prep_slave_sg_tr()
2943 tr_req[tr_idx].addr = sg_addr + tr0_cnt1 * tr0_cnt0; in udma_prep_slave_sg_tr()
3476 u16 tr0_cnt0, tr0_cnt1, tr1_cnt0; 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()
3508 tr_req[tr_idx].icnt0 = tr0_cnt0; in udma_prep_dma_cyclic_tr()
3510 tr_req[tr_idx].dim1 = tr0_cnt0; in udma_prep_dma_cyclic_tr()
3521 tr_req[tr_idx].addr = period_addr + tr0_cnt1 * tr0_cnt0; in udma_prep_dma_cyclic_tr()
3681 u16 tr0_cnt0, tr0_cnt1, tr1_cnt0; in udma_prep_dma_memcpy() local
3693 num_tr = udma_get_tr_counters(len, __ffs(src | dest), &tr0_cnt0, in udma_prep_dma_memcpy()
3724 tr_req[0].icnt0 = tr0_cnt0; in udma_prep_dma_memcpy()
3728 tr_req[0].dim1 = tr0_cnt0; in udma_prep_dma_memcpy()
3731 tr_req[0].dicnt0 = tr0_cnt0; in udma_prep_dma_memcpy()
3735 tr_req[0].ddim1 = tr0_cnt0; in udma_prep_dma_memcpy()
3742 tr_req[1].addr = src + tr0_cnt1 * tr0_cnt0; in udma_prep_dma_memcpy()
3748 tr_req[1].daddr = dest + tr0_cnt1 * tr0_cnt0; in udma_prep_dma_memcpy()