Lines Matching refs:mc_seq
193 u32 mc_seq; member
533 tdc_write(tdc, TEGRA_GPCDMA_CHAN_MCSEQ, ch_regs->mc_seq); in tegra_dma_start()
866 u32 csr, mc_seq; in tegra_dma_prep_dma_memset() local
886 mc_seq = tdc_read(tdc, TEGRA_GPCDMA_CHAN_MCSEQ); in tegra_dma_prep_dma_memset()
888 mc_seq &= TEGRA_GPCDMA_MCSEQ_STREAM_ID0_MASK; in tegra_dma_prep_dma_memset()
891 mc_seq |= FIELD_PREP(TEGRA_GPCDMA_MCSEQ_WRAP0, in tegra_dma_prep_dma_memset()
893 mc_seq |= FIELD_PREP(TEGRA_GPCDMA_MCSEQ_WRAP1, in tegra_dma_prep_dma_memset()
897 mc_seq |= FIELD_PREP(TEGRA_GPCDMA_MCSEQ_REQ_COUNT, 1); in tegra_dma_prep_dma_memset()
899 mc_seq |= TEGRA_GPCDMA_MCSEQ_BURST_16; in tegra_dma_prep_dma_memset()
918 sg_req[0].ch_regs.mc_seq = mc_seq; in tegra_dma_prep_dma_memset()
933 u32 csr, mc_seq; in tegra_dma_prep_dma_memcpy() local
954 mc_seq = tdc_read(tdc, TEGRA_GPCDMA_CHAN_MCSEQ); in tegra_dma_prep_dma_memcpy()
956 mc_seq &= (TEGRA_GPCDMA_MCSEQ_STREAM_ID0_MASK) | in tegra_dma_prep_dma_memcpy()
960 mc_seq |= FIELD_PREP(TEGRA_GPCDMA_MCSEQ_WRAP0, in tegra_dma_prep_dma_memcpy()
962 mc_seq |= FIELD_PREP(TEGRA_GPCDMA_MCSEQ_WRAP1, in tegra_dma_prep_dma_memcpy()
966 mc_seq |= FIELD_PREP(TEGRA_GPCDMA_MCSEQ_REQ_COUNT, 1); in tegra_dma_prep_dma_memcpy()
968 mc_seq |= TEGRA_GPCDMA_MCSEQ_BURST_16; in tegra_dma_prep_dma_memcpy()
988 sg_req[0].ch_regs.mc_seq = mc_seq; in tegra_dma_prep_dma_memcpy()
1003 u32 csr, mc_seq, apb_ptr = 0, mmio_seq = 0; in tegra_dma_prep_slave_sg() local
1042 mc_seq = tdc_read(tdc, TEGRA_GPCDMA_CHAN_MCSEQ); in tegra_dma_prep_slave_sg()
1044 mc_seq &= TEGRA_GPCDMA_MCSEQ_STREAM_ID0_MASK; in tegra_dma_prep_slave_sg()
1048 mc_seq |= FIELD_PREP(TEGRA_GPCDMA_MCSEQ_WRAP0, in tegra_dma_prep_slave_sg()
1050 mc_seq |= FIELD_PREP(TEGRA_GPCDMA_MCSEQ_WRAP1, in tegra_dma_prep_slave_sg()
1055 mc_seq |= FIELD_PREP(TEGRA_GPCDMA_MCSEQ_REQ_COUNT, 1); in tegra_dma_prep_slave_sg()
1059 mc_seq |= TEGRA_GPCDMA_MCSEQ_BURST_16; in tegra_dma_prep_slave_sg()
1061 mc_seq |= TEGRA_GPCDMA_MCSEQ_BURST_2; in tegra_dma_prep_slave_sg()
1107 sg_req[i].ch_regs.mc_seq = mc_seq; in tegra_dma_prep_slave_sg()
1121 u32 csr, mc_seq, apb_ptr = 0, mmio_seq = 0, burst_size; in tegra_dma_prep_dma_cyclic() local
1179 mc_seq = tdc_read(tdc, TEGRA_GPCDMA_CHAN_MCSEQ); in tegra_dma_prep_dma_cyclic()
1181 mc_seq &= TEGRA_GPCDMA_MCSEQ_STREAM_ID0_MASK; in tegra_dma_prep_dma_cyclic()
1184 mc_seq |= FIELD_PREP(TEGRA_GPCDMA_MCSEQ_WRAP0, in tegra_dma_prep_dma_cyclic()
1186 mc_seq |= FIELD_PREP(TEGRA_GPCDMA_MCSEQ_WRAP1, in tegra_dma_prep_dma_cyclic()
1190 mc_seq |= FIELD_PREP(TEGRA_GPCDMA_MCSEQ_REQ_COUNT, 1); in tegra_dma_prep_dma_cyclic()
1193 mc_seq |= TEGRA_GPCDMA_MCSEQ_BURST_16; in tegra_dma_prep_dma_cyclic()
1195 mc_seq |= TEGRA_GPCDMA_MCSEQ_BURST_2; in tegra_dma_prep_dma_cyclic()
1228 sg_req[i].ch_regs.mc_seq = mc_seq; in tegra_dma_prep_dma_cyclic()