Lines Matching defs:offset
26 /* Provides access to the requested core. Returns base offset that has to be
42 static u8 bcma_host_pci_read8(struct bcma_device *core, u16 offset)
44 offset += bcma_host_pci_provide_access_to_core(core);
45 return ioread8(core->bus->mmio + offset);
48 static u16 bcma_host_pci_read16(struct bcma_device *core, u16 offset)
50 offset += bcma_host_pci_provide_access_to_core(core);
51 return ioread16(core->bus->mmio + offset);
54 static u32 bcma_host_pci_read32(struct bcma_device *core, u16 offset)
56 offset += bcma_host_pci_provide_access_to_core(core);
57 return ioread32(core->bus->mmio + offset);
60 static void bcma_host_pci_write8(struct bcma_device *core, u16 offset,
63 offset += bcma_host_pci_provide_access_to_core(core);
64 iowrite8(value, core->bus->mmio + offset);
67 static void bcma_host_pci_write16(struct bcma_device *core, u16 offset,
70 offset += bcma_host_pci_provide_access_to_core(core);
71 iowrite16(value, core->bus->mmio + offset);
74 static void bcma_host_pci_write32(struct bcma_device *core, u16 offset,
77 offset += bcma_host_pci_provide_access_to_core(core);
78 iowrite32(value, core->bus->mmio + offset);
83 size_t count, u16 offset, u8 reg_width)
85 void __iomem *addr = core->bus->mmio + offset;
107 u16 offset, u8 reg_width)
109 void __iomem *addr = core->bus->mmio + offset;
130 static u32 bcma_host_pci_aread32(struct bcma_device *core, u16 offset)
134 return ioread32(core->bus->mmio + (1 * BCMA_CORE_SIZE) + offset);
137 static void bcma_host_pci_awrite32(struct bcma_device *core, u16 offset,
142 iowrite32(value, core->bus->mmio + (1 * BCMA_CORE_SIZE) + offset);