dma_regs           26 arch/powerpc/platforms/pasemi/dma_lib.c static void __iomem *dma_regs;
dma_regs           86 arch/powerpc/platforms/pasemi/dma_lib.c 	return in_le32(dma_regs+reg);
dma_regs           96 arch/powerpc/platforms/pasemi/dma_lib.c 	out_le32(dma_regs+reg, val);
dma_regs          533 arch/powerpc/platforms/pasemi/dma_lib.c 	dma_regs = map_onedev(dma_pdev, 0);
dma_regs          576 drivers/ata/pata_macio.c 	struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr;
dma_regs          578 drivers/ata/pata_macio.c 	if (dma_regs) {
dma_regs          582 drivers/ata/pata_macio.c 		writel((RUN|PAUSE|FLUSH|WAKE|DEAD) << 16, &dma_regs->control);
dma_regs          583 drivers/ata/pata_macio.c 		while (--timeout && (readl(&dma_regs->status) & RUN))
dma_regs          595 drivers/ata/pata_macio.c 	struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr;
dma_regs          601 drivers/ata/pata_macio.c 	writel(priv->dma_table_dma, &dma_regs->cmdptr);
dma_regs          624 drivers/ata/pata_macio.c 	struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr;
dma_regs          628 drivers/ata/pata_macio.c 	writel((RUN << 16) | RUN, &dma_regs->control);
dma_regs          630 drivers/ata/pata_macio.c 	(void)readl(&dma_regs->control);
dma_regs          637 drivers/ata/pata_macio.c 	struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr;
dma_regs          643 drivers/ata/pata_macio.c 	writel (((RUN|WAKE|DEAD) << 16), &dma_regs->control);
dma_regs          644 drivers/ata/pata_macio.c 	while (--timeout && (readl(&dma_regs->status) & RUN))
dma_regs          651 drivers/ata/pata_macio.c 	struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr;
dma_regs          655 drivers/ata/pata_macio.c 	dstat = readl(&dma_regs->status);
dma_regs          691 drivers/ata/pata_macio.c 	writel((FLUSH << 16) | FLUSH, &dma_regs->control);
dma_regs          694 drivers/ata/pata_macio.c 		dstat = readl(&dma_regs->status);
dma_regs         1042 drivers/ata/pata_macio.c 	void __iomem			*dma_regs = NULL;
dma_regs         1078 drivers/ata/pata_macio.c 		dma_regs = devm_ioremap(priv->dev, dmaregs,
dma_regs         1080 drivers/ata/pata_macio.c 		if (dma_regs == NULL)
dma_regs         1095 drivers/ata/pata_macio.c 			     priv->tfregs, dma_regs);
dma_regs         1103 drivers/ata/pata_macio.c 	if (priv->pdev && dma_regs)
dma_regs          901 drivers/dma/ppc4xx/adma.c 	struct dma_regs *dma_reg;
dma_regs         1020 drivers/dma/ppc4xx/adma.c 	struct dma_regs *dma_reg;
dma_regs         1080 drivers/dma/ppc4xx/adma.c 	struct dma_regs *dma_reg = chan->device->dma_reg;
dma_regs         1177 drivers/dma/ppc4xx/adma.c 	struct dma_regs *dma_reg;
dma_regs           64 drivers/dma/ppc4xx/adma.h 	struct dma_regs __iomem *dma_reg;
dma_regs           68 drivers/ide/pmac.c 	volatile struct dbdma_regs __iomem *	dma_regs;
dma_regs         1185 drivers/ide/pmac.c 			pmif->dma_regs = ioremap(macio_resource_start(mdev, 1), 0x1000);
dma_regs         1187 drivers/ide/pmac.c 		pmif->dma_regs = NULL;
dma_regs         1202 drivers/ide/pmac.c 		if (pmif->dma_regs) {
dma_regs         1203 drivers/ide/pmac.c 			iounmap(pmif->dma_regs);
dma_regs         1294 drivers/ide/pmac.c 	pmif->dma_regs = base + 0x1000;
dma_regs         1458 drivers/ide/pmac.c 	volatile struct dbdma_regs __iomem *dma = pmif->dma_regs;
dma_regs         1561 drivers/ide/pmac.c 	dma = pmif->dma_regs;
dma_regs         1576 drivers/ide/pmac.c 	volatile struct dbdma_regs __iomem *dma = pmif->dma_regs;
dma_regs         1600 drivers/ide/pmac.c 	volatile struct dbdma_regs __iomem *dma = pmif->dma_regs;
dma_regs         1654 drivers/ide/pmac.c 	volatile struct dbdma_regs __iomem *dma = pmif->dma_regs;
dma_regs         1681 drivers/ide/pmac.c 	if (dev == NULL || pmif->dma_regs == 0)
dma_regs           63 drivers/macintosh/rack-meter.c 	struct dbdma_regs __iomem	*dma_regs;
dma_regs          152 drivers/macintosh/rack-meter.c 		DBDMA_DO_STOP(rm->dma_regs);
dma_regs          161 drivers/macintosh/rack-meter.c 	out_le32(&rm->dma_regs->cmdptr_hi, 0);
dma_regs          162 drivers/macintosh/rack-meter.c 	out_le32(&rm->dma_regs->cmdptr, rm->dma_buf_p);
dma_regs          163 drivers/macintosh/rack-meter.c 	out_le32(&rm->dma_regs->control, (RUN << 16) | RUN);
dma_regs          172 drivers/macintosh/rack-meter.c 	DBDMA_DO_RESET(rm->dma_regs);
dma_regs          334 drivers/macintosh/rack-meter.c 	(void)in_le32(&rm->dma_regs->status);
dma_regs          348 drivers/macintosh/rack-meter.c 			DBDMA_DO_RESET(rm->dma_regs);
dma_regs          473 drivers/macintosh/rack-meter.c 	rm->dma_regs = ioremap(macio_resource_start(mdev, 1), 0x100);
dma_regs          475 drivers/macintosh/rack-meter.c 	rm->dma_regs = ioremap(rdma.start, 0x100);
dma_regs          477 drivers/macintosh/rack-meter.c 	if (rm->dma_regs == NULL) {
dma_regs          502 drivers/macintosh/rack-meter.c 	DBDMA_DO_RESET(rm->dma_regs);
dma_regs          504 drivers/macintosh/rack-meter.c 	iounmap(rm->dma_regs);
dma_regs          537 drivers/macintosh/rack-meter.c 	DBDMA_DO_RESET(rm->dma_regs);
dma_regs          543 drivers/macintosh/rack-meter.c 	iounmap(rm->dma_regs);
dma_regs          576 drivers/macintosh/rack-meter.c 	DBDMA_DO_RESET(rm->dma_regs);
dma_regs         1491 drivers/net/ethernet/amd/xgbe/xgbe-common.h 	ioread32((_channel)->dma_regs + _reg)
dma_regs         1499 drivers/net/ethernet/amd/xgbe/xgbe-common.h 	iowrite32((_val), (_channel)->dma_regs + _reg)
dma_regs          214 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 		channel->dma_regs = pdata->xgmac_regs + DMA_CH_BASE +
dma_regs          249 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 			  channel->name, channel->dma_regs, channel->dma_irq,
dma_regs          503 drivers/net/ethernet/amd/xgbe/xgbe.h 	void __iomem *dma_regs;
dma_regs          643 drivers/net/ethernet/freescale/fman/fman.c 	tmp = ioread32be(&fman->dma_regs->fmdmplr[port_id / 2]);
dma_regs          651 drivers/net/ethernet/freescale/fman/fman.c 	iowrite32be(tmp, &fman->dma_regs->fmdmplr[port_id / 2]);
dma_regs          706 drivers/net/ethernet/freescale/fman/fman.c 	struct fman_dma_regs __iomem *dma_rg = fman->dma_regs;
dma_regs          980 drivers/net/ethernet/freescale/fman/fman.c 		tmp = ioread32be(&fman->dma_regs->fmdmmr);
dma_regs          986 drivers/net/ethernet/freescale/fman/fman.c 		iowrite32be(tmp, &fman->dma_regs->fmdmmr);
dma_regs          991 drivers/net/ethernet/freescale/fman/fman.c 		tmp = ioread32be(&fman->dma_regs->fmdmmr);
dma_regs          996 drivers/net/ethernet/freescale/fman/fman.c 		iowrite32be(tmp, &fman->dma_regs->fmdmmr);
dma_regs         1284 drivers/net/ethernet/freescale/fman/fman.c 	struct fman_dma_regs __iomem *dma_rg = fman->dma_regs;
dma_regs         1745 drivers/net/ethernet/freescale/fman/fman.c 	fman->dma_regs = base_addr + DMA_OFFSET;
dma_regs         1950 drivers/net/ethernet/freescale/fman/fman.c 		liodn_base = ioread32be(&fman->dma_regs->fmdmplr[i / 2]);
dma_regs          331 drivers/net/ethernet/freescale/fman/fman.h 	struct fman_dma_regs __iomem *dma_regs;
dma_regs          186 drivers/net/ethernet/ni/nixge.c 	void __iomem *dma_regs;
dma_regs          210 drivers/net/ethernet/ni/nixge.c 	writel(val, priv->dma_regs + offset);
dma_regs          216 drivers/net/ethernet/ni/nixge.c 	writel(lower_32_bits(addr), priv->dma_regs + offset);
dma_regs          218 drivers/net/ethernet/ni/nixge.c 	writel(upper_32_bits(addr), priv->dma_regs + offset + 4);
dma_regs          224 drivers/net/ethernet/ni/nixge.c 	return readl(priv->dma_regs + offset);
dma_regs          242 drivers/net/ethernet/ni/nixge.c 	readl_poll_timeout((priv)->dma_regs + (addr), (val), (cond), \
dma_regs         1264 drivers/net/ethernet/ni/nixge.c 	priv->dma_regs = devm_ioremap_resource(&pdev->dev, dmares);
dma_regs         1265 drivers/net/ethernet/ni/nixge.c 	if (IS_ERR(priv->dma_regs)) {
dma_regs         1267 drivers/net/ethernet/ni/nixge.c 		return PTR_ERR(priv->dma_regs);
dma_regs         1270 drivers/net/ethernet/ni/nixge.c 		priv->ctrl_regs = priv->dma_regs + NIXGE_REG_CTRL_OFFSET;
dma_regs          260 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c 		channel->dma_regs = pdata->mac_regs + DMA_CH_BASE +
dma_regs          283 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c 			  channel->name, channel->dma_regs,
dma_regs          742 drivers/net/ethernet/synopsys/dwc-xlgmac-reg.h #define XLGMAC_DMA_REG(channel, reg)	((channel)->dma_regs + (reg))
dma_regs          363 drivers/net/ethernet/synopsys/dwc-xlgmac.h 	void __iomem *dma_regs;
dma_regs          436 drivers/net/ethernet/xilinx/xilinx_axienet.h 	void __iomem *dma_regs;
dma_regs          132 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 	return ioread32(lp->dma_regs + reg);
dma_regs          147 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 	iowrite32(value, lp->dma_regs + reg);
dma_regs         1783 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 		lp->dma_regs = devm_ioremap_resource(&pdev->dev,
dma_regs         1793 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 		lp->dma_regs = devm_ioremap_resource(&pdev->dev, res);
dma_regs         1798 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 	if (IS_ERR(lp->dma_regs)) {
dma_regs         1800 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 		ret = PTR_ERR(lp->dma_regs);
dma_regs          437 drivers/scsi/am53c974.c 	esp->dma_regs = esp->regs;
dma_regs         2405 drivers/scsi/esp_scsi.c 		   esp->host->unique_id, esp->regs, esp->dma_regs,
dma_regs          418 drivers/scsi/esp_scsi.h 	void __iomem		*dma_regs;
dma_regs           51 drivers/scsi/jazz_esp.c 	vdma_disable ((int)esp->dma_regs);
dma_regs           61 drivers/scsi/jazz_esp.c 	vdma_disable ((int)esp->dma_regs);
dma_regs           71 drivers/scsi/jazz_esp.c 	vdma_disable ((int)esp->dma_regs);
dma_regs           73 drivers/scsi/jazz_esp.c 		vdma_set_mode ((int)esp->dma_regs, DMA_MODE_READ);
dma_regs           75 drivers/scsi/jazz_esp.c 		vdma_set_mode ((int)esp->dma_regs, DMA_MODE_WRITE);
dma_regs           77 drivers/scsi/jazz_esp.c 	vdma_set_addr ((int)esp->dma_regs, addr);
dma_regs           78 drivers/scsi/jazz_esp.c 	vdma_set_count ((int)esp->dma_regs, dma_count);
dma_regs           79 drivers/scsi/jazz_esp.c 	vdma_enable ((int)esp->dma_regs);
dma_regs           86 drivers/scsi/jazz_esp.c 	u32 enable = vdma_get_enable((int)esp->dma_regs);
dma_regs          138 drivers/scsi/jazz_esp.c 	esp->dma_regs = (void __iomem *)res->start;
dma_regs           44 drivers/scsi/sun3x_esp.c 	readl(esp->dma_regs + (REG))
dma_regs           46 drivers/scsi/sun3x_esp.c 	writel((VAL), esp->dma_regs + (REG))
dma_regs           49 drivers/scsi/sun3x_esp.c 	*(volatile u32 *)(esp->dma_regs + (REG))
dma_regs           51 drivers/scsi/sun3x_esp.c 	do { *(volatile u32 *)(esp->dma_regs + (REG)) = (VAL); } while (0)
dma_regs          201 drivers/scsi/sun3x_esp.c 	esp->dma_regs = ioremap_nocache(res->start, 0x10);
dma_regs          235 drivers/scsi/sun3x_esp.c 	iounmap(esp->dma_regs);
dma_regs           32 drivers/scsi/sun_esp.c 	sbus_readl(esp->dma_regs + (REG))
dma_regs           34 drivers/scsi/sun_esp.c 	sbus_writel((VAL), esp->dma_regs + (REG))
dma_regs           51 drivers/scsi/sun_esp.c 	esp->dma_regs = of_ioremap(&dma_of->resource[0], 0,
dma_regs           54 drivers/scsi/sun_esp.c 	if (!esp->dma_regs)
dma_regs          575 drivers/scsi/sun_esp.c 	of_iounmap(&dma_of->resource[0], esp->dma_regs,
dma_regs          193 drivers/scsi/zorro_esp.c 	struct cyber_dma_registers __iomem *dregs = esp->dma_regs;
dma_regs          203 drivers/scsi/zorro_esp.c 	struct fastlane_dma_registers __iomem *dregs = esp->dma_regs;
dma_regs          249 drivers/scsi/zorro_esp.c 	struct fastlane_dma_registers __iomem *dregs = esp->dma_regs;
dma_regs          262 drivers/scsi/zorro_esp.c 	struct blz1230_dma_registers __iomem *dregs = esp->dma_regs;
dma_regs          313 drivers/scsi/zorro_esp.c 	struct blz1230II_dma_registers __iomem *dregs = esp->dma_regs;
dma_regs          358 drivers/scsi/zorro_esp.c 	struct blz2060_dma_registers __iomem *dregs = esp->dma_regs;
dma_regs          404 drivers/scsi/zorro_esp.c 	struct cyber_dma_registers __iomem *dregs = esp->dma_regs;
dma_regs          455 drivers/scsi/zorro_esp.c 	struct cyberII_dma_registers __iomem *dregs = esp->dma_regs;
dma_regs          497 drivers/scsi/zorro_esp.c 	struct fastlane_dma_registers __iomem *dregs = esp->dma_regs;
dma_regs          845 drivers/scsi/zorro_esp.c 		esp->dma_regs = ioremap_nocache(dmaaddr,
dma_regs          849 drivers/scsi/zorro_esp.c 		esp->dma_regs = ZTWO_VADDR(dmaaddr);
dma_regs          851 drivers/scsi/zorro_esp.c 	if (!esp->dma_regs) {
dma_regs          893 drivers/scsi/zorro_esp.c 		iounmap(esp->dma_regs);
dma_regs          930 drivers/scsi/zorro_esp.c 		iounmap(esp->dma_regs);
dma_regs         2153 drivers/usb/gadget/udc/atmel_usba_udc.c 		ep->dma_regs = udc->regs + USBA_DMA_BASE(i);
dma_regs          197 drivers/usb/gadget/udc/atmel_usba_udc.h 	readl_relaxed((ep)->dma_regs + USBA_DMA_##reg)
dma_regs          199 drivers/usb/gadget/udc/atmel_usba_udc.h 	writel_relaxed((value), (ep)->dma_regs + USBA_DMA_##reg)
dma_regs          271 drivers/usb/gadget/udc/atmel_usba_udc.h 	void __iomem				*dma_regs;