Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/wan/
Dz85230.c814 c->tx_dma_buf[0] = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in z8530_sync_dma_open()
815 if (!c->tx_dma_buf[0]) { in z8530_sync_dma_open()
820 c->tx_dma_buf[1] = c->tx_dma_buf[0] + PAGE_SIZE / 2; in z8530_sync_dma_open()
941 if (c->tx_dma_buf[0]) { in z8530_sync_dma_close()
942 free_page((unsigned long)c->tx_dma_buf[0]); in z8530_sync_dma_close()
943 c->tx_dma_buf[0] = NULL; in z8530_sync_dma_close()
984 c->tx_dma_buf[0] = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in z8530_sync_txdma_open()
985 if (!c->tx_dma_buf[0]) in z8530_sync_txdma_open()
988 c->tx_dma_buf[1] = c->tx_dma_buf[0] + PAGE_SIZE / 2; in z8530_sync_txdma_open()
1091 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.15/drivers/tty/serial/
Dmxs-auart.c433 void *tx_dma_buf; member
552 sg_init_one(sgl, s->tx_dma_buf, size); in mxs_auart_dma_tx()
576 void *buffer = s->tx_dma_buf; in mxs_auart_tx_chars()
904 kfree(s->tx_dma_buf); in mxs_auart_dma_exit_channel()
906 s->tx_dma_buf = NULL; in mxs_auart_dma_exit_channel()
939 s->tx_dma_buf = kzalloc(UART_XMIT_SIZE, GFP_KERNEL | GFP_DMA); in mxs_auart_dma_init()
940 if (!s->tx_dma_buf) in mxs_auart_dma_init()
Dstm32-usart.h261 dma_addr_t tx_dma_buf; /* dma tx buffer bus address */ member
Dstm32-usart.c387 stm32port->tx_dma_buf, in stm32_usart_transmit_chars_dma()
1231 stm32port->tx_dma_buf); in stm32_usart_of_dma_tx_remove()
1246 &stm32port->tx_dma_buf, in stm32_usart_of_dma_tx_probe()
/Linux-v5.15/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()
568 dma_bufsize, dma->tx_dma_buf, dma->tx_dma_phys); in dspi_request_dma()
590 dma->tx_dma_buf, dma->tx_dma_phys); in dspi_release_dma()
Dspi-tegra20-slink.c202 u32 *tx_dma_buf; member
370 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len); in tegra_slink_copy_client_txbuf_to_spi_txbuf()
382 tspi->tx_dma_buf[count] = x; in tegra_slink_copy_client_txbuf_to_spi_txbuf()
631 tspi->tx_dma_buf = dma_buf; in tegra_slink_init_dma_param()
656 dma_buf = tspi->tx_dma_buf; in tegra_slink_deinit_dma_param()
659 tspi->tx_dma_buf = NULL; in tegra_slink_deinit_dma_param()
Dspi-tegra210-quad.c185 u32 *tx_dma_buf; member
389 tqspi->tx_dma_buf[count] = x; in tegra_qspi_copy_client_txbuf_to_qspi_txbuf()
681 if (tqspi->tx_dma_buf) { in tegra_qspi_deinit_dma()
683 tqspi->tx_dma_buf, tqspi->tx_dma_phys); in tegra_qspi_deinit_dma()
684 tqspi->tx_dma_buf = NULL; in tegra_qspi_deinit_dma()
742 tqspi->tx_dma_buf = dma_buf; in tegra_qspi_init_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()
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.c921 u8 *tx_dma_buf; in pch_spi_handle_dma() local
968 tx_dma_buf = dma->tx_buf_virt; in pch_spi_handle_dma()
970 *tx_dma_buf++ = *tx_buf++; in pch_spi_handle_dma()
/Linux-v5.15/Documentation/spi/
Dpxa2xx.rst235 if spi_message.is_dma_mapped and rx_dma_buf != 0 and tx_dma_buf != 0 then