Home
last modified time | relevance | path

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

12

/drivers/scsi/
Djazz_esp.c51 vdma_disable ((int)esp->dma_regs); in jazz_esp_reset_dma()
61 vdma_disable ((int)esp->dma_regs); in jazz_esp_dma_invalidate()
71 vdma_disable ((int)esp->dma_regs); in jazz_esp_send_dma_cmd()
73 vdma_set_mode ((int)esp->dma_regs, DMA_MODE_READ); in jazz_esp_send_dma_cmd()
75 vdma_set_mode ((int)esp->dma_regs, DMA_MODE_WRITE); in jazz_esp_send_dma_cmd()
77 vdma_set_addr ((int)esp->dma_regs, addr); in jazz_esp_send_dma_cmd()
78 vdma_set_count ((int)esp->dma_regs, dma_count); in jazz_esp_send_dma_cmd()
79 vdma_enable ((int)esp->dma_regs); in jazz_esp_send_dma_cmd()
86 u32 enable = vdma_get_enable((int)esp->dma_regs); in jazz_esp_dma_error()
138 esp->dma_regs = (void __iomem *)res->start; in esp_jazz_probe()
Dzorro_esp.c193 struct cyber_dma_registers __iomem *dregs = esp->dma_regs; in cyber_esp_irq_pending()
203 struct fastlane_dma_registers __iomem *dregs = esp->dma_regs; in fastlane_esp_irq_pending()
249 struct fastlane_dma_registers __iomem *dregs = esp->dma_regs; in fastlane_esp_dma_invalidate()
262 struct blz1230_dma_registers __iomem *dregs = esp->dma_regs; in zorro_esp_send_blz1230_dma_cmd()
313 struct blz1230II_dma_registers __iomem *dregs = esp->dma_regs; in zorro_esp_send_blz1230II_dma_cmd()
358 struct blz2060_dma_registers __iomem *dregs = esp->dma_regs; in zorro_esp_send_blz2060_dma_cmd()
404 struct cyber_dma_registers __iomem *dregs = esp->dma_regs; in zorro_esp_send_cyber_dma_cmd()
455 struct cyberII_dma_registers __iomem *dregs = esp->dma_regs; in zorro_esp_send_cyberII_dma_cmd()
497 struct fastlane_dma_registers __iomem *dregs = esp->dma_regs; in zorro_esp_send_fastlane_dma_cmd()
844 esp->dma_regs = ioremap(dmaaddr, in zorro_esp_probe()
[all …]
Dsun3x_esp.c44 readl(esp->dma_regs + (REG))
46 writel((VAL), esp->dma_regs + (REG))
49 *(volatile u32 *)(esp->dma_regs + (REG))
51 do { *(volatile u32 *)(esp->dma_regs + (REG)) = (VAL); } while (0)
201 esp->dma_regs = ioremap(res->start, 0x10); in esp_sun3x_probe()
237 iounmap(esp->dma_regs); in esp_sun3x_probe()
Dsun_esp.c32 sbus_readl(esp->dma_regs + (REG))
34 sbus_writel((VAL), esp->dma_regs + (REG))
51 esp->dma_regs = of_ioremap(&dma_of->resource[0], 0, in esp_sbus_setup_dma()
54 if (!esp->dma_regs) in esp_sbus_setup_dma()
575 of_iounmap(&dma_of->resource[0], esp->dma_regs, in esp_sbus_remove()
Desp_scsi.h427 void __iomem *dma_regs; member
Dam53c974.c437 esp->dma_regs = esp->regs; in pci_esp_probe_one()
/drivers/macintosh/
Drack-meter.c63 struct dbdma_regs __iomem *dma_regs; member
153 DBDMA_DO_STOP(rm->dma_regs); in rackmeter_do_pause()
162 out_le32(&rm->dma_regs->cmdptr_hi, 0); in rackmeter_do_pause()
163 out_le32(&rm->dma_regs->cmdptr, rm->dma_buf_p); in rackmeter_do_pause()
164 out_le32(&rm->dma_regs->control, (RUN << 16) | RUN); in rackmeter_do_pause()
173 DBDMA_DO_RESET(rm->dma_regs); in rackmeter_setup_dbdma()
335 (void)in_le32(&rm->dma_regs->status); in rackmeter_irq()
349 DBDMA_DO_RESET(rm->dma_regs); in rackmeter_irq()
474 rm->dma_regs = ioremap(macio_resource_start(mdev, 1), 0x100); in rackmeter_probe()
476 rm->dma_regs = ioremap(rdma.start, 0x100); in rackmeter_probe()
[all …]
/drivers/ata/
Dpata_macio.c578 struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr; in pata_macio_freeze() local
580 if (dma_regs) { in pata_macio_freeze()
584 writel((RUN|PAUSE|FLUSH|WAKE|DEAD) << 16, &dma_regs->control); in pata_macio_freeze()
585 while (--timeout && (readl(&dma_regs->status) & RUN)) in pata_macio_freeze()
597 struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr; in pata_macio_bmdma_setup() local
603 writel(priv->dma_table_dma, &dma_regs->cmdptr); in pata_macio_bmdma_setup()
626 struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr; in pata_macio_bmdma_start() local
630 writel((RUN << 16) | RUN, &dma_regs->control); in pata_macio_bmdma_start()
632 (void)readl(&dma_regs->control); in pata_macio_bmdma_start()
639 struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr; in pata_macio_bmdma_stop() local
[all …]
/drivers/ide/
Dpmac.c68 volatile struct dbdma_regs __iomem * dma_regs; member
1184 pmif->dma_regs = ioremap(macio_resource_start(mdev, 1), 0x1000); in pmac_ide_macio_attach()
1186 pmif->dma_regs = NULL; in pmac_ide_macio_attach()
1201 if (pmif->dma_regs) { in pmac_ide_macio_attach()
1202 iounmap(pmif->dma_regs); in pmac_ide_macio_attach()
1293 pmif->dma_regs = base + 0x1000; in pmac_ide_pci_attach()
1457 volatile struct dbdma_regs __iomem *dma = pmif->dma_regs; in pmac_ide_build_dmatable()
1560 dma = pmif->dma_regs; in pmac_ide_dma_start()
1575 volatile struct dbdma_regs __iomem *dma = pmif->dma_regs; in pmac_ide_dma_end()
1599 volatile struct dbdma_regs __iomem *dma = pmif->dma_regs; in pmac_ide_dma_test_irq()
[all …]
/drivers/usb/gadget/udc/
Datmel_usba_udc.h197 readl_relaxed((ep)->dma_regs + USBA_DMA_##reg)
199 writel_relaxed((value), (ep)->dma_regs + USBA_DMA_##reg)
271 void __iomem *dma_regs; member
Datmel_usba_udc.c2219 ep->dma_regs = udc->regs + USBA_DMA_BASE(i); in atmel_udc_of_init()
/drivers/net/ethernet/ni/
Dnixge.c186 void __iomem *dma_regs; member
210 writel(val, priv->dma_regs + offset); in nixge_dma_write_reg()
216 writel(lower_32_bits(addr), priv->dma_regs + offset); in nixge_dma_write_desc_reg()
218 writel(upper_32_bits(addr), priv->dma_regs + offset + 4); in nixge_dma_write_desc_reg()
224 return readl(priv->dma_regs + offset); in nixge_dma_read_reg()
242 readl_poll_timeout((priv)->dma_regs + (addr), (val), (cond), \
1246 priv->dma_regs = devm_ioremap_resource(&pdev->dev, dmares); in nixge_of_get_resources()
1247 if (IS_ERR(priv->dma_regs)) { in nixge_of_get_resources()
1249 return PTR_ERR(priv->dma_regs); in nixge_of_get_resources()
1252 priv->ctrl_regs = priv->dma_regs + NIXGE_REG_CTRL_OFFSET; in nixge_of_get_resources()
/drivers/dma/ppc4xx/
Dadma.h64 struct dma_regs __iomem *dma_reg;
Ddma.h124 struct dma_regs { struct
Dadma.c901 struct dma_regs *dma_reg; in ppc440spe_adma_device_clear_eot_status()
1020 struct dma_regs *dma_reg; in ppc440spe_chan_is_busy()
1080 struct dma_regs *dma_reg = chan->device->dma_reg; in ppc440spe_dma_put_desc()
1177 struct dma_regs *dma_reg; in ppc440spe_chan_get_current_descriptor()
/drivers/net/ethernet/freescale/fman/
Dfman.c646 tmp = ioread32be(&fman->dma_regs->fmdmplr[port_id / 2]); in set_port_liodn()
654 iowrite32be(tmp, &fman->dma_regs->fmdmplr[port_id / 2]); in set_port_liodn()
708 struct fman_dma_regs __iomem *dma_rg = fman->dma_regs; in dma_init()
982 tmp = ioread32be(&fman->dma_regs->fmdmmr); in set_exception()
988 iowrite32be(tmp, &fman->dma_regs->fmdmmr); in set_exception()
993 tmp = ioread32be(&fman->dma_regs->fmdmmr); in set_exception()
998 iowrite32be(tmp, &fman->dma_regs->fmdmmr); in set_exception()
1286 struct fman_dma_regs __iomem *dma_rg = fman->dma_regs; in dma_err_event()
1746 fman->dma_regs = base_addr + DMA_OFFSET; in fman_config()
1953 liodn_base = ioread32be(&fman->dma_regs->fmdmplr[i / 2]); in fman_init()
Dfman.h331 struct fman_dma_regs __iomem *dma_regs; member
/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c133 return ioread32(lp->dma_regs + reg); in axienet_dma_in32()
148 iowrite32(value, lp->dma_regs + reg); in axienet_dma_out32()
1986 lp->dma_regs = devm_ioremap_resource(&pdev->dev, in axienet_probe()
1996 lp->dma_regs = devm_ioremap_resource(&pdev->dev, res); in axienet_probe()
2001 if (IS_ERR(lp->dma_regs)) { in axienet_probe()
2003 ret = PTR_ERR(lp->dma_regs); in axienet_probe()
2026 void __iomem *desc = lp->dma_regs + XAXIDMA_TX_CDESC_OFFSET + 4; in axienet_probe()
Dxilinx_axienet.h434 void __iomem *dma_regs; member
/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-desc.c260 channel->dma_regs = pdata->mac_regs + DMA_CH_BASE + in xlgmac_alloc_channels()
283 channel->name, channel->dma_regs, in xlgmac_alloc_channels()
Ddwc-xlgmac-reg.h742 #define XLGMAC_DMA_REG(channel, reg) ((channel)->dma_regs + (reg))
Ddwc-xlgmac.h363 void __iomem *dma_regs; member
/drivers/net/ethernet/amd/xgbe/
Dxgbe-common.h1513 ioread32((_channel)->dma_regs + _reg)
1521 iowrite32((_val), (_channel)->dma_regs + _reg)
Dxgbe.h503 void __iomem *dma_regs; member
Dxgbe-drv.c214 channel->dma_regs = pdata->xgmac_regs + DMA_CH_BASE + in xgbe_alloc_channels()
249 channel->name, channel->dma_regs, channel->dma_irq, in xgbe_alloc_channels()

12