Lines Matching refs:core
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()
50 static void bcma_host_soc_block_read(struct bcma_device *core, void *buffer, in bcma_host_soc_block_read() argument
53 void __iomem *addr = core->io_addr + offset; in bcma_host_soc_block_read()
93 static void bcma_host_soc_block_write(struct bcma_device *core, 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
140 if (WARN_ONCE(!core->io_wrap, "Accessed core has no wrapper/agent\n")) in bcma_host_soc_aread32()
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
148 if (WARN_ONCE(!core->io_wrap, "Accessed core has no wrapper/agent\n")) in bcma_host_soc_awrite32()
150 writel(value, core->io_wrap + offset); in bcma_host_soc_awrite32()