Lines Matching defs:sel
881 u32 rt, rd, sel;
905 sel = inst.c0r_format.sel;
911 cop0->stat[rd][sel]++;
914 sel == 0) { /* Count */
917 sel == 0) { /* Compare */
920 sel == 0) { /* LLAddr */
927 sel == 1 && /* MAAR */
936 (sel == 0 || /* PRid */
937 sel == 2 || /* CDMMBase */
938 sel == 3)) || /* CMGCRBase */
940 (sel == 2 || /* SRSCtl */
941 sel == 3)) || /* SRSMap */
943 (sel == 6 || /* Config6 */
944 sel == 7)) || /* Config7 */
946 (sel == 2) && /* MAARI */
950 (sel == 0))) { /* ErrCtl */
951 val = cop0->reg[rd][sel];
954 (sel == 0)) { /* Diag */
955 val = cop0->reg[rd][sel];
971 KVM_TRACE_COP0(rd, sel), val);
977 cop0->stat[rd][sel]++;
982 KVM_TRACE_COP0(rd, sel), val);
985 sel == 0) { /* Count */
989 sel == 0) { /* Compare */
994 sel == 0) { /* LLAddr */
1003 sel == 1 && /* MAAR */
1015 (sel == 2) && /* MAARI */
1020 (sel == 6)) {
1021 cop0->reg[rd][sel] = (int)val;
1023 (sel == 0)) { /* ErrCtl */
1027 (sel == 0)) { /* Diag */
1218 int rd, rt, sel;
1259 sel = inst.r_format.re & 0x7;
1268 KVM_TRACE_HWR(rd, sel), 0);
1273 KVM_TRACE_HWR(rd, sel), arch->gprs[rt]);
1317 int sel = inst.c0r_format.sel;
1321 trace_kvm_hwr(vcpu, KVM_TRACE_MTC0, KVM_TRACE_COP0(rd, sel),
1324 if ((rd == MIPS_CP0_STATUS) && (sel == 0)) {
1360 } else if ((rd == MIPS_CP0_CAUSE) && (sel == 0)) {
1382 } else if ((rd == MIPS_CP0_STATUS) && (sel == 1)) { /* IntCtl */
1384 } else if ((rd == MIPS_CP0_CONFIG) && (sel == 5)) {