Lines Matching refs:offset
27 static uint32_t bitband_readb(void *opaque, target_phys_addr_t offset)
30 cpu_physical_memory_read(bitband_addr(opaque, offset), &v, 1);
31 return (v & (1 << ((offset >> 2) & 7))) != 0;
34 static void bitband_writeb(void *opaque, target_phys_addr_t offset,
40 addr = bitband_addr(opaque, offset);
41 mask = (1 << ((offset >> 2) & 7));
50 static uint32_t bitband_readw(void *opaque, target_phys_addr_t offset)
55 addr = bitband_addr(opaque, offset) & ~1;
56 mask = (1 << ((offset >> 2) & 15));
62 static void bitband_writew(void *opaque, target_phys_addr_t offset,
68 addr = bitband_addr(opaque, offset) & ~1;
69 mask = (1 << ((offset >> 2) & 15));
79 static uint32_t bitband_readl(void *opaque, target_phys_addr_t offset)
84 addr = bitband_addr(opaque, offset) & ~3;
85 mask = (1 << ((offset >> 2) & 31));
91 static void bitband_writel(void *opaque, target_phys_addr_t offset,
97 addr = bitband_addr(opaque, offset) & ~3;
98 mask = (1 << ((offset >> 2) & 31));