Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/altera/
H A 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()
H A 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()
H A Daltera_tse.h414 void __iomem *tx_dma_desc; member
/linux/drivers/dma/
H A 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/drivers/tty/serial/
H A 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()