Searched refs:tx_dma_buf (Results 1 – 9 of 9) sorted by relevance
/linux-4.1.27/sound/soc/blackfin/ |
D | bf5xx-ac97-pcm.c | 62 bf5xx_pcm_to_ac97((struct ac97_frame *)sport->tx_dma_buf + in bf5xx_mmap_copy() 139 memset(sport->tx_dma_buf, 0, runtime->buffer_size * in bf5xx_pcm_hw_free() 160 sport_config_tx_dma(sport, sport->tx_dma_buf, runtime->periods, in bf5xx_pcm_prepare() 352 if (!sport_handle->tx_dma_buf) { in bf5xx_pcm_preallocate_dma_buffer() 353 sport_handle->tx_dma_buf = dma_alloc_coherent(NULL, \ in bf5xx_pcm_preallocate_dma_buffer() 355 if (!sport_handle->tx_dma_buf) { in bf5xx_pcm_preallocate_dma_buffer() 359 memset(sport_handle->tx_dma_buf, 0, size); in bf5xx_pcm_preallocate_dma_buffer() 361 memset(sport_handle->tx_dma_buf, 0, size); in bf5xx_pcm_preallocate_dma_buffer() 402 if (sport_handle->tx_dma_buf) in bf5xx_pcm_free_dma_buffers() 404 sport_handle->tx_dma_buf, 0); in bf5xx_pcm_free_dma_buffers() [all …]
|
D | bf5xx-sport.h | 94 unsigned char *tx_dma_buf; member
|
/linux-4.1.27/drivers/net/wan/ |
D | z85230.c | 887 c->tx_dma_buf[0]=(void *)get_zeroed_page(GFP_KERNEL|GFP_DMA); in z8530_sync_dma_open() 888 if(c->tx_dma_buf[0]==NULL) in z8530_sync_dma_open() 894 c->tx_dma_buf[1]=c->tx_dma_buf[0]+PAGE_SIZE/2; in z8530_sync_dma_open() 1026 if(c->tx_dma_buf[0]) in z8530_sync_dma_close() 1028 free_page((unsigned long)c->tx_dma_buf[0]); in z8530_sync_dma_close() 1029 c->tx_dma_buf[0]=NULL; in z8530_sync_dma_close() 1072 c->tx_dma_buf[0]=(void *)get_zeroed_page(GFP_KERNEL|GFP_DMA); in z8530_sync_txdma_open() 1073 if(c->tx_dma_buf[0]==NULL) in z8530_sync_txdma_open() 1076 c->tx_dma_buf[1] = c->tx_dma_buf[0] + PAGE_SIZE/2; in z8530_sync_txdma_open() 1190 if(c->tx_dma_buf[0]) in z8530_sync_txdma_close() [all …]
|
D | z85230.h | 286 u8 *tx_dma_buf[2]; /* TX flip buffers for DMA */ member
|
/linux-4.1.27/drivers/tty/serial/ |
D | mxs-auart.c | 161 void *tx_dma_buf; member 241 sg_init_one(sgl, s->tx_dma_buf, size); in mxs_auart_dma_tx() 265 void *buffer = s->tx_dma_buf; in mxs_auart_tx_chars() 598 kfree(s->tx_dma_buf); in mxs_auart_dma_exit_channel() 600 s->tx_dma_buf = NULL; in mxs_auart_dma_exit_channel() 633 s->tx_dma_buf = kzalloc(UART_XMIT_SIZE, GFP_KERNEL | GFP_DMA); in mxs_auart_dma_init() 634 if (!s->tx_dma_buf) in mxs_auart_dma_init()
|
/linux-4.1.27/drivers/spi/ |
D | spi-tegra114.c | 211 u32 *tx_dma_buf; member 374 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len); in tegra_spi_copy_client_txbuf_to_spi_txbuf() 387 tspi->tx_dma_buf[count] = x; in tegra_spi_copy_client_txbuf_to_spi_txbuf() 624 tspi->tx_dma_buf = dma_buf; in tegra_spi_init_dma_param() 649 dma_buf = tspi->tx_dma_buf; in tegra_spi_deinit_dma_param() 652 tspi->tx_dma_buf = NULL; in tegra_spi_deinit_dma_param()
|
D | spi-tegra20-slink.c | 213 u32 *tx_dma_buf; member 384 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len); in tegra_slink_copy_client_txbuf_to_spi_txbuf() 396 tspi->tx_dma_buf[count] = x; in tegra_slink_copy_client_txbuf_to_spi_txbuf() 650 tspi->tx_dma_buf = dma_buf; in tegra_slink_init_dma_param() 675 dma_buf = tspi->tx_dma_buf; in tegra_slink_deinit_dma_param() 678 tspi->tx_dma_buf = NULL; in tegra_slink_deinit_dma_param()
|
D | spi-topcliff-pch.c | 929 u8 *tx_dma_buf; in pch_spi_handle_dma() local 976 tx_dma_buf = dma->tx_buf_virt; in pch_spi_handle_dma() 978 *tx_dma_buf++ = *tx_buf++; in pch_spi_handle_dma()
|
/linux-4.1.27/Documentation/spi/ |
D | pxa2xx | 228 if spi_message.is_dma_mapped and rx_dma_buf != 0 and tx_dma_buf != 0 then
|