Lines Matching refs:reg_base
147 void __iomem *reg_base; /* first channel base address */ member
402 int c = (priv->reg_base - card->reg_base) / PEAK_PCI_CHAN_SIZE; in peak_pciec_write_reg()
457 card->reg_base = priv->reg_base; in peak_pciec_probe()
530 return readb(priv->reg_base + (port << 2)); in peak_pci_read_reg()
536 writeb(val, priv->reg_base + (port << 2)); in peak_pci_write_reg()
555 void __iomem *cfg_base, *reg_base; in peak_pci_probe() local
594 reg_base = pci_iomap(pdev, 1, PEAK_PCI_CHAN_SIZE * channels); in peak_pci_probe()
595 if (!reg_base) { in peak_pci_probe()
624 priv->reg_base = reg_base + i * PEAK_PCI_CHAN_SIZE; in peak_pci_probe()
673 dev->name, priv->reg_base, chan->cfg_base, dev->irq); in peak_pci_probe()
701 pci_iounmap(pdev, reg_base); in peak_pci_probe()
721 void __iomem *reg_base = priv->reg_base; in peak_pci_remove() local
743 pci_iounmap(pdev, reg_base); in peak_pci_remove()