Searched refs:dma_buf_size (Results 1 – 7 of 7) sorted by relevance
/drivers/media/pci/ddbridge/ |
D | ddbridge-core.c | 298 port->input[0]->dma_buf_size, in ddb_buffers_alloc() 303 port->input[1]->dma_buf_size, in ddb_buffers_alloc() 310 port->input[0]->dma_buf_size, in ddb_buffers_alloc() 315 port->output->dma_buf_size, in ddb_buffers_alloc() 336 port->input[0]->dma_buf_size, in ddb_buffers_free() 340 port->input[1]->dma_buf_size, in ddb_buffers_free() 344 port->output->dma_buf_size, in ddb_buffers_free() 364 (input->dma_buf_size >> 7), in ddb_input_start() 399 (output->dma_buf_size >> 7), in ddb_output_start() 432 (output->dma_buf_size - output->coff <= 188)) in ddb_output_free() [all …]
|
D | ddbridge.h | 81 u32 dma_buf_size; member 110 u32 dma_buf_size; member
|
/drivers/spi/ |
D | spi-tegra114.c | 187 unsigned dma_buf_size; member 384 tspi->dma_buf_size, DMA_TO_DEVICE); in tegra_spi_copy_client_txbuf_to_spi_txbuf() 415 tspi->dma_buf_size, DMA_TO_DEVICE); in tegra_spi_copy_client_txbuf_to_spi_txbuf() 423 tspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_spi_copy_spi_rxbuf_to_client_rxbuf() 454 tspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_spi_copy_spi_rxbuf_to_client_rxbuf() 557 tspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_spi_start_dma_based_transfer() 626 dma_buf = dma_alloc_coherent(tspi->dev, tspi->dma_buf_size, in tegra_spi_init_dma_param() 659 dma_free_coherent(tspi->dev, tspi->dma_buf_size, dma_buf, dma_phys); in tegra_spi_init_dma_param() 687 dma_free_coherent(tspi->dev, tspi->dma_buf_size, dma_buf, dma_phys); in tegra_spi_deinit_dma_param() 1118 tspi->dma_buf_size = DEFAULT_SPI_DMA_BUF_LEN; in tegra_spi_probe() [all …]
|
D | spi-tegra20-slink.c | 186 unsigned dma_buf_size; member 380 tspi->dma_buf_size, DMA_TO_DEVICE); in tegra_slink_copy_client_txbuf_to_spi_txbuf() 403 tspi->dma_buf_size, DMA_TO_DEVICE); in tegra_slink_copy_client_txbuf_to_spi_txbuf() 413 tspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_slink_copy_spi_rxbuf_to_client_rxbuf() 434 tspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_slink_copy_spi_rxbuf_to_client_rxbuf() 542 tspi->dma_buf_size, DMA_FROM_DEVICE); in tegra_slink_start_dma_based_transfer() 623 dma_buf = dma_alloc_coherent(tspi->dev, tspi->dma_buf_size, in tegra_slink_init_dma_param() 656 dma_free_coherent(tspi->dev, tspi->dma_buf_size, dma_buf, dma_phys); in tegra_slink_init_dma_param() 684 dma_free_coherent(tspi->dev, tspi->dma_buf_size, dma_buf, dma_phys); in tegra_slink_deinit_dma_param() 1104 tspi->dma_buf_size = DEFAULT_SPI_DMA_BUF_LEN; in tegra_slink_probe() [all …]
|
/drivers/gpu/drm/ttm/ |
D | ttm_object.c | 96 size_t dma_buf_size; member 520 tdev->dma_buf_size = ttm_round_pot(sizeof(struct dma_buf)) + in ttm_object_device_init() 608 ttm_mem_global_free(tdev->mem_glob, tdev->dma_buf_size); in ttm_prime_dmabuf_release() 700 ret = ttm_mem_global_alloc(tdev->mem_glob, tdev->dma_buf_size, in ttm_prime_handle_to_fd() 711 tdev->dma_buf_size); in ttm_prime_handle_to_fd()
|
/drivers/media/platform/marvell-ccic/ |
D | mcam-core.c | 64 static int dma_buf_size = VGA_WIDTH * VGA_HEIGHT * 2; /* Worst case */ variable 65 module_param(dma_buf_size, uint, 0444); 66 MODULE_PARM_DESC(dma_buf_size, 382 cam->dma_buf_size = dma_buf_size; in mcam_alloc_dma_bufs() 384 cam->dma_buf_size = cam->pix_format.sizeimage; in mcam_alloc_dma_bufs() 391 cam->dma_buf_size, cam->dma_handles + i, in mcam_alloc_dma_bufs() 402 dma_free_coherent(cam->dev, cam->dma_buf_size, in mcam_alloc_dma_bufs() 422 dma_free_coherent(cam->dev, cam->dma_buf_size, in mcam_free_dma_bufs() 499 if (cam->nbufs > 0 && cam->dma_buf_size < cam->pix_format.sizeimage) in mcam_check_dma_buffers()
|
D | mcam-core.h | 169 unsigned int dma_buf_size; /* allocated size */ member
|