Lines Matching refs:xfer_count
717 size_t xfer_count; in txx9dmac_prep_dma_memcpy() local
730 for (offset = 0; offset < len; offset += xfer_count) { in txx9dmac_prep_dma_memcpy()
731 xfer_count = min_t(size_t, len - offset, TXX9_DMA_MAX_COUNT); in txx9dmac_prep_dma_memcpy()
737 if (xfer_count > 0x100 && in txx9dmac_prep_dma_memcpy()
738 (xfer_count & 0xff) >= 0xfa && in txx9dmac_prep_dma_memcpy()
739 (xfer_count & 0xff) <= 0xff) in txx9dmac_prep_dma_memcpy()
740 xfer_count -= 0x20; in txx9dmac_prep_dma_memcpy()
742 if (xfer_count > 0x80 && in txx9dmac_prep_dma_memcpy()
743 (xfer_count & 0x7f) >= 0x7e && in txx9dmac_prep_dma_memcpy()
744 (xfer_count & 0x7f) <= 0x7f) in txx9dmac_prep_dma_memcpy()
745 xfer_count -= 0x20; in txx9dmac_prep_dma_memcpy()
757 desc->hwdesc.CNTR = xfer_count; in txx9dmac_prep_dma_memcpy()
763 desc->hwdesc32.CNTR = xfer_count; in txx9dmac_prep_dma_memcpy()