Lines Matching refs:addr
53 MMU::readReg(RegAddr addr)
55 if (isAddrSpaceReg(addr)) {
56 return spaces[getAddrSpaceNo(addr)].readReg(getAddrSpaceAddr(addr));
58 return GPUBlockInt::readReg(addr);
63 MMU::writeReg(RegAddr addr, uint32_t value)
65 switch (addr.value) {
70 GPUBlockInt::writeReg(addr, value);
74 if (isAddrSpaceReg(addr)) {
75 AddrSpace &as(spaces[getAddrSpaceNo(addr)]);
76 as.writeReg(getAddrSpaceAddr(addr), value);
83 MMU::readRegRaw(RegAddr addr)
85 if (isAddrSpaceReg(addr)) {
86 return spaces[getAddrSpaceNo(addr)].readRegRaw(getAddrSpaceAddr(addr));
88 return GPUBlockInt::readRegRaw(addr);
93 MMU::writeRegRaw(RegAddr addr, uint32_t value)
95 if (isAddrSpaceReg(addr)) {
96 spaces[getAddrSpaceNo(addr)].writeRegRaw(getAddrSpaceAddr(addr), value);
98 GPUBlockInt::writeRegRaw(addr, value);