| /linux/drivers/spi/ |
| H A D | spi-fsl-cpm.c | 82 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()
|
| H A D | spi-fsl-lib.h | 39 dma_addr_t rx_dma; member
|
| /linux/drivers/net/ethernet/amd/ |
| H A D | au1000_eth.h | 46 struct rx_dma { struct 73 struct rx_dma *rx_dma_ring[NUM_RX_DMA];
|
| H A D | au1000_eth.c | 636 aup->rx_dma_ring[i] = (struct rx_dma *) in au1000_setup_hw_rings() 637 (tx_base + 0x100 + sizeof(struct rx_dma) * i); in au1000_setup_hw_rings() 770 struct rx_dma *prxd; in au1000_rx()
|
| /linux/drivers/net/ethernet/apple/ |
| H A D | bmac.c | 62 volatile struct dbdma_regs __iomem *rx_dma; member 224 volatile struct dbdma_regs __iomem *rd = bp->rx_dma; in bmac_enable_and_reset_chip() 401 volatile struct dbdma_regs __iomem *rd = bp->rx_dma; in bmac_start_chip() 472 volatile struct dbdma_regs __iomem *rd = bp->rx_dma; in bmac_suspend() 603 volatile struct dbdma_regs __iomem *rd = bp->rx_dma; in bmac_init_rx_ring() 673 volatile struct dbdma_regs __iomem *rd = bp->rx_dma; in bmac_rxdma_intr() 1251 bp->rx_dma = ioremap(macio_resource_start(mdev, 2), macio_resource_len(mdev, 2)); in bmac_probe() 1252 if (!bp->rx_dma) in bmac_probe() 1304 iounmap(bp->rx_dma); in bmac_probe() 1332 volatile struct dbdma_regs __iomem *rd = bp->rx_dma; in bmac_close() [all …]
|
| H A D | mace.c | 48 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()
|
| /linux/drivers/net/ethernet/agere/ |
| H A D | et131x.c | 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() 1578 num_des = &rx_dma->fbr0_num_des; in et131x_config_rx_dma_regs() [all …]
|
| /linux/drivers/net/fddi/ |
| H A D | defza.c | 425 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() 1181 dma_unmap_single(fp->bdev, fp->rx_dma[i], in fza_open() 1185 fp->rx_dma[i] = 0; in fza_open() 1191 fp->rx_dma[i] = dma; in fza_open() 1264 dma_unmap_single(fp->bdev, fp->rx_dma[i], in fza_close() 1267 fp->rx_dma[i] = 0; in fza_close()
|
| H A D | defza.h | 674 dma_addr_t rx_dma[FZA_RING_RX_SIZE]; member
|
| /linux/drivers/iio/adc/ |
| H A D | ad4000.c | 853 struct dma_chan *rx_dma; in ad4000_spi_offload_setup() local 867 rx_dma = devm_spi_offload_rx_stream_request_dma_chan(dev, st->offload); in ad4000_spi_offload_setup() 868 if (IS_ERR(rx_dma)) in ad4000_spi_offload_setup() 869 return dev_err_probe(dev, PTR_ERR(rx_dma), in ad4000_spi_offload_setup() 872 ret = devm_iio_dmaengine_buffer_setup_with_handle(dev, indio_dev, rx_dma, in ad4000_spi_offload_setup()
|
| H A D | ad4695.c | 1689 struct dma_chan *rx_dma; in ad4695_probe_spi_offload() local 1736 rx_dma = devm_spi_offload_rx_stream_request_dma_chan(dev, st->offload); in ad4695_probe_spi_offload() 1737 if (IS_ERR(rx_dma)) in ad4695_probe_spi_offload() 1738 return dev_err_probe(dev, PTR_ERR(rx_dma), in ad4695_probe_spi_offload() 1782 rx_dma, IIO_BUFFER_DIRECTION_IN); in ad4695_probe_spi_offload()
|
| H A D | ad4691.c | 1918 struct dma_chan *rx_dma; in ad4691_setup_offload() local 1971 rx_dma = devm_spi_offload_rx_stream_request_dma_chan(dev, st->offload); in ad4691_setup_offload() 1972 if (IS_ERR(rx_dma)) in ad4691_setup_offload() 1973 return dev_err_probe(dev, PTR_ERR(rx_dma), in ad4691_setup_offload() 1981 ret = devm_iio_dmaengine_buffer_setup_with_handle(dev, indio_dev, rx_dma, in ad4691_setup_offload()
|
| /linux/drivers/tty/serial/ |
| H A D | msm_serial.c | 187 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() 1275 struct msm_dma *dma = &msm_port->rx_dma; in msm_set_termios()
|
| /linux/drivers/net/can/peak_canfd/ |
| H A D | peak_pciefd_main.c | 315 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/drivers/tty/serial/8250/ |
| H A D | 8250_dma.c | 82 p->dma->rx_dma(p); in dma_rx_complete()
|
| H A D | 8250_omap.c | 760 up->dma->rx_dma(up); in omap_8250_startup() 825 up->dma->rx_dma(up); in omap_8250_unthrottle() 1565 dma->rx_dma = omap_8250_rx_dma; in omap8250_probe()
|
| /linux/drivers/scsi/mvsas/ |
| H A D | mv_64xx.c | 319 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()
|
| H A D | mv_init.c | 110 mvi->rx, mvi->rx_dma); in mvs_free() 239 &mvi->rx_dma, GFP_KERNEL); in mvs_alloc()
|
| H A D | mv_94xx.c | 457 mw32(MVS_RX_LO, mvi->rx_dma); in mvs_94xx_init() 458 mw32(MVS_RX_HI, (mvi->rx_dma >> 16) >> 16); in mvs_94xx_init()
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-qcom-geni.c | 489 dma_addr_t rx_dma = 0; in geni_i2c_rx_one_msg() local 505 if (dma_buf && geni_se_rx_dma_prep(se, dma_buf, len, &rx_dma)) { in geni_i2c_rx_one_msg() 511 gi2c->dma_addr = rx_dma; in geni_i2c_rx_one_msg()
|
| /linux/include/linux/spi/ |
| H A D | spi.h | 1136 dma_addr_t rx_dma; member
|