Lines Matching refs:v
29 uint8_t v; in bitband_readb() local
30 cpu_physical_memory_read(bitband_addr(offset), &v, 1); in bitband_readb()
31 return (v & (1 << ((offset >> 2) & 7))) != 0; in bitband_readb()
39 uint8_t v; in bitband_writeb() local
42 cpu_physical_memory_read(addr, &v, 1); in bitband_writeb()
44 v |= mask; in bitband_writeb()
46 v &= ~mask; in bitband_writeb()
47 cpu_physical_memory_write(addr, &v, 1); in bitband_writeb()
54 uint16_t v; in bitband_readw() local
58 cpu_physical_memory_read(addr, (uint8_t *)&v, 2); in bitband_readw()
59 return (v & mask) != 0; in bitband_readw()
67 uint16_t v; in bitband_writew() local
71 cpu_physical_memory_read(addr, (uint8_t *)&v, 2); in bitband_writew()
73 v |= mask; in bitband_writew()
75 v &= ~mask; in bitband_writew()
76 cpu_physical_memory_write(addr, (uint8_t *)&v, 2); in bitband_writew()
83 uint32_t v; in bitband_readl() local
87 cpu_physical_memory_read(addr, (uint8_t *)&v, 4); in bitband_readl()
88 return (v & mask) != 0; in bitband_readl()
96 uint32_t v; in bitband_writel() local
100 cpu_physical_memory_read(addr, (uint8_t *)&v, 4); in bitband_writel()
102 v |= mask; in bitband_writel()
104 v &= ~mask; in bitband_writel()
105 cpu_physical_memory_write(addr, (uint8_t *)&v, 4); in bitband_writel()