Lines Matching refs:sreg
355 support_registers sreg; variable
575 …if (hex2bin((unsigned char *)&sreg.s0_0 + (reg.srs * 16 * sizeof(unsigned int)) + (regno - S0) * s… in write_register()
622 …*valptr = *(unsigned int *)((char *)&sreg.s0_0 + (reg.srs * 16 * sizeof(unsigned int)) + (regno - … in read_register()
848 unsigned int *bp_d_regs = &sreg.s3_3; in stub_is_stopped()
872 rw_bits = (sreg.s0_3 & (3 << bitpos_config)) >> bitpos_config; in stub_is_stopped()
901 rw_bits = (sreg.s0_3 & (3 << bitpos_config)) >> bitpos_config; in stub_is_stopped()
1102 if (sreg.s0_3 & 0x1) { in insert_watchpoint()
1108 sreg.s1_3 = addr; in insert_watchpoint()
1109 sreg.s2_3 = (addr + len - 1); in insert_watchpoint()
1110 sreg.s0_3 |= 1; in insert_watchpoint()
1113 unsigned int *bp_d_regs = &sreg.s3_3; in insert_watchpoint()
1127 if (!(sreg.s0_3 & (0x3 << (2 + (bp * 4))))) { in insert_watchpoint()
1141 sreg.s0_3 |= (1 << (2 + bp * 4)); in insert_watchpoint()
1145 sreg.s0_3 |= (2 << (2 + bp * 4)); in insert_watchpoint()
1180 if (!(sreg.s0_3 & 0x1)) { in remove_watchpoint()
1186 sreg.s1_3 = 0; in remove_watchpoint()
1187 sreg.s2_3 = 0; in remove_watchpoint()
1188 sreg.s0_3 &= ~1; in remove_watchpoint()
1191 unsigned int *bp_d_regs = &sreg.s3_3; in remove_watchpoint()
1207 rw_bits = (sreg.s0_3 & (0x3 << bitpos)) >> bitpos; in remove_watchpoint()
1227 sreg.s0_3 &= ~(3 << (2 + (bp * 4))); in remove_watchpoint()
1270 (char *)&sreg + (reg.srs * 16 * sizeof(unsigned int)), in handle_exception()
1283 else if (hex2bin((char *)&sreg + (reg.srs * 16 * sizeof(unsigned int)), in handle_exception()
1404 if ((sreg.s0_3 & 0x3fff) == 0) { in handle_exception()