Lines Matching defs:offset
16 static u8 bcma_host_soc_read8(struct bcma_device *core, u16 offset)
18 return readb(core->io_addr + offset);
21 static u16 bcma_host_soc_read16(struct bcma_device *core, u16 offset)
23 return readw(core->io_addr + offset);
26 static u32 bcma_host_soc_read32(struct bcma_device *core, u16 offset)
28 return readl(core->io_addr + offset);
31 static void bcma_host_soc_write8(struct bcma_device *core, u16 offset,
34 writeb(value, core->io_addr + offset);
37 static void bcma_host_soc_write16(struct bcma_device *core, u16 offset,
40 writew(value, core->io_addr + offset);
43 static void bcma_host_soc_write32(struct bcma_device *core, u16 offset,
46 writel(value, core->io_addr + offset);
51 size_t count, u16 offset, u8 reg_width)
53 void __iomem *addr = core->io_addr + offset;
95 size_t count, u16 offset, u8 reg_width)
97 void __iomem *addr = core->io_addr + offset;
138 static u32 bcma_host_soc_aread32(struct bcma_device *core, u16 offset)
142 return readl(core->io_wrap + offset);
145 static void bcma_host_soc_awrite32(struct bcma_device *core, u16 offset,
150 writel(value, core->io_wrap + offset);