Lines Matching refs:offset

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