Lines Matching refs:watches
20 struct mips3264_watch_reg_state *watches = in mips_install_watch_registers() local
26 write_c0_watchlo3(watches->watchlo[3]); in mips_install_watch_registers()
29 write_c0_watchhi3(0x40000007 | watches->watchhi[3]); in mips_install_watch_registers()
31 write_c0_watchlo2(watches->watchlo[2]); in mips_install_watch_registers()
32 write_c0_watchhi2(0x40000007 | watches->watchhi[2]); in mips_install_watch_registers()
34 write_c0_watchlo1(watches->watchlo[1]); in mips_install_watch_registers()
35 write_c0_watchhi1(0x40000007 | watches->watchhi[1]); in mips_install_watch_registers()
37 write_c0_watchlo0(watches->watchlo[0]); in mips_install_watch_registers()
38 write_c0_watchhi0(0x40000007 | watches->watchhi[0]); in mips_install_watch_registers()
49 struct mips3264_watch_reg_state *watches = in mips_read_watch_registers() local
55 watches->watchhi[3] = (read_c0_watchhi3() & 0x0fff); in mips_read_watch_registers()
57 watches->watchhi[2] = (read_c0_watchhi2() & 0x0fff); in mips_read_watch_registers()
59 watches->watchhi[1] = (read_c0_watchhi1() & 0x0fff); in mips_read_watch_registers()
61 watches->watchhi[0] = (read_c0_watchhi0() & 0x0fff); in mips_read_watch_registers()
64 (watches->watchhi[0] & 7) == 0) { in mips_read_watch_registers()
70 watches->watchhi[0] |= (watches->watchlo[0] & 7); in mips_read_watch_registers()