Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wan/
Dz85230.c885 c->tx_dma_buf[0]=(void *)get_zeroed_page(GFP_KERNEL|GFP_DMA); in z8530_sync_dma_open()
886 if(c->tx_dma_buf[0]==NULL) in z8530_sync_dma_open()
892 c->tx_dma_buf[1]=c->tx_dma_buf[0]+PAGE_SIZE/2; in z8530_sync_dma_open()
1024 if(c->tx_dma_buf[0]) in z8530_sync_dma_close()
1026 free_page((unsigned long)c->tx_dma_buf[0]); in z8530_sync_dma_close()
1027 c->tx_dma_buf[0]=NULL; in z8530_sync_dma_close()
1070 c->tx_dma_buf[0]=(void *)get_zeroed_page(GFP_KERNEL|GFP_DMA); in z8530_sync_txdma_open()
1071 if(c->tx_dma_buf[0]==NULL) in z8530_sync_txdma_open()
1074 c->tx_dma_buf[1] = c->tx_dma_buf[0] + PAGE_SIZE/2; in z8530_sync_txdma_open()
1188 if(c->tx_dma_buf[0]) in z8530_sync_txdma_close()
[all …]
Dz85230.h287 u8 *tx_dma_buf[2]; /* TX flip buffers for DMA */ member
/Linux-v4.19/drivers/tty/serial/
Dmxs-auart.c439 void *tx_dma_buf; member
566 sg_init_one(sgl, s->tx_dma_buf, size); in mxs_auart_dma_tx()
590 void *buffer = s->tx_dma_buf; in mxs_auart_tx_chars()
918 kfree(s->tx_dma_buf); in mxs_auart_dma_exit_channel()
920 s->tx_dma_buf = NULL; in mxs_auart_dma_exit_channel()
953 s->tx_dma_buf = kzalloc(UART_XMIT_SIZE, GFP_KERNEL | GFP_DMA); in mxs_auart_dma_init()
954 if (!s->tx_dma_buf) in mxs_auart_dma_init()
Dstm32-usart.c360 stm32port->tx_dma_buf, in stm32_transmit_chars_dma()
970 &stm32port->tx_dma_buf, in stm32_of_dma_tx_probe()
994 stm32port->tx_dma_buf); in stm32_of_dma_tx_probe()
1077 if (stm32_port->tx_dma_buf) in stm32_serial_remove()
1080 stm32_port->tx_dma_buf); in stm32_serial_remove()
Dstm32-usart.h257 dma_addr_t tx_dma_buf; /* dma tx buffer bus address */ member
/Linux-v4.19/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-fsl-dspi.c174 u32 *tx_dma_buf; member
288 dspi->dma->tx_dma_buf[i] = dspi_pop_tx_pushr(dspi); in dspi_next_xfer_dma_submit()
415 dma->tx_dma_buf = dma_alloc_coherent(dev, DSPI_DMA_BUFSIZE, in dspi_request_dma()
417 if (!dma->tx_dma_buf) { in dspi_request_dma()
463 dma->tx_dma_buf, dma->tx_dma_phys); in dspi_request_dma()
Dspi-topcliff-pch.c924 u8 *tx_dma_buf; in pch_spi_handle_dma() local
971 tx_dma_buf = dma->tx_buf_virt; in pch_spi_handle_dma()
973 *tx_dma_buf++ = *tx_buf++; in pch_spi_handle_dma()
/Linux-v4.19/Documentation/spi/
Dpxa2xx222 if spi_message.is_dma_mapped and rx_dma_buf != 0 and tx_dma_buf != 0 then