Lines Matching defs:addr
116 * @param addr Address to the low part of the register.
120 const uint32_t get64(const RegAddr &addr) const {
121 const unsigned idx_lo = index(addr);
129 * @param addr Address to the low part of the register.
132 void set64(const RegAddr &addr, uint64_t value) {
133 const unsigned idx_lo = index(addr);
139 const uint32_t &operator[](const RegAddr &addr) const {
140 return vector[index(addr)];
143 uint32_t &operator[](const RegAddr &addr) {
144 return vector[index(addr)];
162 static uint32_t index(const RegAddr &addr) {
163 assert((addr.value & 0x3) == 0);
164 return addr.value >> 2;