Home
last modified time | relevance | path

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

/Linux-v5.10/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.10/drivers/tty/serial/
Dmxs-auart.c435 void *tx_dma_buf; member
562 sg_init_one(sgl, s->tx_dma_buf, size); in mxs_auart_dma_tx()
586 void *buffer = s->tx_dma_buf; in mxs_auart_tx_chars()
914 kfree(s->tx_dma_buf); in mxs_auart_dma_exit_channel()
916 s->tx_dma_buf = NULL; in mxs_auart_dma_exit_channel()
949 s->tx_dma_buf = kzalloc(UART_XMIT_SIZE, GFP_KERNEL | GFP_DMA); in mxs_auart_dma_init()
950 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.c382 stm32port->tx_dma_buf, in stm32_transmit_chars_dma()
1172 &stm32port->tx_dma_buf, in stm32_of_dma_tx_probe()
1196 stm32port->tx_dma_buf); in stm32_of_dma_tx_probe()
1297 if (stm32_port->tx_dma_buf) in stm32_serial_remove()
1300 stm32_port->tx_dma_buf); in stm32_serial_remove()
/Linux-v5.10/drivers/spi/
Dspi-fsl-dspi.c196 u32 *tx_dma_buf; member
388 dspi->dma->tx_dma_buf[i] = dspi_pop_tx_pushr(dspi); in dspi_next_xfer_dma_submit()
517 dma->tx_dma_buf = dma_alloc_coherent(dma->chan_tx->device->dev, in dspi_request_dma()
520 if (!dma->tx_dma_buf) { in dspi_request_dma()
567 dma_bufsize, dma->tx_dma_buf, dma->tx_dma_phys); in dspi_request_dma()
589 dma->tx_dma_buf, dma->tx_dma_phys); in dspi_release_dma()
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()
634 tspi->tx_dma_buf = dma_buf; in tegra_slink_init_dma_param()
659 dma_buf = tspi->tx_dma_buf; in tegra_slink_deinit_dma_param()
662 tspi->tx_dma_buf = NULL; in tegra_slink_deinit_dma_param()
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()
687 tspi->tx_dma_buf = dma_buf; in tegra_spi_init_dma_param()
707 dma_buf = tspi->tx_dma_buf; in tegra_spi_deinit_dma_param()
710 tspi->tx_dma_buf = NULL; in tegra_spi_deinit_dma_param()
Dspi-topcliff-pch.c919 u8 *tx_dma_buf; in pch_spi_handle_dma() local
966 tx_dma_buf = dma->tx_buf_virt; in pch_spi_handle_dma()
968 *tx_dma_buf++ = *tx_buf++; in pch_spi_handle_dma()
/Linux-v5.10/Documentation/spi/
Dpxa2xx.rst228 if spi_message.is_dma_mapped and rx_dma_buf != 0 and tx_dma_buf != 0 then