/Linux-v6.1/drivers/mtd/hyperbus/ |
D | hbmc-am654.c | 29 struct dma_chan *rx_chan; member 78 struct dma_chan *rx_chan = priv->rx_chan; in am654_hbmc_dma_read() local 84 if (!priv->rx_chan || !virt_addr_valid(to) || object_is_on_stack(to)) in am654_hbmc_dma_read() 87 dma_dst = dma_map_single(rx_chan->device->dev, to, len, DMA_FROM_DEVICE); in am654_hbmc_dma_read() 88 if (dma_mapping_error(rx_chan->device->dev, dma_dst)) { in am654_hbmc_dma_read() 94 tx = dmaengine_prep_dma_memcpy(rx_chan, dma_dst, dma_src, len, flags); in am654_hbmc_dma_read() 112 dma_async_issue_pending(rx_chan); in am654_hbmc_dma_read() 114 dmaengine_terminate_sync(rx_chan); in am654_hbmc_dma_read() 120 dma_unmap_single(rx_chan->device->dev, dma_dst, len, DMA_FROM_DEVICE); in am654_hbmc_dma_read() 140 struct dma_chan *rx_chan; in am654_hbmc_request_mmap_dma() local [all …]
|
/Linux-v6.1/drivers/soc/xilinx/ |
D | zynqmp_power.c | 33 static struct mbox_chan *rx_chan; variable 113 ret = mbox_send_message(rx_chan, NULL); in ipi_receive_callback() 238 rx_chan = mbox_request_channel_byname(client, "rx"); in zynqmp_pm_probe() 239 if (IS_ERR(rx_chan)) { in zynqmp_pm_probe() 241 return PTR_ERR(rx_chan); in zynqmp_pm_probe() 283 if (!rx_chan) in zynqmp_pm_remove() 284 mbox_free_channel(rx_chan); in zynqmp_pm_remove()
|
/Linux-v6.1/drivers/net/ethernet/broadcom/ |
D | bcm63xx_enet.c | 268 enet_dma_writel(priv, 1, ENETDMA_BUFALLOC_REG(priv->rx_chan)); in bcm_enet_refill_rx() 270 enet_dmac_writel(priv, 1, ENETDMAC_BUFALLOC, priv->rx_chan); in bcm_enet_refill_rx() 416 ENETDMAC_CHANCFG, priv->rx_chan); in bcm_enet_receive_queue() 497 ENETDMAC_IR, priv->rx_chan); in bcm_enet_poll() 519 ENETDMAC_IRMASK, priv->rx_chan); in bcm_enet_poll() 564 enet_dmac_writel(priv, 0, ENETDMAC_IRMASK, priv->rx_chan); in bcm_enet_isr_dma() 782 val |= ENETDMA_CFG_FLOWCH_MASK(priv->rx_chan); in bcm_enet_set_flow() 784 val &= ~ENETDMA_CFG_FLOWCH_MASK(priv->rx_chan); in bcm_enet_set_flow() 935 enet_dmac_writel(priv, 0, ENETDMAC_IRMASK, priv->rx_chan); in bcm_enet_open() 1011 ENETDMA_BUFALLOC_REG(priv->rx_chan)); in bcm_enet_open() [all …]
|
D | bcm63xx_enet.h | 216 int rx_chan; member
|
/Linux-v6.1/drivers/net/ethernet/allwinner/ |
D | sun4i-emac.c | 90 struct dma_chan *rx_chan; member 290 desc = dmaengine_prep_slave_single(db->rx_chan, rxbuf, count, in emac_dma_inblk_32bit() 316 dma_async_issue_pending(db->rx_chan); in emac_dma_inblk_32bit() 734 if (rxlen >= dev->mtu && db->rx_chan) { in emac_rx() 930 db->rx_chan = dma_request_chan(&pdev->dev, "rx"); in emac_configure_dma() 931 if (IS_ERR(db->rx_chan)) { in emac_configure_dma() 934 err = PTR_ERR(db->rx_chan); in emac_configure_dma() 946 err = dmaengine_slave_config(db->rx_chan, &conf); in emac_configure_dma() 956 dma_release_channel(db->rx_chan); in emac_configure_dma() 959 db->rx_chan = NULL; in emac_configure_dma() [all …]
|
/Linux-v6.1/drivers/tty/serial/ |
D | samsung_tty.c | 106 struct dma_chan *rx_chan; member 526 dma_sync_single_for_cpu(dma->rx_chan->device->dev, dma->rx_addr, in s3c24xx_uart_copy_rx_to_tty() 568 if (dma && dma->rx_chan) { in s3c24xx_serial_stop_rx() 570 dma_status = dmaengine_tx_status(dma->rx_chan, in s3c24xx_serial_stop_rx() 575 dmaengine_terminate_all(dma->rx_chan); in s3c24xx_serial_stop_rx() 624 dmaengine_tx_status(dma->rx_chan, dma->rx_cookie, &state); in s3c24xx_serial_rx_dma_complete() 647 dma_sync_single_for_device(dma->rx_chan->device->dev, dma->rx_addr, in s3c64xx_start_rx_dma() 650 dma->rx_desc = dmaengine_prep_slave_single(dma->rx_chan, in s3c64xx_start_rx_dma() 663 dma_async_issue_pending(dma->rx_chan); in s3c64xx_start_rx_dma() 741 dmaengine_pause(dma->rx_chan); in s3c24xx_serial_rx_chars_dma() [all …]
|
/Linux-v6.1/drivers/spi/ |
D | spi-ti-qspi.c | 58 struct dma_chan *rx_chan; member 445 struct dma_chan *chan = qspi->rx_chan; in ti_qspi_dma_xfer() 633 if (qspi->rx_chan) { in ti_qspi_exec_mem_op() 746 if (qspi->rx_chan) in ti_qspi_dma_cleanup() 747 dma_release_channel(qspi->rx_chan); in ti_qspi_dma_cleanup() 862 qspi->rx_chan = dma_request_chan_by_mask(&mask); in ti_qspi_probe() 863 if (IS_ERR(qspi->rx_chan)) { in ti_qspi_probe() 866 qspi->rx_chan = NULL; in ti_qspi_probe() 877 dma_release_channel(qspi->rx_chan); in ti_qspi_probe() 880 master->dma_rx = qspi->rx_chan; in ti_qspi_probe() [all …]
|
D | spi-cadence-quadspi.c | 73 struct dma_chan *rx_chan; member 1245 if (!cqspi->rx_chan || !virt_addr_valid(buf)) { in cqspi_direct_read_execute() 1250 ddev = cqspi->rx_chan->device->dev; in cqspi_direct_read_execute() 1256 tx = dmaengine_prep_dma_memcpy(cqspi->rx_chan, dma_dst, dma_src, in cqspi_direct_read_execute() 1276 dma_async_issue_pending(cqspi->rx_chan); in cqspi_direct_read_execute() 1279 dmaengine_terminate_sync(cqspi->rx_chan); in cqspi_direct_read_execute() 1507 cqspi->rx_chan = dma_request_chan_by_mask(&mask); in cqspi_request_mmap_dma() 1508 if (IS_ERR(cqspi->rx_chan)) { in cqspi_request_mmap_dma() 1509 int ret = PTR_ERR(cqspi->rx_chan); in cqspi_request_mmap_dma() 1511 cqspi->rx_chan = NULL; in cqspi_request_mmap_dma() [all …]
|
/Linux-v6.1/drivers/usb/renesas_usbhs/ |
D | fifo.c | 774 return fifo->rx_chan; in usbhsf_dma_chan_get() 1252 if (fifo->rx_chan) in usbhsf_dma_quit() 1253 dma_release_channel(fifo->rx_chan); in usbhsf_dma_quit() 1256 fifo->rx_chan = NULL; in usbhsf_dma_quit() 1270 fifo->rx_chan = dma_request_channel(mask, usbhsf_dma_filter, in usbhsf_dma_init_pdev() 1290 fifo->rx_chan = dma_request_chan(dev, name); in usbhsf_dma_init_dt() 1291 if (IS_ERR(fifo->rx_chan)) in usbhsf_dma_init_dt() 1292 fifo->rx_chan = NULL; in usbhsf_dma_init_dt() 1306 if (fifo->tx_chan || fifo->rx_chan) in usbhsf_dma_init() 1310 fifo->rx_chan ? "[RX]" : " "); in usbhsf_dma_init()
|
D | fifo.h | 26 struct dma_chan *rx_chan; member
|
/Linux-v6.1/drivers/mmc/host/ |
D | au1xmmc.c | 112 u32 rx_chan; member 151 (((h)->flags & HOST_F_XMIT) ? (h)->tx_chan : (h)->rx_chan) 885 host->rx_chan = au1xxx_dbdma_chan_alloc(rxid, memid, in au1xmmc_dbdma_init() 887 if (!host->rx_chan) { in au1xmmc_dbdma_init() 894 au1xxx_dbdma_set_devwidth(host->rx_chan, 8); in au1xmmc_dbdma_init() 897 au1xxx_dbdma_ring_alloc(host->rx_chan, AU1XMMC_DESCRIPTOR_COUNT); in au1xmmc_dbdma_init() 910 au1xxx_dbdma_chan_free(host->rx_chan); in au1xmmc_dbdma_shutdown()
|
D | omap_hsmmc.c | 196 struct dma_chan *rx_chan; member 813 return data->flags & MMC_DATA_WRITE ? host->tx_chan : host->rx_chan; in omap_hsmmc_get_dma_chan() 1895 host->rx_chan = dma_request_chan(&pdev->dev, "rx"); in omap_hsmmc_probe() 1896 if (IS_ERR(host->rx_chan)) { in omap_hsmmc_probe() 1898 ret = PTR_ERR(host->rx_chan); in omap_hsmmc_probe() 1917 dma_get_max_seg_size(host->rx_chan->device->dev), in omap_hsmmc_probe() 1969 if (!IS_ERR_OR_NULL(host->rx_chan)) in omap_hsmmc_probe() 1970 dma_release_channel(host->rx_chan); in omap_hsmmc_probe() 1989 dma_release_channel(host->rx_chan); in omap_hsmmc_remove()
|
D | sdhci.c | 1233 host->rx_chan = dma_request_chan(mmc_dev(mmc), "rx"); in sdhci_external_dma_init() 1234 if (IS_ERR(host->rx_chan)) { in sdhci_external_dma_init() 1240 ret = PTR_ERR(host->rx_chan); in sdhci_external_dma_init() 1243 host->rx_chan = NULL; in sdhci_external_dma_init() 1252 return data->flags & MMC_DATA_WRITE ? host->tx_chan : host->rx_chan; in sdhci_external_dma_channel() 1317 if (host->rx_chan) { in sdhci_external_dma_release() 1318 dma_release_channel(host->rx_chan); in sdhci_external_dma_release() 1319 host->rx_chan = NULL; in sdhci_external_dma_release()
|
D | sdhci.h | 571 struct dma_chan *rx_chan; member
|
/Linux-v6.1/arch/mips/include/asm/mach-bcm63xx/ |
D | bcm63xx_dev_enet.h | 60 int rx_chan; member
|
/Linux-v6.1/arch/mips/bcm63xx/ |
D | dev-enet.c | 277 dpd->rx_chan = 0; in bcm63xx_enet_register() 280 dpd->rx_chan = 2; in bcm63xx_enet_register()
|
/Linux-v6.1/drivers/mtd/nand/raw/ |
D | qcom_nandc.c | 406 struct dma_chan *rx_chan; member 1435 r = prepare_bam_async_desc(nandc, nandc->rx_chan, 0); in submit_descs() 1468 dma_async_issue_pending(nandc->rx_chan); in submit_descs() 2886 if (nandc->rx_chan) in qcom_nandc_unalloc() 2887 dma_release_channel(nandc->rx_chan); in qcom_nandc_unalloc() 2951 nandc->rx_chan = dma_request_chan(nandc->dev, "rx"); in qcom_nandc_alloc() 2952 if (IS_ERR(nandc->rx_chan)) { in qcom_nandc_alloc() 2953 ret = PTR_ERR(nandc->rx_chan); in qcom_nandc_alloc() 2954 nandc->rx_chan = NULL; in qcom_nandc_alloc()
|
/Linux-v6.1/drivers/dma/qcom/ |
D | gpi.c | 2070 struct gchan *tx_chan, *rx_chan; in gpi_find_avail_gpii() local 2079 rx_chan = &gpi_dev->gpiis[gpii].gchan[GPI_RX_CHAN]; in gpi_find_avail_gpii() 2081 if (rx_chan->vc.chan.client_count && rx_chan->seid == seid) in gpi_find_avail_gpii() 2093 rx_chan = &gpi_dev->gpiis[gpii].gchan[GPI_RX_CHAN]; in gpi_find_avail_gpii() 2097 rx_chan->vc.chan.client_count) in gpi_find_avail_gpii()
|
/Linux-v6.1/drivers/ntb/ |
D | ntb_transport.c | 2397 struct dma_chan *rx_chan, *tx_chan; in ntb_transport_max_size() local 2402 rx_chan = qp->rx_dma_chan; in ntb_transport_max_size() 2405 copy_align = max(rx_chan ? rx_chan->device->copy_align : 0, in ntb_transport_max_size()
|
/Linux-v6.1/drivers/scsi/cxgbi/ |
D | libcxgbi.h | 124 unsigned int rx_chan; member
|
/Linux-v6.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls.h | 304 u32 rx_chan; member
|