Lines Matching refs:sreg

355 support_registers sreg;  variable
577 …hex2mem((unsigned char *)&sreg.s0_0 + (reg.srs * 16 * sizeof(unsigned int)) + (regno - S0) * sizeo… in write_register()
622 …*valptr = *(unsigned int *)((char *)&sreg.s0_0 + (reg.srs * 16 * sizeof(unsigned int)) + (regno - … in read_register()
877 unsigned int *bp_d_regs = &sreg.s3_3; in stub_is_stopped()
901 rw_bits = (sreg.s0_3 & (3 << bitpos_config)) >> bitpos_config; in stub_is_stopped()
930 rw_bits = (sreg.s0_3 & (3 << bitpos_config)) >> bitpos_config; in stub_is_stopped()
1131 if (sreg.s0_3 & 0x1) { in insert_watchpoint()
1137 sreg.s1_3 = addr; in insert_watchpoint()
1138 sreg.s2_3 = (addr + len - 1); in insert_watchpoint()
1139 sreg.s0_3 |= 1; in insert_watchpoint()
1142 unsigned int *bp_d_regs = &sreg.s3_3; in insert_watchpoint()
1156 if (!(sreg.s0_3 & (0x3 << (2 + (bp * 4))))) { in insert_watchpoint()
1170 sreg.s0_3 |= (1 << (2 + bp * 4)); in insert_watchpoint()
1174 sreg.s0_3 |= (2 << (2 + bp * 4)); in insert_watchpoint()
1209 if (!(sreg.s0_3 & 0x1)) { in remove_watchpoint()
1215 sreg.s1_3 = 0; in remove_watchpoint()
1216 sreg.s2_3 = 0; in remove_watchpoint()
1217 sreg.s0_3 &= ~1; in remove_watchpoint()
1220 unsigned int *bp_d_regs = &sreg.s3_3; in remove_watchpoint()
1236 rw_bits = (sreg.s0_3 & (0x3 << bitpos)) >> bitpos; in remove_watchpoint()
1256 sreg.s0_3 &= ~(3 << (2 + (bp * 4))); in remove_watchpoint()
1299 (char *)&sreg + (reg.srs * 16 * sizeof(unsigned int)), in handle_exception()
1311 hex2mem((char *)&sreg + (reg.srs * 16 * sizeof(unsigned int)), in handle_exception()
1424 if ((sreg.s0_3 & 0x3fff) == 0) { in handle_exception()