Home
last modified time | relevance | path

Searched refs:dma_alignment (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/drivers/misc/mic/vop/
Dvop_vringh.c534 size_t dma_alignment = 1 << vi->dma_ch->device->copy_align; in vop_virtio_copy_to_user() local
551 dma_offset = daddr - round_down(daddr, dma_alignment); in vop_virtio_copy_to_user()
565 ALIGN(partlen, dma_alignment)); in vop_virtio_copy_to_user()
609 size_t dma_alignment = 1 << vi->dma_ch->device->copy_align; in vop_virtio_copy_from_user() local
615 if (daddr & (dma_alignment - 1)) { in vop_virtio_copy_from_user()
618 } else if (ALIGN(len, dma_alignment) > dlen) { in vop_virtio_copy_from_user()
644 ALIGN(partlen, dma_alignment)); in vop_virtio_copy_from_user()
/Linux-v4.19/block/
Dblk-settings.c833 q->dma_alignment = mask; in blk_queue_dma_alignment()
855 if (mask > q->dma_alignment) in blk_queue_update_dma_alignment()
856 q->dma_alignment = mask; in blk_queue_update_dma_alignment()
/Linux-v4.19/drivers/spi/
Dspi-loopback-test.c998 (spi->master->dma_alignment ? \ in spi_test_run_test()
999 spi->master->dma_alignment : \ in spi_test_run_test()
Dspi-pic32-sqi.c657 master->dma_alignment = 32; in pic32_sqi_probe()
Dspi-qup.c1041 master->dma_alignment = dma_get_cache_alignment(); in spi_qup_probe()
Dspi-s3c64xx.c1090 master->dma_alignment = 8; in s3c64xx_spi_probe()
Dspi-pxa2xx.c1563 master->dma_alignment = DMA_ALIGNMENT; in pxa2xx_spi_probe()
/Linux-v4.19/drivers/atm/
Dsolos-pci.c135 int dma_alignment; member
1102 if ((unsigned long)data & card->dma_alignment) { in fpga_tx()
1293 card->dma_alignment = 3; in fpga_probe()
/Linux-v4.19/include/linux/spi/
Dspi.h428 u16 dma_alignment; member
/Linux-v4.19/include/linux/
Dblkdev.h558 unsigned int dma_alignment; member
1639 return q ? q->dma_alignment : 511; in queue_dma_alignment()