Home
last modified time | relevance | path

Searched refs:DMA_MAX_SIZE (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/dma/
Dsa11x0-dma.c24 #define DMA_MAX_SIZE 0x1fff macro
547 if (len > DMA_MAX_SIZE) in sa11x0_dma_prep_slave_sg()
548 j += DIV_ROUND_UP(len, DMA_MAX_SIZE & ~DMA_ALIGN) - 1; in sa11x0_dma_prep_slave_sg()
579 if (tlen > DMA_MAX_SIZE) { in sa11x0_dma_prep_slave_sg()
581 DMA_MAX_SIZE & ~DMA_ALIGN); in sa11x0_dma_prep_slave_sg()
619 sgperiod = DIV_ROUND_UP(period, DMA_MAX_SIZE & ~DMA_ALIGN); in sa11x0_dma_prep_dma_cyclic()
639 if (tlen > DMA_MAX_SIZE) { in sa11x0_dma_prep_dma_cyclic()
640 unsigned mult = DIV_ROUND_UP(tlen, DMA_MAX_SIZE & ~DMA_ALIGN); in sa11x0_dma_prep_dma_cyclic()
Dk3dma.c25 #define DMA_MAX_SIZE 0x1ffc macro
500 num = DIV_ROUND_UP(len, DMA_MAX_SIZE); in k3_dma_prep_memcpy()
518 copy = min_t(size_t, len, DMA_MAX_SIZE); in k3_dma_prep_memcpy()
548 if (avail > DMA_MAX_SIZE) in k3_dma_prep_slave_sg()
549 num += DIV_ROUND_UP(avail, DMA_MAX_SIZE) - 1; in k3_dma_prep_slave_sg()
564 len = min_t(size_t, avail, DMA_MAX_SIZE); in k3_dma_prep_slave_sg()
/linux-6.12.1/drivers/scsi/
Dg_NCR5380.c82 #define DMA_MAX_SIZE 32768 macro
681 return min(transfersize, DMA_MAX_SIZE); in generic_NCR5380_dma_xfer_len()
/linux-6.12.1/drivers/dma/lgm/
Dlgm-dma.c172 #define DMA_MAX_SIZE (BIT(16) - 1) macro
1178 if (avail > DMA_MAX_SIZE) in ldma_prep_slave_sg()
1179 num += DIV_ROUND_UP(avail, DMA_MAX_SIZE) - 1; in ldma_prep_slave_sg()
1196 len = min_t(size_t, avail, DMA_MAX_SIZE); in ldma_prep_slave_sg()