Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/altera/
Daltera_msgdma.c111 csrwr32(lower_32_bits(buffer->dma_addr), priv->tx_dma_desc, in msgdma_tx_buffer()
113 csrwr32(upper_32_bits(buffer->dma_addr), priv->tx_dma_desc, in msgdma_tx_buffer()
115 csrwr32(0, priv->tx_dma_desc, msgdma_descroffs(write_addr_lo)); in msgdma_tx_buffer()
116 csrwr32(0, priv->tx_dma_desc, msgdma_descroffs(write_addr_hi)); in msgdma_tx_buffer()
117 csrwr32(buffer->len, priv->tx_dma_desc, msgdma_descroffs(len)); in msgdma_tx_buffer()
118 csrwr32(0, priv->tx_dma_desc, msgdma_descroffs(burst_seq_num)); in msgdma_tx_buffer()
119 csrwr32(MSGDMA_DESC_TX_STRIDE, priv->tx_dma_desc, in msgdma_tx_buffer()
121 csrwr32(MSGDMA_DESC_CTL_TX_SINGLE, priv->tx_dma_desc, in msgdma_tx_buffer()
Daltera_sgdma.c80 (void __force *)priv->tx_dma_desc, in sgdma_initialize()
90 memset_io(priv->tx_dma_desc, 0, priv->txdescmem); in sgdma_initialize()
119 memset_io(priv->tx_dma_desc, 0, priv->txdescmem); in sgdma_reset()
170 (struct sgdma_descrip __iomem *)priv->tx_dma_desc; in sgdma_tx_buffer()
205 ((csrrd8(priv->tx_dma_desc, sgdma_descroffs(control)) in sgdma_tx_completions()
410 uintptr_t offs = (uintptr_t)desc - (uintptr_t)priv->tx_dma_desc; in sgdma_txphysaddr()
Daltera_tse.h414 void __iomem *tx_dma_desc; member
Daltera_tse_main.c1169 priv->tx_dma_desc = descmap; in altera_tse_probe()
1202 &priv->tx_dma_desc); in altera_tse_probe()
/linux-6.12.1/drivers/dma/
Dat_xdmac.c275 struct dma_async_tx_descriptor tx_dma_desc; member
339 return container_of(txd, struct at_xdmac_desc, tx_dma_desc); in txd_to_at_desc()
471 reg = AT_XDMAC_CNDA_NDA(first->tx_dma_desc.phys); in at_xdmac_start_xfer()
574 dma_async_tx_descriptor_init(&desc->tx_dma_desc, chan); in at_xdmac_alloc_desc()
575 desc->tx_dma_desc.tx_submit = at_xdmac_tx_submit; in at_xdmac_alloc_desc()
576 desc->tx_dma_desc.phys = phys; in at_xdmac_alloc_desc()
615 prev->lld.mbr_nda = desc->tx_dma_desc.phys; in at_xdmac_queue_desc()
853 first->tx_dma_desc.flags = flags; in at_xdmac_prep_slave_sg()
856 ret = &first->tx_dma_desc; in at_xdmac_prep_slave_sg()
908 __func__, desc, &desc->tx_dma_desc.phys); in at_xdmac_prep_dma_cyclic()
[all …]
/linux-6.12.1/drivers/tty/serial/
Dserial-tegra.c136 struct dma_async_tx_descriptor *tx_dma_desc; member
524 async_tx_ack(tup->tx_dma_desc); in tegra_uart_tx_dma_complete()
549 tup->tx_dma_desc = dmaengine_prep_slave_single(tup->tx_dma_chan, in tegra_uart_start_tx_dma()
552 if (!tup->tx_dma_desc) { in tegra_uart_start_tx_dma()
557 tup->tx_dma_desc->callback = tegra_uart_tx_dma_complete; in tegra_uart_start_tx_dma()
558 tup->tx_dma_desc->callback_param = tup; in tegra_uart_start_tx_dma()
561 tup->tx_cookie = dmaengine_submit(tup->tx_dma_desc); in tegra_uart_start_tx_dma()
630 async_tx_ack(tup->tx_dma_desc); in tegra_uart_stop_tx()
/linux-6.12.1/drivers/spi/
Dspi-tegra20-slink.c206 struct dma_async_tx_descriptor *tx_dma_desc; member
435 tspi->tx_dma_desc = dmaengine_prep_slave_single(tspi->tx_dma_chan, in tegra_slink_start_tx_dma()
438 if (!tspi->tx_dma_desc) { in tegra_slink_start_tx_dma()
443 tspi->tx_dma_desc->callback = tegra_slink_dma_complete; in tegra_slink_start_tx_dma()
444 tspi->tx_dma_desc->callback_param = &tspi->tx_dma_complete; in tegra_slink_start_tx_dma()
446 dmaengine_submit(tspi->tx_dma_desc); in tegra_slink_start_tx_dma()
Dspi-stm32.c1434 struct dma_async_tx_descriptor *tx_dma_desc, *rx_dma_desc; in stm32_spi_transfer_one_dma() local
1455 tx_dma_desc = NULL; in stm32_spi_transfer_one_dma()
1460 tx_dma_desc = dmaengine_prep_slave_sg( in stm32_spi_transfer_one_dma()
1467 if ((spi->tx_buf && spi->dma_tx && !tx_dma_desc) || in stm32_spi_transfer_one_dma()
1471 if (spi->cur_comm == SPI_FULL_DUPLEX && (!tx_dma_desc || !rx_dma_desc)) in stm32_spi_transfer_one_dma()
1486 if (tx_dma_desc) { in stm32_spi_transfer_one_dma()
1489 tx_dma_desc->callback = spi->cfg->dma_tx_cb; in stm32_spi_transfer_one_dma()
1490 tx_dma_desc->callback_param = spi; in stm32_spi_transfer_one_dma()
1493 if (dma_submit_error(dmaengine_submit(tx_dma_desc))) { in stm32_spi_transfer_one_dma()
Dspi-tegra114.c219 struct dma_async_tx_descriptor *tx_dma_desc; member
475 tspi->tx_dma_desc = dmaengine_prep_slave_single(tspi->tx_dma_chan, in tegra_spi_start_tx_dma()
478 if (!tspi->tx_dma_desc) { in tegra_spi_start_tx_dma()
483 tspi->tx_dma_desc->callback = tegra_spi_dma_complete; in tegra_spi_start_tx_dma()
484 tspi->tx_dma_desc->callback_param = &tspi->tx_dma_complete; in tegra_spi_start_tx_dma()
486 dmaengine_submit(tspi->tx_dma_desc); in tegra_spi_start_tx_dma()
Dspi-tegra210-quad.c229 struct dma_async_tx_descriptor *tx_dma_desc; member
496 tqspi->tx_dma_desc = dmaengine_prep_slave_single(tqspi->tx_dma_chan, tx_dma_phys, in tegra_qspi_start_tx_dma()
500 if (!tqspi->tx_dma_desc) { in tegra_qspi_start_tx_dma()
505 tqspi->tx_dma_desc->callback = tegra_qspi_dma_complete; in tegra_qspi_start_tx_dma()
506 tqspi->tx_dma_desc->callback_param = &tqspi->tx_dma_complete; in tegra_qspi_start_tx_dma()
507 dmaengine_submit(tqspi->tx_dma_desc); in tegra_qspi_start_tx_dma()