Home
last modified time | relevance | path

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

/linux-6.1.9/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.c1177 priv->tx_dma_desc = descmap; in altera_tse_probe()
1210 &priv->tx_dma_desc); in altera_tse_probe()
/linux-6.1.9/drivers/dma/
Dat_xdmac.c271 struct dma_async_tx_descriptor tx_dma_desc; member
335 return container_of(txd, struct at_xdmac_desc, tx_dma_desc); in txd_to_at_desc()
393 reg = AT_XDMAC_CNDA_NDA(first->tx_dma_desc.phys); in at_xdmac_start_xfer()
497 dma_async_tx_descriptor_init(&desc->tx_dma_desc, chan); in at_xdmac_alloc_desc()
498 desc->tx_dma_desc.tx_submit = at_xdmac_tx_submit; in at_xdmac_alloc_desc()
499 desc->tx_dma_desc.phys = phys; in at_xdmac_alloc_desc()
538 prev->lld.mbr_nda = desc->tx_dma_desc.phys; in at_xdmac_queue_desc()
776 first->tx_dma_desc.flags = flags; in at_xdmac_prep_slave_sg()
779 ret = &first->tx_dma_desc; in at_xdmac_prep_slave_sg()
831 __func__, desc, &desc->tx_dma_desc.phys); in at_xdmac_prep_dma_cyclic()
[all …]
/linux-6.1.9/drivers/spi/
Dspi-stm32.c1226 struct dma_async_tx_descriptor *tx_dma_desc, *rx_dma_desc; in stm32_spi_transfer_one_dma() local
1247 tx_dma_desc = NULL; in stm32_spi_transfer_one_dma()
1252 tx_dma_desc = dmaengine_prep_slave_sg( in stm32_spi_transfer_one_dma()
1259 if ((spi->tx_buf && spi->dma_tx && !tx_dma_desc) || in stm32_spi_transfer_one_dma()
1263 if (spi->cur_comm == SPI_FULL_DUPLEX && (!tx_dma_desc || !rx_dma_desc)) in stm32_spi_transfer_one_dma()
1278 if (tx_dma_desc) { in stm32_spi_transfer_one_dma()
1281 tx_dma_desc->callback = spi->cfg->dma_tx_cb; in stm32_spi_transfer_one_dma()
1282 tx_dma_desc->callback_param = spi; in stm32_spi_transfer_one_dma()
1285 if (dma_submit_error(dmaengine_submit(tx_dma_desc))) { in stm32_spi_transfer_one_dma()
Dspi-tegra20-slink.c207 struct dma_async_tx_descriptor *tx_dma_desc; member
436 tspi->tx_dma_desc = dmaengine_prep_slave_single(tspi->tx_dma_chan, in tegra_slink_start_tx_dma()
439 if (!tspi->tx_dma_desc) { in tegra_slink_start_tx_dma()
444 tspi->tx_dma_desc->callback = tegra_slink_dma_complete; in tegra_slink_start_tx_dma()
445 tspi->tx_dma_desc->callback_param = &tspi->tx_dma_complete; in tegra_slink_start_tx_dma()
447 dmaengine_submit(tspi->tx_dma_desc); in tegra_slink_start_tx_dma()
Dspi-tegra114.c220 struct dma_async_tx_descriptor *tx_dma_desc; member
476 tspi->tx_dma_desc = dmaengine_prep_slave_single(tspi->tx_dma_chan, in tegra_spi_start_tx_dma()
479 if (!tspi->tx_dma_desc) { in tegra_spi_start_tx_dma()
484 tspi->tx_dma_desc->callback = tegra_spi_dma_complete; in tegra_spi_start_tx_dma()
485 tspi->tx_dma_desc->callback_param = &tspi->tx_dma_complete; in tegra_spi_start_tx_dma()
487 dmaengine_submit(tspi->tx_dma_desc); in tegra_spi_start_tx_dma()
Dspi-tegra210-quad.c228 struct dma_async_tx_descriptor *tx_dma_desc; member
495 tqspi->tx_dma_desc = dmaengine_prep_slave_single(tqspi->tx_dma_chan, tx_dma_phys, in tegra_qspi_start_tx_dma()
499 if (!tqspi->tx_dma_desc) { in tegra_qspi_start_tx_dma()
504 tqspi->tx_dma_desc->callback = tegra_qspi_dma_complete; in tegra_qspi_start_tx_dma()
505 tqspi->tx_dma_desc->callback_param = &tqspi->tx_dma_complete; in tegra_qspi_start_tx_dma()
506 dmaengine_submit(tqspi->tx_dma_desc); in tegra_qspi_start_tx_dma()
/linux-6.1.9/drivers/tty/serial/
Dserial-tegra.c137 struct dma_async_tx_descriptor *tx_dma_desc; member
526 async_tx_ack(tup->tx_dma_desc); in tegra_uart_tx_dma_complete()
548 tup->tx_dma_desc = dmaengine_prep_slave_single(tup->tx_dma_chan, in tegra_uart_start_tx_dma()
551 if (!tup->tx_dma_desc) { in tegra_uart_start_tx_dma()
556 tup->tx_dma_desc->callback = tegra_uart_tx_dma_complete; in tegra_uart_start_tx_dma()
557 tup->tx_dma_desc->callback_param = tup; in tegra_uart_start_tx_dma()
560 tup->tx_cookie = dmaengine_submit(tup->tx_dma_desc); in tegra_uart_start_tx_dma()
626 async_tx_ack(tup->tx_dma_desc); in tegra_uart_stop_tx()