Home
last modified time | relevance | path

Searched refs:dma_align (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/freescale/enetc/
Denetc.h427 dma_addr_t dma_align; in enetc_cbd_alloc_data_mem() local
438 dma_align = ALIGN(*dma, ENETC_CBD_DATA_MEM_ALIGN); in enetc_cbd_alloc_data_mem()
441 cbd->addr[0] = cpu_to_le32(lower_32_bits(dma_align)); in enetc_cbd_alloc_data_mem()
442 cbd->addr[1] = cpu_to_le32(upper_32_bits(dma_align)); in enetc_cbd_alloc_data_mem()
/Linux-v6.1/drivers/gpu/drm/xlnx/
Dzynqmp_dpsub.h46 unsigned int dma_align; member
Dzynqmp_dpsub.c48 args->pitch = ALIGN(pitch, dpsub->dma_align); in zynqmp_dpsub_dumb_create()
63 cmd.pitches[i] = ALIGN(cmd.pitches[i], dpsub->dma_align); in zynqmp_dpsub_fb_create()
Dzynqmp_disp.c1687 dpsub->dma_align = 1 << layer->dmas[0].chan->device->copy_align; in zynqmp_disp_probe()
/Linux-v6.1/drivers/media/common/videobuf2/
Dvideobuf2-dma-contig.c581 unsigned long dma_align = dma_get_cache_alignment(); in vb2_dc_get_userptr() local
584 if (!IS_ALIGNED(vaddr | size, dma_align)) { in vb2_dc_get_userptr()
585 pr_debug("user data must be aligned to %lu bytes\n", dma_align); in vb2_dc_get_userptr()
/Linux-v6.1/include/uapi/linux/
Drio_mport_cdev.h81 __u32 dma_align; member
/Linux-v6.1/drivers/spi/
Dspi-qup.c891 size_t dma_align = dma_get_cache_alignment(); in spi_qup_can_dma() local
895 if (!IS_ALIGNED((size_t)xfer->rx_buf, dma_align) || in spi_qup_can_dma()
903 if (!IS_ALIGNED((size_t)xfer->tx_buf, dma_align) || in spi_qup_can_dma()
Dspi-zynqmp-gqspi.c747 u64 dma_align = (u64)(uintptr_t)xqspi->rxbuf; in zynqmp_qspi_setuprxdma() local
750 ((dma_align & GQSPI_DMA_UNALIGN) != 0x0)) { in zynqmp_qspi_setuprxdma()
Dspi-cadence-quadspi.c1300 u64 dma_align = (u64)(uintptr_t)buf; in cqspi_read() local
1313 virt_addr_valid(buf) && ((dma_align & CQSPI_DMA_UNALIGN) == 0)) in cqspi_read()
/Linux-v6.1/include/linux/
Drio.h373 int dma_align; member
/Linux-v6.1/drivers/rapidio/devices/
Drio_mport_cdev.c2421 md->properties.dma_align = attr.dma_align; in mport_cdev_add()
Dtsi721.c2565 attr->dma_align = 0; in tsi721_query_mport()