Home
last modified time | relevance | path

Searched refs:tx_dma_buf (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/sound/soc/blackfin/
Dbf5xx-ac97-pcm.c62 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 …]
Dbf5xx-sport.h94 unsigned char *tx_dma_buf; member
/linux-4.4.14/drivers/net/wan/
Dz85230.c887 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 …]
Dz85230.h286 u8 *tx_dma_buf[2]; /* TX flip buffers for DMA */ member
/linux-4.4.14/drivers/tty/serial/
Dmxs-auart.c163 void *tx_dma_buf; member
243 sg_init_one(sgl, s->tx_dma_buf, size); in mxs_auart_dma_tx()
267 void *buffer = s->tx_dma_buf; in mxs_auart_tx_chars()
600 kfree(s->tx_dma_buf); in mxs_auart_dma_exit_channel()
602 s->tx_dma_buf = NULL; in mxs_auart_dma_exit_channel()
635 s->tx_dma_buf = kzalloc(UART_XMIT_SIZE, GFP_KERNEL | GFP_DMA); in mxs_auart_dma_init()
636 if (!s->tx_dma_buf) in mxs_auart_dma_init()
/linux-4.4.14/drivers/spi/
Dspi-tegra114.c211 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()
Dspi-tegra20-slink.c213 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()
Dspi-topcliff-pch.c929 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.4.14/Documentation/spi/
Dpxa2xx222 if spi_message.is_dma_mapped and rx_dma_buf != 0 and tx_dma_buf != 0 then