Home
last modified time | relevance | path

Searched refs:dma_buf_size (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/spi/
Dspi-tegra20-slink.c177 unsigned dma_buf_size; member
368 tspi->dma_buf_size, DMA_TO_DEVICE); in tegra_slink_copy_client_txbuf_to_spi_txbuf()
391 tspi->dma_buf_size, DMA_TO_DEVICE); in tegra_slink_copy_client_txbuf_to_spi_txbuf()
401 tspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_slink_copy_spi_rxbuf_to_client_rxbuf()
422 tspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_slink_copy_spi_rxbuf_to_client_rxbuf()
530 tspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_slink_start_dma_based_transfer()
606 dma_buf = dma_alloc_coherent(tspi->dev, tspi->dma_buf_size, in tegra_slink_init_dma_param()
639 dma_free_coherent(tspi->dev, tspi->dma_buf_size, dma_buf, dma_phys); in tegra_slink_init_dma_param()
667 dma_free_coherent(tspi->dev, tspi->dma_buf_size, dma_buf, dma_phys); in tegra_slink_deinit_dma_param()
1063 tspi->dma_buf_size = DEFAULT_SPI_DMA_BUF_LEN; in tegra_slink_probe()
[all …]
Dspi-tegra210-quad.c197 unsigned int dma_buf_size; member
403 tqspi->dma_buf_size, DMA_TO_DEVICE); in tegra_qspi_copy_client_txbuf_to_qspi_txbuf()
439 tqspi->dma_buf_size, DMA_TO_DEVICE); in tegra_qspi_copy_client_txbuf_to_qspi_txbuf()
446 tqspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_qspi_copy_qspi_rxbuf_to_client_rxbuf()
475 tqspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_qspi_copy_qspi_rxbuf_to_client_rxbuf()
677 tqspi->dma_buf_size, in tegra_qspi_start_dma_based_transfer()
728 dma_free_coherent(tqspi->dev, tqspi->dma_buf_size, in tegra_qspi_deinit_dma()
739 dma_free_coherent(tqspi->dev, tqspi->dma_buf_size, in tegra_qspi_deinit_dma()
768 dma_buf = dma_alloc_coherent(tqspi->dev, tqspi->dma_buf_size, &dma_phys, GFP_KERNEL); in tegra_qspi_init_dma()
785 dma_buf = dma_alloc_coherent(tqspi->dev, tqspi->dma_buf_size, &dma_phys, GFP_KERNEL); in tegra_qspi_init_dma()
[all …]
Dspi-tegra114.c188 unsigned dma_buf_size; member
392 tspi->dma_buf_size, DMA_TO_DEVICE); in tegra_spi_copy_client_txbuf_to_spi_txbuf()
423 tspi->dma_buf_size, DMA_TO_DEVICE); in tegra_spi_copy_client_txbuf_to_spi_txbuf()
431 tspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_spi_copy_spi_rxbuf_to_client_rxbuf()
462 tspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_spi_copy_spi_rxbuf_to_client_rxbuf()
609 tspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_spi_start_dma_based_transfer()
672 dma_buf = dma_alloc_coherent(tspi->dev, tspi->dma_buf_size, in tegra_spi_init_dma_param()
715 dma_free_coherent(tspi->dev, tspi->dma_buf_size, dma_buf, dma_phys); in tegra_spi_deinit_dma_param()
1369 tspi->dma_buf_size = DEFAULT_SPI_DMA_BUF_LEN; in tegra_spi_probe()
1377 tspi->max_buf_size = tspi->dma_buf_size; in tegra_spi_probe()
/linux-6.12.1/drivers/media/platform/marvell/
Dmcam-core.c62 static int dma_buf_size = VGA_WIDTH * VGA_HEIGHT * 2; /* Worst case */ variable
63 module_param(dma_buf_size, uint, 0444);
64 MODULE_PARM_DESC(dma_buf_size,
369 cam->dma_buf_size = dma_buf_size; in mcam_alloc_dma_bufs()
371 cam->dma_buf_size = cam->pix_format.sizeimage; in mcam_alloc_dma_bufs()
378 cam->dma_buf_size, cam->dma_handles + i, in mcam_alloc_dma_bufs()
389 dma_free_coherent(cam->dev, cam->dma_buf_size, in mcam_alloc_dma_bufs()
410 dma_free_coherent(cam->dev, cam->dma_buf_size, in mcam_free_dma_bufs()
487 if (cam->nbufs > 0 && cam->dma_buf_size < cam->pix_format.sizeimage) in mcam_check_dma_buffers()
Dmcam-core.h168 unsigned int dma_buf_size; /* allocated size */ member
/linux-6.12.1/Documentation/admin-guide/media/
Dcafe_ccic.rst42 - dma_buf_size: The size of DMA buffers to allocate. Note that this
/linux-6.12.1/drivers/i2c/busses/
Di2c-tegra.c286 unsigned int dma_buf_size; member
425 dma_free_coherent(i2c_dev->dma_dev, i2c_dev->dma_buf_size, in tegra_i2c_release_dma()
468 i2c_dev->dma_buf_size = i2c_dev->hw->quirks->max_write_len + in tegra_i2c_init_dma()
471 dma_buf = dma_alloc_coherent(i2c_dev->dma_dev, i2c_dev->dma_buf_size, in tegra_i2c_init_dma()
/linux-6.12.1/drivers/media/pci/ddbridge/
Dddbridge-core.c91 static int dma_buf_size = 21; variable
92 module_param(dma_buf_size, int, 0444);
93 MODULE_PARM_DESC(dma_buf_size,
2256 dma->size = dma_buf_size * 128 * 47; in ddb_dma_init()
2263 dma->size = dma_buf_size * 128 * 47; in ddb_dma_init()
3426 if (dma_buf_size < 1) in ddb_init_ddbridge()
3427 dma_buf_size = 1; in ddb_init_ddbridge()
3428 if (dma_buf_size > 43) in ddb_init_ddbridge()
3429 dma_buf_size = 43; in ddb_init_ddbridge()