Home
last modified time | relevance | path

Searched refs:dma_rx (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/spi/
H A Dspi-pxa2xx-dma.c105 chan = drv_data->controller->dma_rx; in pxa2xx_spi_dma_prepare_one()
126 dmaengine_terminate_async(drv_data->controller->dma_rx); in pxa2xx_spi_dma_transfer()
172 dma_async_issue_pending(drv_data->controller->dma_rx); in pxa2xx_spi_dma_start()
181 dmaengine_terminate_sync(drv_data->controller->dma_rx); in pxa2xx_spi_dma_stop()
200 controller->dma_rx = dma_request_slave_channel_compat(mask, in pxa2xx_spi_dma_setup()
202 if (!controller->dma_rx) { in pxa2xx_spi_dma_setup()
215 if (controller->dma_rx) { in pxa2xx_spi_dma_release()
216 dmaengine_terminate_sync(controller->dma_rx); in pxa2xx_spi_dma_release()
217 dma_release_channel(controller->dma_rx); in pxa2xx_spi_dma_release()
218 controller->dma_rx = NULL; in pxa2xx_spi_dma_release()
H A Dspi-rockchip.c298 dmaengine_terminate_async(ctlr->dma_rx); in rockchip_spi_handle_err()
471 dmaengine_slave_config(ctlr->dma_rx, &rxconf); in rockchip_spi_prepare_dma()
474 ctlr->dma_rx, in rockchip_spi_prepare_dma()
501 dmaengine_terminate_sync(ctlr->dma_rx); in rockchip_spi_prepare_dma()
512 ctlr->dma_rx->cookie = dmaengine_submit(rxdesc); in rockchip_spi_prepare_dma()
513 dma_async_issue_pending(ctlr->dma_rx); in rockchip_spi_prepare_dma()
631 dmaengine_pause(ctlr->dma_rx); in rockchip_spi_target_abort()
632 status = dmaengine_tx_status(ctlr->dma_rx, ctlr->dma_rx->cookie, &state); in rockchip_spi_target_abort()
662 dmaengine_terminate_sync(ctlr->dma_rx); in rockchip_spi_target_abort()
882 ctlr->dma_rx = dma_request_chan(rs->dev, "rx"); in rockchip_spi_probe()
[all …]
H A Dspi-ep93xx.c91 struct dma_chan *dma_rx; member
292 chan = espi->dma_rx; in ep93xx_spi_dma_prepare()
380 chan = espi->dma_rx; in ep93xx_spi_dma_finish()
426 dma_async_issue_pending(espi->dma_rx); in ep93xx_spi_dma_transfer()
501 if (espi->dma_rx && xfer->len > SPI_FIFO_SIZE) in ep93xx_spi_transfer_one()
582 espi->dma_rx = dma_request_chan(dev, "rx"); in ep93xx_spi_setup_dma()
583 if (IS_ERR(espi->dma_rx)) { in ep93xx_spi_setup_dma()
584 ret = dev_err_probe(dev, PTR_ERR(espi->dma_rx), "rx DMA setup failed"); in ep93xx_spi_setup_dma()
597 dma_release_channel(espi->dma_rx); in ep93xx_spi_setup_dma()
598 espi->dma_rx = NULL; in ep93xx_spi_setup_dma()
[all …]
H A Dspi-davinci.c119 struct dma_chan *dma_rx; member
395 if (dspi->dma_rx && dspi->dma_tx) in davinci_spi_of_setup()
621 dmaengine_slave_config(dspi->dma_rx, &dma_rx_conf); in davinci_spi_bufs()
624 rxdesc = dmaengine_prep_slave_sg(dspi->dma_rx, in davinci_spi_bufs()
657 dma_async_issue_pending(dspi->dma_rx); in davinci_spi_bufs()
753 dspi->dma_rx = dma_request_chan(sdev, "rx"); in davinci_spi_request_dma()
754 if (IS_ERR(dspi->dma_rx)) in davinci_spi_request_dma()
755 return PTR_ERR(dspi->dma_rx); in davinci_spi_request_dma()
759 dma_release_channel(dspi->dma_rx); in davinci_spi_request_dma()
956 dspi->dma_rx = NULL; in davinci_spi_probe()
[all …]
H A Dspi-fsl-lpspi.c199 if (!controller->dma_rx) in fsl_lpspi_can_dma()
401 ret = dmaengine_slave_config(controller->dma_rx, &rx); in fsl_lpspi_dma_configure()
592 desc_rx = dmaengine_prep_slave_sg(controller->dma_rx, in fsl_lpspi_dma_transfer()
602 dma_async_issue_pending(controller->dma_rx); in fsl_lpspi_dma_transfer()
630 dmaengine_terminate_all(controller->dma_rx); in fsl_lpspi_dma_transfer()
640 dmaengine_terminate_all(controller->dma_rx); in fsl_lpspi_dma_transfer()
650 dmaengine_terminate_all(controller->dma_rx); in fsl_lpspi_dma_transfer()
660 dmaengine_terminate_all(controller->dma_rx); in fsl_lpspi_dma_transfer()
673 if (controller->dma_rx) { in fsl_lpspi_dma_exit()
674 dma_release_channel(controller->dma_rx); in fsl_lpspi_dma_exit()
[all …]
H A Dspi-ingenic.c180 rx_desc = spi_ingenic_prepare_dma(ctlr, ctlr->dma_rx, in spi_ingenic_dma_tx()
188 dmaengine_terminate_async(ctlr->dma_rx); in spi_ingenic_dma_tx()
193 dma_async_issue_pending(ctlr->dma_rx); in spi_ingenic_dma_tx()
359 ctlr->dma_rx = chan; in spi_ingenic_request_dma()
372 if (ctlr->dma_rx) in spi_ingenic_release_dma()
373 dma_release_channel(ctlr->dma_rx); in spi_ingenic_release_dma()
H A Dspi-imx.c246 if (!controller->dma_rx) in spi_imx_can_dma()
1294 ret = dmaengine_slave_config(controller->dma_rx, &rx); in spi_imx_dma_configure()
1378 if (controller->dma_rx) { in spi_imx_sdma_exit()
1379 dma_release_channel(controller->dma_rx); in spi_imx_sdma_exit()
1380 controller->dma_rx = NULL; in spi_imx_sdma_exit()
1406 controller->dma_rx = dma_request_chan(dev, "rx"); in spi_imx_sdma_init()
1407 if (IS_ERR(controller->dma_rx)) { in spi_imx_sdma_init()
1408 ret = PTR_ERR(controller->dma_rx); in spi_imx_sdma_init()
1410 controller->dma_rx = NULL; in spi_imx_sdma_init()
1494 desc_rx = dmaengine_prep_slave_sg(controller->dma_rx, in spi_imx_dma_transfer()
[all …]
H A Dspi-dw-dma.c114 struct dw_dma_slave dma_rx = { .src_id = 0 }, *rx = &dma_rx; in dw_spi_dma_init_mfld() local
142 dws->host->dma_rx = dws->rxchan; in dw_spi_dma_init_mfld()
186 dws->host->dma_rx = dws->rxchan; in dw_spi_dma_init_generic()
H A Dspi-mem.c47 else if (op->data.dir == SPI_MEM_DATA_IN && ctlr->dma_rx) in spi_controller_dma_map_mem_op_data()
48 dmadev = ctlr->dma_rx->device->dev; in spi_controller_dma_map_mem_op_data()
93 else if (op->data.dir == SPI_MEM_DATA_IN && ctlr->dma_rx) in spi_controller_dma_unmap_mem_op_data()
94 dmadev = ctlr->dma_rx->device->dev; in spi_controller_dma_unmap_mem_op_data()
H A Dspi-s3c64xx.c402 spi->dma_rx = sdd->rx_dma.ch; in s3c64xx_spi_prepare_transfer()
H A Dspi.c1248 if (ctlr->dma_rx) in __spi_map_msg()
1249 rx_dev = ctlr->dma_rx->device->dev; in __spi_map_msg()
/linux/drivers/mtd/nand/raw/
H A Dintel-nand-controller.c119 struct dma_chan *dma_rx; member
273 dmaengine_terminate_async(ebu_host->dma_rx); in ebu_dma_rx_callback()
301 chan = ebu_host->dma_rx; in ebu_dma_start()
569 if (ebu_host->dma_rx) in ebu_dma_cleanup()
570 dma_release_channel(ebu_host->dma_rx); in ebu_dma_cleanup()
648 ebu_host->dma_rx = dma_request_chan(dev, "rx"); in ebu_nand_probe()
649 if (IS_ERR(ebu_host->dma_rx)) { in ebu_nand_probe()
650 ret = dev_err_probe(dev, PTR_ERR(ebu_host->dma_rx), in ebu_nand_probe()
652 ebu_host->dma_rx = NULL; in ebu_nand_probe()
/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_dma.c45 dma_addr_t dma_rx, int t_rsize, int r_rsize) in sxgbe_dma_channel_init() argument
71 writel(upper_32_bits(dma_rx), in sxgbe_dma_channel_init()
73 writel(lower_32_bits(dma_rx), in sxgbe_dma_channel_init()
84 dma_addr = dma_rx + ((r_rsize - 1) * SXGBE_DESC_SIZE_BYTES); in sxgbe_dma_channel_init()
H A Dsxgbe_dma.h24 int pbl, dma_addr_t dma_tx, dma_addr_t dma_rx,
H A Dsxgbe_main.c325 priv->hw->desc->init_rx_desc(&priv->rxq[j]->dma_rx[i], in sxgbe_clear_descriptors()
447 rx_ring->dma_rx, rx_ring->dma_rx_phy); in free_rx_ring()
483 rx_ring->dma_rx = dma_alloc_coherent(priv->device, in init_rx_ring()
487 if (rx_ring->dma_rx == NULL) in init_rx_ring()
508 p = rx_ring->dma_rx + desc_index; in init_rx_ring()
526 p = rx_ring->dma_rx + desc_index; in init_rx_ring()
535 rx_ring->dma_rx, rx_ring->dma_rx_phy); in init_rx_ring()
1448 p = priv->rxq[qnum]->dma_rx + entry; in sxgbe_rx_refill()
1498 p = priv->rxq[qnum]->dma_rx + entry; in sxgbe_rx()
1506 prefetch(priv->rxq[qnum]->dma_rx + next_entry); in sxgbe_rx()
H A Dsxgbe_common.h396 struct sxgbe_rx_norm_desc *dma_rx; member
/linux/drivers/i2c/busses/
H A Di2c-rcar.c161 struct dma_chan *dma_rx; member
447 ? priv->dma_rx : priv->dma_tx; in rcar_i2c_cleanup_dma()
482 struct dma_chan *chan = read ? priv->dma_rx : priv->dma_tx; in rcar_i2c_dma()
854 chan = read ? priv->dma_rx : priv->dma_tx; in rcar_i2c_request_dma()
862 priv->dma_rx = chan; in rcar_i2c_request_dma()
874 if (!IS_ERR(priv->dma_rx)) { in rcar_i2c_release_dma()
875 dma_release_channel(priv->dma_rx); in rcar_i2c_release_dma()
876 priv->dma_rx = ERR_PTR(-EPROBE_DEFER); in rcar_i2c_release_dma()
1152 priv->dma_rx = priv->dma_tx = ERR_PTR(-EPROBE_DEFER); in rcar_i2c_probe()
/linux/arch/arm64/boot/dts/renesas/
H A Dr9a07g043.dtsi154 interrupt-names = "int_req", "dma_rx", "dma_tx";
174 interrupt-names = "int_req", "dma_rx", "dma_tx";
213 interrupt-names = "int_req", "dma_rx", "dma_tx";
H A Dr9a07g054.dtsi254 interrupt-names = "int_req", "dma_rx", "dma_tx";
274 interrupt-names = "int_req", "dma_rx", "dma_tx";
313 interrupt-names = "int_req", "dma_rx", "dma_tx";
H A Dr9a07g044.dtsi254 interrupt-names = "int_req", "dma_rx", "dma_tx";
274 interrupt-names = "int_req", "dma_rx", "dma_tx";
313 interrupt-names = "int_req", "dma_rx", "dma_tx";
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c1260 head_rx = (void *)rx_q->dma_rx; in stmmac_display_rx_rings()
1351 stmmac_init_rx_desc(priv, &rx_q->dma_rx[i], in stmmac_clear_rx_descriptors()
1561 p = rx_q->dma_rx + i; in stmmac_alloc_rx_buffers()
1619 p = rx_q->dma_rx + i; in stmmac_alloc_rx_buffers_zc()
1705 stmmac_mode_init(priv, rx_q->dma_rx, in __init_dma_rx_desc_rings()
1916 rx_q->dma_rx, rx_q->dma_rx_phy); in __free_dma_rx_desc_resources()
2046 rx_q->dma_rx = dma_alloc_coherent(priv->device, in __alloc_dma_rx_desc_resources()
2051 if (!rx_q->dma_rx) in __alloc_dma_rx_desc_resources()
4778 p = rx_q->dma_rx + entry; in stmmac_rx_refill()
5153 rx_desc = rx_q->dma_rx + entry; in stmmac_rx_refill_zc()
[all …]
H A Dstmmac.h125 struct dma_desc *dma_rx ____cacheline_aligned_in_smp;
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Ddma.c1220 static void dma_rx(struct b43legacy_dmaring *ring, in dma_rx() function
1331 dma_rx(ring, &slot); in b43legacy_dma_rx()
/linux/include/linux/spi/
H A Dspi.h754 struct dma_chan *dma_rx; member
/linux/drivers/net/wireless/broadcom/b43/
H A Ddma.c1582 static void dma_rx(struct b43_dmaring *ring, int *slot) in dma_rx() function
1699 dma_rx(ring, &slot); in b43_dma_rx()

12