Searched refs:dma_buf_size (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-tegra20-slink.c | 175 unsigned dma_buf_size; member 369 tspi->dma_buf_size, DMA_TO_DEVICE); in tegra_slink_copy_client_txbuf_to_spi_txbuf() 392 tspi->dma_buf_size, DMA_TO_DEVICE); in tegra_slink_copy_client_txbuf_to_spi_txbuf() 402 tspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_slink_copy_spi_rxbuf_to_client_rxbuf() 423 tspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_slink_copy_spi_rxbuf_to_client_rxbuf() 531 tspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_slink_start_dma_based_transfer() 607 dma_buf = dma_alloc_coherent(tspi->dev, tspi->dma_buf_size, in tegra_slink_init_dma_param() 640 dma_free_coherent(tspi->dev, tspi->dma_buf_size, dma_buf, dma_phys); in tegra_slink_init_dma_param() 668 dma_free_coherent(tspi->dev, tspi->dma_buf_size, dma_buf, dma_phys); in tegra_slink_deinit_dma_param() 1088 tspi->dma_buf_size = DEFAULT_SPI_DMA_BUF_LEN; in tegra_slink_probe() [all …]
|
D | spi-tegra114.c | 189 unsigned dma_buf_size; member 393 tspi->dma_buf_size, DMA_TO_DEVICE); in tegra_spi_copy_client_txbuf_to_spi_txbuf() 424 tspi->dma_buf_size, DMA_TO_DEVICE); in tegra_spi_copy_client_txbuf_to_spi_txbuf() 432 tspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_spi_copy_spi_rxbuf_to_client_rxbuf() 463 tspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_spi_copy_spi_rxbuf_to_client_rxbuf() 610 tspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_spi_start_dma_based_transfer() 673 dma_buf = dma_alloc_coherent(tspi->dev, tspi->dma_buf_size, in tegra_spi_init_dma_param() 716 dma_free_coherent(tspi->dev, tspi->dma_buf_size, dma_buf, dma_phys); in tegra_spi_deinit_dma_param() 1377 tspi->dma_buf_size = DEFAULT_SPI_DMA_BUF_LEN; in tegra_spi_probe() 1385 tspi->max_buf_size = tspi->dma_buf_size; in tegra_spi_probe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | ttm_object.c | 96 size_t dma_buf_size; member 547 tdev->dma_buf_size = ttm_round_pot(sizeof(struct dma_buf)) + in ttm_object_device_init() 633 ttm_mem_global_free(tdev->mem_glob, tdev->dma_buf_size); in ttm_prime_dmabuf_release() 727 ret = ttm_mem_global_alloc(tdev->mem_glob, tdev->dma_buf_size, in ttm_prime_handle_to_fd() 738 tdev->dma_buf_size); in ttm_prime_handle_to_fd()
|
/kernel/linux/linux-5.10/drivers/media/platform/marvell-ccic/ |
D | mcam-core.c | 62 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()
|
D | mcam-core.h | 168 unsigned int dma_buf_size; /* allocated size */ member
|
/kernel/linux/linux-5.10/Documentation/admin-guide/media/ |
D | cafe_ccic.rst | 42 - dma_buf_size: The size of DMA buffers to allocate. Note that this
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-tegra.c | 285 unsigned int dma_buf_size; member 423 dma_free_coherent(i2c_dev->dma_dev, i2c_dev->dma_buf_size, in tegra_i2c_release_dma() 473 i2c_dev->dma_buf_size = i2c_dev->hw->quirks->max_write_len + in tegra_i2c_init_dma() 476 dma_buf = dma_alloc_coherent(i2c_dev->dma_dev, i2c_dev->dma_buf_size, in tegra_i2c_init_dma()
|
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/ |
D | ddbridge-core.c | 100 static int dma_buf_size = 21; variable 101 module_param(dma_buf_size, int, 0444); 102 MODULE_PARM_DESC(dma_buf_size, 2265 dma->size = dma_buf_size * 128 * 47; in ddb_dma_init() 2272 dma->size = dma_buf_size * 128 * 47; in ddb_dma_init() 3436 if (dma_buf_size < 1) in ddb_init_ddbridge() 3437 dma_buf_size = 1; in ddb_init_ddbridge() 3438 if (dma_buf_size > 43) in ddb_init_ddbridge() 3439 dma_buf_size = 43; in ddb_init_ddbridge()
|