Home
last modified time | relevance | path

Searched refs:rx_dma_desc (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/altera/
Daltera_msgdma.c164 csrwr32(0, priv->rx_dma_desc, msgdma_descroffs(read_addr_lo)); in msgdma_add_rx_desc()
165 csrwr32(0, priv->rx_dma_desc, msgdma_descroffs(read_addr_hi)); in msgdma_add_rx_desc()
166 csrwr32(lower_32_bits(dma_addr), priv->rx_dma_desc, in msgdma_add_rx_desc()
168 csrwr32(upper_32_bits(dma_addr), priv->rx_dma_desc, in msgdma_add_rx_desc()
170 csrwr32(len, priv->rx_dma_desc, msgdma_descroffs(len)); in msgdma_add_rx_desc()
171 csrwr32(0, priv->rx_dma_desc, msgdma_descroffs(burst_seq_num)); in msgdma_add_rx_desc()
172 csrwr32(0x00010001, priv->rx_dma_desc, msgdma_descroffs(stride)); in msgdma_add_rx_desc()
173 csrwr32(control, priv->rx_dma_desc, msgdma_descroffs(control)); in msgdma_add_rx_desc()
Daltera_sgdma.c70 (void __force *)priv->rx_dma_desc, in sgdma_initialize()
91 memset_io(priv->rx_dma_desc, 0, priv->rxdescmem); in sgdma_initialize()
120 memset_io(priv->rx_dma_desc, 0, priv->rxdescmem); in sgdma_reset()
231 (struct sgdma_descrip __iomem *)priv->rx_dma_desc; in sgdma_rx_status()
339 (struct sgdma_descrip __iomem *)priv->rx_dma_desc; in sgdma_async_read()
419 uintptr_t offs = (uintptr_t)desc - (uintptr_t)priv->rx_dma_desc; in sgdma_rxphysaddr()
Daltera_tse.h419 void __iomem *rx_dma_desc; member
Daltera_tse_main.c1396 priv->rx_dma_desc = (void __iomem *)((uintptr_t)(descmap + in altera_tse_probe()
1430 &priv->rx_dma_desc); in altera_tse_probe()
/drivers/spi/
Dspi-stm32.c1288 struct dma_async_tx_descriptor *tx_dma_desc, *rx_dma_desc; in stm32_spi_transfer_one_dma() local
1293 rx_dma_desc = NULL; in stm32_spi_transfer_one_dma()
1302 rx_dma_desc = dmaengine_prep_slave_sg( in stm32_spi_transfer_one_dma()
1322 (spi->rx_buf && spi->dma_rx && !rx_dma_desc)) in stm32_spi_transfer_one_dma()
1325 if (spi->cur_comm == SPI_FULL_DUPLEX && (!tx_dma_desc || !rx_dma_desc)) in stm32_spi_transfer_one_dma()
1328 if (rx_dma_desc) { in stm32_spi_transfer_one_dma()
1329 rx_dma_desc->callback = spi->cfg->dma_rx_cb; in stm32_spi_transfer_one_dma()
1330 rx_dma_desc->callback_param = spi; in stm32_spi_transfer_one_dma()
1332 if (dma_submit_error(dmaengine_submit(rx_dma_desc))) { in stm32_spi_transfer_one_dma()
Dspi-tegra20-slink.c199 struct dma_async_tx_descriptor *rx_dma_desc; member
455 tspi->rx_dma_desc = dmaengine_prep_slave_single(tspi->rx_dma_chan, in tegra_slink_start_rx_dma()
458 if (!tspi->rx_dma_desc) { in tegra_slink_start_rx_dma()
463 tspi->rx_dma_desc->callback = tegra_slink_dma_complete; in tegra_slink_start_rx_dma()
464 tspi->rx_dma_desc->callback_param = &tspi->rx_dma_complete; in tegra_slink_start_rx_dma()
466 dmaengine_submit(tspi->rx_dma_desc); in tegra_slink_start_rx_dma()
Dspi-tegra114.c215 struct dma_async_tx_descriptor *rx_dma_desc; member
495 tspi->rx_dma_desc = dmaengine_prep_slave_single(tspi->rx_dma_chan, in tegra_spi_start_rx_dma()
498 if (!tspi->rx_dma_desc) { in tegra_spi_start_rx_dma()
503 tspi->rx_dma_desc->callback = tegra_spi_dma_complete; in tegra_spi_start_rx_dma()
504 tspi->rx_dma_desc->callback_param = &tspi->rx_dma_complete; in tegra_spi_start_rx_dma()
506 dmaengine_submit(tspi->rx_dma_desc); in tegra_spi_start_rx_dma()
/drivers/tty/serial/
Dserial-tegra.c133 struct dma_async_tx_descriptor *rx_dma_desc; member
711 async_tx_ack(tup->rx_dma_desc); in tegra_uart_rx_buffer_push()
789 tup->rx_dma_desc = dmaengine_prep_slave_single(tup->rx_dma_chan, in tegra_uart_start_rx_dma()
792 if (!tup->rx_dma_desc) { in tegra_uart_start_rx_dma()
798 tup->rx_dma_desc->callback = tegra_uart_rx_dma_complete; in tegra_uart_start_rx_dma()
799 tup->rx_dma_desc->callback_param = tup; in tegra_uart_start_rx_dma()
801 tup->rx_cookie = dmaengine_submit(tup->rx_dma_desc); in tegra_uart_start_rx_dma()