Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/wan/
Dz85230.c882 c->tx_dma_buf[0]=(void *)get_zeroed_page(GFP_KERNEL|GFP_DMA); in z8530_sync_dma_open()
883 if(c->tx_dma_buf[0]==NULL) in z8530_sync_dma_open()
889 c->tx_dma_buf[1]=c->tx_dma_buf[0]+PAGE_SIZE/2; in z8530_sync_dma_open()
1021 if(c->tx_dma_buf[0]) in z8530_sync_dma_close()
1023 free_page((unsigned long)c->tx_dma_buf[0]); in z8530_sync_dma_close()
1024 c->tx_dma_buf[0]=NULL; in z8530_sync_dma_close()
1067 c->tx_dma_buf[0]=(void *)get_zeroed_page(GFP_KERNEL|GFP_DMA); in z8530_sync_txdma_open()
1068 if(c->tx_dma_buf[0]==NULL) in z8530_sync_txdma_open()
1071 c->tx_dma_buf[1] = c->tx_dma_buf[0] + PAGE_SIZE/2; in z8530_sync_txdma_open()
1185 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-v5.4/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.h267 dma_addr_t tx_dma_buf; /* dma tx buffer bus address */ member
Dstm32-usart.c387 stm32port->tx_dma_buf, in stm32_transmit_chars_dma()
1100 &stm32port->tx_dma_buf, in stm32_of_dma_tx_probe()
1124 stm32port->tx_dma_buf); in stm32_of_dma_tx_probe()
1225 if (stm32_port->tx_dma_buf) in stm32_serial_remove()
1228 stm32_port->tx_dma_buf); in stm32_serial_remove()
/Linux-v5.4/drivers/spi/
Dspi-tegra20-slink.c202 u32 *tx_dma_buf; member
373 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len); in tegra_slink_copy_client_txbuf_to_spi_txbuf()
385 tspi->tx_dma_buf[count] = x; in tegra_slink_copy_client_txbuf_to_spi_txbuf()
639 tspi->tx_dma_buf = dma_buf; in tegra_slink_init_dma_param()
664 dma_buf = tspi->tx_dma_buf; in tegra_slink_deinit_dma_param()
667 tspi->tx_dma_buf = NULL; in tegra_slink_deinit_dma_param()
Dspi-fsl-dspi.c160 u32 *tx_dma_buf; member
277 dspi->dma->tx_dma_buf[i] = dspi_pop_tx_pushr(dspi); in dspi_next_xfer_dma_submit()
409 dma->tx_dma_buf = dma_alloc_coherent(dev, DSPI_DMA_BUFSIZE, in dspi_request_dma()
411 if (!dma->tx_dma_buf) { in dspi_request_dma()
457 dma->tx_dma_buf, dma->tx_dma_phys); in dspi_request_dma()
Dspi-tegra114.c218 u32 *tx_dma_buf; member
398 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len); in tegra_spi_copy_client_txbuf_to_spi_txbuf()
416 tspi->tx_dma_buf[count] = x; in tegra_spi_copy_client_txbuf_to_spi_txbuf()
693 tspi->tx_dma_buf = dma_buf; in tegra_spi_init_dma_param()
713 dma_buf = tspi->tx_dma_buf; in tegra_spi_deinit_dma_param()
716 tspi->tx_dma_buf = NULL; in tegra_spi_deinit_dma_param()
Dspi-topcliff-pch.c915 u8 *tx_dma_buf; in pch_spi_handle_dma() local
962 tx_dma_buf = dma->tx_buf_virt; in pch_spi_handle_dma()
964 *tx_dma_buf++ = *tx_buf++; in pch_spi_handle_dma()
/Linux-v5.4/Documentation/spi/
Dpxa2xx.rst228 if spi_message.is_dma_mapped and rx_dma_buf != 0 and tx_dma_buf != 0 then