Lines Matching refs:RegAddr
65 JobSlot::writeReg(RegAddr addr, uint32_t value)
100 return regs[RegAddr(JSn_COMMAND_NEXT)] == JSn_COMMAND_START;
107 if (regs[RegAddr(JSn_COMMAND_NEXT)] != JSn_COMMAND_START )
111 regs[RegAddr(JSn_STATUS)] = STATUS_ACTIVE.value;
115 regs.set64(RegAddr(JSn_HEAD_LO), regs.get64(RegAddr(JSn_HEAD_NEXT_LO)));
116 regs.set64(RegAddr(JSn_TAIL_LO), regs.get64(RegAddr(JSn_HEAD_NEXT_LO)));
117 regs.set64(RegAddr(JSn_AFFINITY_LO),
118 regs.get64(RegAddr(JSn_AFFINITY_NEXT_LO)));
119 regs[RegAddr(JSn_CONFIG)] = regs[RegAddr(JSn_CONFIG_NEXT)];
122 regs.set64(RegAddr(JSn_HEAD_NEXT_LO), 0);
123 regs[RegAddr(JSn_COMMAND_NEXT)] = 0;
141 regs[RegAddr(JSn_STATUS)] = status.value;
192 if (!(regs[RegAddr(JSn_CONFIG)] & JSn_CONFIG_JOB_CHAIN_FLAG))
199 if (!(regs[RegAddr(JSn_CONFIG)] & JSn_CONFIG_JOB_CHAIN_FLAG))
206 if (regs[RegAddr(JSn_CONFIG)] & JSn_CONFIG_JOB_CHAIN_FLAG)
213 if (regs[RegAddr(JSn_CONFIG)] & JSn_CONFIG_JOB_CHAIN_FLAG)