Lines Matching refs:iomem
48 void __iomem *iomem; member
49 unsigned long (*read)(void __iomem *iomem);
50 void (*write)(void __iomem *iomem, unsigned long data);
62 struct intc_irqpin_iomem iomem[INTC_IRQPIN_REG_NR]; member
77 static unsigned long intc_irqpin_read32(void __iomem *iomem) in intc_irqpin_read32() argument
79 return ioread32(iomem); in intc_irqpin_read32()
82 static unsigned long intc_irqpin_read8(void __iomem *iomem) in intc_irqpin_read8() argument
84 return ioread8(iomem); in intc_irqpin_read8()
87 static void intc_irqpin_write32(void __iomem *iomem, unsigned long data) in intc_irqpin_write32() argument
89 iowrite32(data, iomem); in intc_irqpin_write32()
92 static void intc_irqpin_write8(void __iomem *iomem, unsigned long data) in intc_irqpin_write8() argument
94 iowrite8(data, iomem); in intc_irqpin_write8()
100 struct intc_irqpin_iomem *i = &p->iomem[reg]; in intc_irqpin_read()
102 return i->read(i->iomem); in intc_irqpin_read()
108 struct intc_irqpin_iomem *i = &p->iomem[reg]; in intc_irqpin_write()
110 i->write(i->iomem, data); in intc_irqpin_write()
116 return BIT((p->iomem[reg].width - 1) - hw_irq); in intc_irqpin_hwirq_mask()
439 i = &p->iomem[k]; in intc_irqpin_probe()
462 i->iomem = devm_ioremap(dev, io[k]->start, in intc_irqpin_probe()
464 if (!i->iomem) { in intc_irqpin_probe()