Lines Matching refs:reg_base
151 void __iomem *reg_base; /* first channel base address */ member
406 int c = (priv->reg_base - card->reg_base) / PEAK_PCI_CHAN_SIZE; in peak_pciec_write_reg()
461 card->reg_base = priv->reg_base; in peak_pciec_probe()
534 return readb(priv->reg_base + (port << 2)); in peak_pci_read_reg()
540 writeb(val, priv->reg_base + (port << 2)); in peak_pci_write_reg()
559 void __iomem *cfg_base, *reg_base; in peak_pci_probe() local
598 reg_base = pci_iomap(pdev, 1, PEAK_PCI_CHAN_SIZE * channels); in peak_pci_probe()
599 if (!reg_base) { in peak_pci_probe()
628 priv->reg_base = reg_base + i * PEAK_PCI_CHAN_SIZE; in peak_pci_probe()
679 dev->name, priv->reg_base, chan->cfg_base, dev->irq); in peak_pci_probe()
709 pci_iounmap(pdev, reg_base); in peak_pci_probe()
729 void __iomem *reg_base = priv->reg_base; in peak_pci_remove() local
753 pci_iounmap(pdev, reg_base); in peak_pci_remove()