Lines Matching refs:watches
20 struct mips3264_watch_reg_state *watches = &t->thread.watch.mips3264; in mips_install_watch_registers() local
25 write_c0_watchlo3(watches->watchlo[3]); in mips_install_watch_registers()
28 write_c0_watchhi3(0x40000007 | watches->watchhi[3]); in mips_install_watch_registers()
30 write_c0_watchlo2(watches->watchlo[2]); in mips_install_watch_registers()
31 write_c0_watchhi2(0x40000007 | watches->watchhi[2]); in mips_install_watch_registers()
33 write_c0_watchlo1(watches->watchlo[1]); in mips_install_watch_registers()
34 write_c0_watchhi1(0x40000007 | watches->watchhi[1]); in mips_install_watch_registers()
36 write_c0_watchlo0(watches->watchlo[0]); in mips_install_watch_registers()
37 write_c0_watchhi0(0x40000007 | watches->watchhi[0]); in mips_install_watch_registers()
48 struct mips3264_watch_reg_state *watches = in mips_read_watch_registers() local
54 watches->watchhi[3] = (read_c0_watchhi3() & 0x0fff); in mips_read_watch_registers()
56 watches->watchhi[2] = (read_c0_watchhi2() & 0x0fff); in mips_read_watch_registers()
58 watches->watchhi[1] = (read_c0_watchhi1() & 0x0fff); in mips_read_watch_registers()
60 watches->watchhi[0] = (read_c0_watchhi0() & 0x0fff); in mips_read_watch_registers()
63 (watches->watchhi[0] & 7) == 0) { in mips_read_watch_registers()
69 watches->watchhi[0] |= (watches->watchlo[0] & 7); in mips_read_watch_registers()