Home
last modified time | relevance | path

Searched full:rx_dma (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.12.1/drivers/tty/serial/
Dsprd_serial.c126 struct sprd_uart_dma rx_dma; member
180 if (sp->rx_dma.enable) in sprd_stop_rx()
181 dmaengine_terminate_all(sp->rx_dma.chn); in sprd_stop_rx()
354 sp->rx_dma.virt = dma_alloc_coherent(sp->port.dev, SPRD_UART_RX_SIZE, in sprd_rx_alloc_buf()
355 &sp->rx_dma.phys_addr, GFP_KERNEL); in sprd_rx_alloc_buf()
356 if (!sp->rx_dma.virt) in sprd_rx_alloc_buf()
364 if (sp->rx_dma.virt) in sprd_rx_free_buf()
366 sp->rx_dma.virt, sp->rx_dma.phys_addr); in sprd_rx_free_buf()
367 sp->rx_dma.virt = NULL; in sprd_rx_free_buf()
381 return dmaengine_slave_config(sp->rx_dma.chn, &cfg); in sprd_rx_dma_config()
[all …]
Dmsm_serial.c187 struct msm_dma rx_dma; member
298 dma = &msm_port->rx_dma; in msm_release_dma()
365 dma = &msm_port->rx_dma; in msm_request_rx_dma()
564 struct msm_dma *dma = &msm_port->rx_dma; in msm_complete_rx_dma()
622 struct msm_dma *dma = &msm_port->rx_dma; in msm_start_rx_dma()
709 struct msm_dma *dma = &msm_port->rx_dma; in msm_stop_rx()
956 struct msm_dma *dma = &msm_port->rx_dma; in msm_uart_irq()
1274 struct msm_dma *dma = &msm_port->rx_dma; in msm_set_termios()
/linux-6.12.1/drivers/spi/
Dspi-fsl-cpm.c82 if (mspi->rx_dma == mspi->dma_dummy_rx) in fsl_spi_cpm_bufs_start()
83 iowrite32be(mspi->rx_dma, &rx_bd->cbd_bufaddr); in fsl_spi_cpm_bufs_start()
85 iowrite32be(mspi->rx_dma + xfer_ofs, &rx_bd->cbd_bufaddr); in fsl_spi_cpm_bufs_start()
115 mspi->rx_dma = mspi->dma_dummy_rx; in fsl_spi_cpm_bufs()
148 mspi->rx_dma = dma_map_single(dev, mspi->rx, t->len, in fsl_spi_cpm_bufs()
150 if (dma_mapping_error(dev, mspi->rx_dma)) { in fsl_spi_cpm_bufs()
155 mspi->rx_dma = t->rx_dma; in fsl_spi_cpm_bufs()
184 dma_unmap_single(dev, mspi->rx_dma, t->len, DMA_FROM_DEVICE); in fsl_spi_cpm_bufs_complete()
Dspi-s3c64xx.c194 * @rx_dma: Local receive DMA data (e.g. chan and direction)
218 struct s3c64xx_spi_dma_data rx_dma; member
283 struct s3c64xx_spi_driver_data, rx_dma); in s3c64xx_spi_dmacb()
315 struct s3c64xx_spi_driver_data, rx_dma); in s3c64xx_prepare_dma()
386 sdd->rx_dma.ch = dma_request_chan(&sdd->pdev->dev, "rx"); in s3c64xx_spi_prepare_transfer()
387 if (IS_ERR(sdd->rx_dma.ch)) { in s3c64xx_spi_prepare_transfer()
389 sdd->rx_dma.ch = NULL; in s3c64xx_spi_prepare_transfer()
396 dma_release_channel(sdd->rx_dma.ch); in s3c64xx_spi_prepare_transfer()
398 sdd->rx_dma.ch = NULL; in s3c64xx_spi_prepare_transfer()
402 spi->dma_rx = sdd->rx_dma.ch; in s3c64xx_spi_prepare_transfer()
[all …]
Dspi-atmel.c833 xfer->rx_buf, (unsigned long long)xfer->rx_dma); in atmel_spi_next_xfer_dma_submit()
864 dma_addr_t *rx_dma, in atmel_spi_next_xfer_data() argument
867 *rx_dma = xfer->rx_dma + xfer->len - *plen; in atmel_spi_next_xfer_data()
930 dma_addr_t tx_dma, rx_dma; in atmel_spi_pdc_next_xfer() local
935 atmel_spi_next_xfer_data(host, xfer, &tx_dma, &rx_dma, &len); in atmel_spi_pdc_next_xfer()
938 spi_writel(as, RPR, rx_dma); in atmel_spi_pdc_next_xfer()
950 (unsigned long long)xfer->rx_dma); in atmel_spi_pdc_next_xfer()
954 atmel_spi_next_xfer_data(host, xfer, &tx_dma, &rx_dma, &len); in atmel_spi_pdc_next_xfer()
957 spi_writel(as, RNPR, rx_dma); in atmel_spi_pdc_next_xfer()
969 (unsigned long long)xfer->rx_dma); in atmel_spi_pdc_next_xfer()
[all …]
Dspi-mt65xx.c155 * @rx_dma: DMA start for SPI-MEM RX
174 dma_addr_t rx_dma; member
614 writel((u32)(xfer->rx_dma & MTK_SPI_32BITS_MASK), in mtk_spi_setup_dma_addr()
618 writel((u32)(xfer->rx_dma >> 32), in mtk_spi_setup_dma_addr()
687 xfer->rx_dma = sg_dma_address(mdata->rx_sgl); in mtk_spi_dma_transfer()
800 xfer->rx_dma += mdata->xfer_len; in mtk_spi_interrupt_thread()
812 xfer->rx_dma = sg_dma_address(mdata->rx_sgl); in mtk_spi_interrupt_thread()
911 writel((u32)(mdata->rx_dma & MTK_SPI_32BITS_MASK), in mtk_spi_mem_setup_dma_xfer()
915 writel((u32)(mdata->rx_dma >> 32), in mtk_spi_mem_setup_dma_xfer()
1066 mdata->rx_dma = dma_map_single(mdata->dev, in mtk_spi_mem_exec_op()
[all …]
Dspi-slave-mt27xx.c224 xfer->rx_dma = dma_map_single(dev, xfer->rx_buf, in mtk_spi_slave_dma_transfer()
226 if (dma_mapping_error(dev, xfer->rx_dma)) { in mtk_spi_slave_dma_transfer()
233 writel(xfer->rx_dma, mdata->base + SPIS_RX_DST_REG); in mtk_spi_slave_dma_transfer()
266 dma_unmap_single(dev, xfer->rx_dma, in mtk_spi_slave_dma_transfer()
349 dma_unmap_single(mdata->dev, trans->rx_dma, in mtk_spi_slave_interrupt()
Dspi-sunplus-sp7021.c149 writel(xfer->rx_dma, pspim->s_base + SP7021_SLAVE_DMA_ADDR_REG); in sp7021_spi_target_rx()
377 xfer->rx_dma = dma_map_single(dev, xfer->rx_buf, xfer->len, in sp7021_spi_target_transfer_one()
379 if (dma_mapping_error(dev, xfer->rx_dma)) in sp7021_spi_target_transfer_one()
382 dma_unmap_single(dev, xfer->rx_dma, xfer->len, DMA_FROM_DEVICE); in sp7021_spi_target_transfer_one()
Dspi-fsl-lib.h39 dma_addr_t rx_dma; member
/linux-6.12.1/drivers/net/ethernet/amd/
Dau1000_eth.h46 struct rx_dma { struct
73 struct rx_dma *rx_dma_ring[NUM_RX_DMA];
/linux-6.12.1/drivers/net/ethernet/apple/
Dmace.c48 volatile struct dbdma_regs __iomem *rx_dma; member
188 mp->rx_dma = ioremap(macio_resource_start(mdev, 2), 0x1000); in mace_probe()
189 if (mp->rx_dma == NULL) { in mace_probe()
262 iounmap(mp->rx_dma); in mace_probe()
292 iounmap(mp->rx_dma); in mace_remove()
435 volatile struct dbdma_regs __iomem *rd = mp->rx_dma; in mace_open()
505 volatile struct dbdma_regs __iomem *rd = mp->rx_dma; in mace_close()
812 volatile struct dbdma_regs __iomem *rd = mp->rx_dma; in mace_tx_timeout()
881 volatile struct dbdma_regs __iomem *rd = mp->rx_dma; in mace_rxdma_intr()
Dbmac.c63 volatile struct dbdma_regs __iomem *rx_dma; member
225 volatile struct dbdma_regs __iomem *rd = bp->rx_dma; in bmac_enable_and_reset_chip()
402 volatile struct dbdma_regs __iomem *rd = bp->rx_dma; in bmac_start_chip()
473 volatile struct dbdma_regs __iomem *rd = bp->rx_dma; in bmac_suspend()
604 volatile struct dbdma_regs __iomem *rd = bp->rx_dma; in bmac_init_rx_ring()
674 volatile struct dbdma_regs __iomem *rd = bp->rx_dma; in bmac_rxdma_intr()
1307 bp->rx_dma = ioremap(macio_resource_start(mdev, 2), macio_resource_len(mdev, 2)); in bmac_probe()
1308 if (!bp->rx_dma) in bmac_probe()
1360 iounmap(bp->rx_dma); in bmac_probe()
1388 volatile struct dbdma_regs __iomem *rd = bp->rx_dma; in bmac_close()
[all …]
/linux-6.12.1/drivers/net/ethernet/agere/
Det131x.c1535 /* et131x_config_rx_dma_regs - Start of Rx_DMA init sequence */
1538 struct rxdma_regs __iomem *rx_dma = &adapter->regs->rxdma; in et131x_config_rx_dma_regs() local
1549 writel(upper_32_bits(rx_local->rx_status_bus), &rx_dma->dma_wb_base_hi); in et131x_config_rx_dma_regs()
1550 writel(lower_32_bits(rx_local->rx_status_bus), &rx_dma->dma_wb_base_lo); in et131x_config_rx_dma_regs()
1555 writel(upper_32_bits(rx_local->ps_ring_physaddr), &rx_dma->psr_base_hi); in et131x_config_rx_dma_regs()
1556 writel(lower_32_bits(rx_local->ps_ring_physaddr), &rx_dma->psr_base_lo); in et131x_config_rx_dma_regs()
1557 writel(rx_local->psr_entries - 1, &rx_dma->psr_num_des); in et131x_config_rx_dma_regs()
1558 writel(0, &rx_dma->psr_full_offset); in et131x_config_rx_dma_regs()
1560 psr_num_des = readl(&rx_dma->psr_num_des) & ET_RXDMA_PSR_NUM_DES_MASK; in et131x_config_rx_dma_regs()
1562 &rx_dma->psr_min_des); in et131x_config_rx_dma_regs()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/
Dadi,axi-adc.yaml63 dmas = <&rx_dma 0>;
/linux-6.12.1/drivers/net/fddi/
Ddefza.c425 writel_o((fp->rx_dma[i] + 0x1000) >> 9, in fza_rx_init()
427 writel_o(fp->rx_dma[i] >> 9 | FZA_RING_OWN_FZA, in fza_rx_init()
693 dma = fp->rx_dma[i]; in fza_rx()
767 fp->rx_dma[i] = dma; in fza_rx()
1173 dma_unmap_single(fp->bdev, fp->rx_dma[i], in fza_open()
1177 fp->rx_dma[i] = 0; in fza_open()
1183 fp->rx_dma[i] = dma; in fza_open()
1256 dma_unmap_single(fp->bdev, fp->rx_dma[i], in fza_close()
1259 fp->rx_dma[i] = 0; in fza_close()
/linux-6.12.1/drivers/net/can/peak_canfd/
Dpeak_pciefd_main.c315 struct pciefd_rx_dma *rx_dma = priv->rx_dma_vaddr; in pciefd_irq_handler() local
322 priv->irq_status = le32_to_cpu(rx_dma->irq_status); in pciefd_irq_handler()
330 rx_dma->msg, in pciefd_irq_handler()
/linux-6.12.1/drivers/net/wireless/ath/ath10k/
Drx_desc.h228 * ring 0. Field is filled in by the RX_DMA.
232 * ring 1. Field is filled in by the RX_DMA.
236 * ring 2. Field is filled in by the RX_DMA.
240 * ring 3. Field is filled in by the RX_DMA.
/linux-6.12.1/drivers/atm/
Deni.h81 void __iomem *rx_dma; /* RX DMA queue */ member
/linux-6.12.1/drivers/i2c/busses/
Di2c-qcom-geni.c407 dma_addr_t rx_dma = 0; in geni_i2c_rx_one_msg() local
423 if (dma_buf && geni_se_rx_dma_prep(se, dma_buf, len, &rx_dma)) { in geni_i2c_rx_one_msg()
429 gi2c->dma_addr = rx_dma; in geni_i2c_rx_one_msg()
/linux-6.12.1/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.h199 /* mac irq, rx_dma irq, tx_dma irq */
/linux-6.12.1/drivers/net/ethernet/sis/
Dsis190.c275 dma_addr_t rx_dma; member
891 SIS_W32(RxDescStartAddr, tp->rx_dma); in sis190_hw_start()
1081 &tp->rx_dma, GFP_KERNEL); in sis190_open()
1104 tp->rx_dma); in sis190_open()
1172 tp->rx_dma); in sis190_close()
/linux-6.12.1/Documentation/core-api/
Ddma-api-howto.rst686 cp->rx_dma = mapping;
706 dma_sync_single_for_cpu(&cp->dev, cp->rx_dma,
713 dma_unmap_single(&cp->dev, cp->rx_dma, cp->rx_len,
/linux-6.12.1/drivers/tty/serial/8250/
D8250_dma.c82 p->dma->rx_dma(p); in dma_rx_complete()
/linux-6.12.1/drivers/scsi/mvsas/
Dmv_64xx.c319 mw32(MVS_RX_LO, mvi->rx_dma); in mvs_64xx_init()
320 mw32(MVS_RX_HI, (mvi->rx_dma >> 16) >> 16); in mvs_64xx_init()
Dmv_init.c110 mvi->rx, mvi->rx_dma); in mvs_free()
239 &mvi->rx_dma, GFP_KERNEL); in mvs_alloc()

12