/linux-6.6.21/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-6.6.21/drivers/soc/xilinx/ |
D | zynqmp_power.c | 34 static struct mbox_chan *rx_chan; variable 114 ret = mbox_send_message(rx_chan, NULL); in ipi_receive_callback() 239 rx_chan = mbox_request_channel_byname(client, "rx"); in zynqmp_pm_probe() 240 if (IS_ERR(rx_chan)) { in zynqmp_pm_probe() 242 return PTR_ERR(rx_chan); in zynqmp_pm_probe() 284 if (!rx_chan) in zynqmp_pm_remove() 285 mbox_free_channel(rx_chan); in zynqmp_pm_remove()
|
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/tty/serial/ |
D | samsung_tty.c | 107 struct dma_chan *rx_chan; member 520 dma_sync_single_for_cpu(dma->rx_chan->device->dev, dma->rx_addr, in s3c24xx_uart_copy_rx_to_tty() 562 if (dma && dma->rx_chan) { in s3c24xx_serial_stop_rx() 564 dma_status = dmaengine_tx_status(dma->rx_chan, in s3c24xx_serial_stop_rx() 569 dmaengine_terminate_all(dma->rx_chan); in s3c24xx_serial_stop_rx() 618 dmaengine_tx_status(dma->rx_chan, dma->rx_cookie, &state); in s3c24xx_serial_rx_dma_complete() 641 dma_sync_single_for_device(dma->rx_chan->device->dev, dma->rx_addr, in s3c64xx_start_rx_dma() 644 dma->rx_desc = dmaengine_prep_slave_single(dma->rx_chan, in s3c64xx_start_rx_dma() 657 dma_async_issue_pending(dma->rx_chan); in s3c64xx_start_rx_dma() 735 dmaengine_pause(dma->rx_chan); in s3c24xx_serial_rx_chars_dma() [all …]
|
/linux-6.6.21/drivers/spi/ |
D | spi-ti-qspi.c | 57 struct dma_chan *rx_chan; member 444 struct dma_chan *chan = qspi->rx_chan; in ti_qspi_dma_xfer() 632 if (qspi->rx_chan) { in ti_qspi_exec_mem_op() 745 if (qspi->rx_chan) in ti_qspi_dma_cleanup() 746 dma_release_channel(qspi->rx_chan); in ti_qspi_dma_cleanup() 861 qspi->rx_chan = dma_request_chan_by_mask(&mask); in ti_qspi_probe() 862 if (IS_ERR(qspi->rx_chan)) { in ti_qspi_probe() 865 qspi->rx_chan = NULL; in ti_qspi_probe() 876 dma_release_channel(qspi->rx_chan); in ti_qspi_probe() 879 master->dma_rx = qspi->rx_chan; in ti_qspi_probe() [all …]
|
D | spi-cadence-quadspi.c | 80 struct dma_chan *rx_chan; member 1306 if (!cqspi->rx_chan || !virt_addr_valid(buf)) { in cqspi_direct_read_execute() 1311 ddev = cqspi->rx_chan->device->dev; in cqspi_direct_read_execute() 1317 tx = dmaengine_prep_dma_memcpy(cqspi->rx_chan, dma_dst, dma_src, in cqspi_direct_read_execute() 1337 dma_async_issue_pending(cqspi->rx_chan); in cqspi_direct_read_execute() 1340 dmaengine_terminate_sync(cqspi->rx_chan); in cqspi_direct_read_execute() 1574 cqspi->rx_chan = dma_request_chan_by_mask(&mask); in cqspi_request_mmap_dma() 1575 if (IS_ERR(cqspi->rx_chan)) { in cqspi_request_mmap_dma() 1576 int ret = PTR_ERR(cqspi->rx_chan); in cqspi_request_mmap_dma() 1578 cqspi->rx_chan = NULL; in cqspi_request_mmap_dma() [all …]
|
/linux-6.6.21/drivers/remoteproc/ |
D | xlnx_r5_remoteproc.c | 71 struct mbox_chan *rx_chan; member 195 if (mbox_send_message(ipi->rx_chan, NULL) < 0) in zynqmp_r5_mb_rx_cb() 235 ipi->rx_chan = mbox_request_channel_byname(mbox_cl, "rx"); in zynqmp_r5_setup_mbox() 236 if (IS_ERR(ipi->rx_chan)) { in zynqmp_r5_setup_mbox() 238 ipi->rx_chan = NULL; in zynqmp_r5_setup_mbox() 260 if (ipi->rx_chan) { in zynqmp_r5_free_mbox() 261 mbox_free_channel(ipi->rx_chan); in zynqmp_r5_free_mbox() 262 ipi->rx_chan = NULL; in zynqmp_r5_free_mbox()
|
/linux-6.6.21/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-6.6.21/arch/mips/include/asm/mach-bcm63xx/ |
D | bcm63xx_dev_enet.h | 60 int rx_chan; member
|
/linux-6.6.21/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() 1894 host->rx_chan = dma_request_chan(&pdev->dev, "rx"); in omap_hsmmc_probe() 1895 if (IS_ERR(host->rx_chan)) { in omap_hsmmc_probe() 1897 ret = PTR_ERR(host->rx_chan); in omap_hsmmc_probe() 1916 dma_get_max_seg_size(host->rx_chan->device->dev), in omap_hsmmc_probe() 1970 if (!IS_ERR_OR_NULL(host->rx_chan)) in omap_hsmmc_probe() 1971 dma_release_channel(host->rx_chan); in omap_hsmmc_probe() 1990 dma_release_channel(host->rx_chan); in omap_hsmmc_remove()
|
D | sdhci.c | 1224 host->rx_chan = dma_request_chan(mmc_dev(mmc), "rx"); in sdhci_external_dma_init() 1225 if (IS_ERR(host->rx_chan)) { in sdhci_external_dma_init() 1231 ret = PTR_ERR(host->rx_chan); in sdhci_external_dma_init() 1234 host->rx_chan = NULL; in sdhci_external_dma_init() 1243 return data->flags & MMC_DATA_WRITE ? host->tx_chan : host->rx_chan; in sdhci_external_dma_channel() 1308 if (host->rx_chan) { in sdhci_external_dma_release() 1309 dma_release_channel(host->rx_chan); in sdhci_external_dma_release() 1310 host->rx_chan = NULL; in sdhci_external_dma_release()
|
D | sdhci.h | 578 struct dma_chan *rx_chan; member
|
/linux-6.6.21/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-6.6.21/drivers/mtd/nand/raw/ |
D | qcom_nandc.c | 412 struct dma_chan *rx_chan; member 1316 ret = prepare_bam_async_desc(nandc, nandc->rx_chan, 0); in submit_descs() 1349 dma_async_issue_pending(nandc->rx_chan); in submit_descs() 3031 if (nandc->rx_chan) in qcom_nandc_unalloc() 3032 dma_release_channel(nandc->rx_chan); in qcom_nandc_unalloc() 3094 nandc->rx_chan = dma_request_chan(nandc->dev, "rx"); in qcom_nandc_alloc() 3095 if (IS_ERR(nandc->rx_chan)) { in qcom_nandc_alloc() 3096 ret = PTR_ERR(nandc->rx_chan); in qcom_nandc_alloc() 3097 nandc->rx_chan = NULL; in qcom_nandc_alloc()
|
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls.h | 305 u32 rx_chan; member
|
/linux-6.6.21/drivers/ntb/ |
D | ntb_transport.c | 2408 struct dma_chan *rx_chan, *tx_chan; in ntb_transport_max_size() local 2413 rx_chan = qp->rx_dma_chan; in ntb_transport_max_size() 2416 copy_align = max(rx_chan ? rx_chan->device->copy_align : 0, in ntb_transport_max_size()
|
/linux-6.6.21/drivers/scsi/cxgbi/ |
D | libcxgbi.h | 123 unsigned int rx_chan; member
|