Lines Matching refs:iaddr
47 u32 __iomem *iaddr; member
71 iowrite32(PHN_CTL_IRQ, dev->iaddr + PHN_CONTROL); in phantom_status()
123 iowrite32(r.value, dev->iaddr + r.reg); in phantom_ioctl()
124 ioread32(dev->iaddr); /* PCI posting */ in phantom_ioctl()
144 ioread32(dev->iaddr); /* PCI posting */ in phantom_ioctl()
156 r.value = ioread32(dev->iaddr + r.reg); in phantom_ioctl()
174 rs.values[i] = ioread32(dev->iaddr + i); in phantom_ioctl()
291 ctl = ioread32(dev->iaddr + PHN_CONTROL); in phantom_isr()
297 iowrite32(0, dev->iaddr); in phantom_isr()
298 iowrite32(0xc0, dev->iaddr); in phantom_isr()
309 iowrite32(dev->ctl_reg, dev->iaddr + PHN_CONTROL); in phantom_isr()
313 ioread32(dev->iaddr); /* PCI posting */ in phantom_isr()
376 pht->iaddr = pci_iomap(pdev, 2, 0); in phantom_probe()
377 if (pht->iaddr == NULL) { in phantom_probe()
421 pci_iounmap(pdev, pht->iaddr); in phantom_probe()
450 pci_iounmap(pdev, pht->iaddr); in phantom_remove()