Lines Matching +full:3 +full:c
6 * Copyright (C) 2008 David Daney
28 write_c0_watchlo3(watches->watchlo[3]); in mips_install_watch_registers()
29 write_c0_watchhi3(watchhi | watches->watchhi[3]); in mips_install_watch_registers()
31 case 3: in mips_install_watch_registers()
60 watches->watchhi[3] = (read_c0_watchhi3() & watchhi_mask); in mips_read_watch_registers()
62 case 3: in mips_read_watch_registers()
107 case 3: in mips_clear_watch_registers()
118 void mips_probe_watch_registers(struct cpuinfo_mips *c) in mips_probe_watch_registers() argument
122 if ((c->options & MIPS_CPU_WATCH) == 0) in mips_probe_watch_registers()
132 c->watch_reg_masks[0] = t & MIPS_WATCHLO_IRW; in mips_probe_watch_registers()
136 c->watch_reg_count = 1; in mips_probe_watch_registers()
137 c->watch_reg_use_cnt = 1; in mips_probe_watch_registers()
142 c->watch_reg_masks[0] |= (t & MIPS_WATCHHI_MASK); in mips_probe_watch_registers()
150 c->watch_reg_masks[1] = t & MIPS_WATCHLO_IRW; in mips_probe_watch_registers()
152 c->watch_reg_count = 2; in mips_probe_watch_registers()
153 c->watch_reg_use_cnt = 2; in mips_probe_watch_registers()
158 c->watch_reg_masks[1] |= (t & MIPS_WATCHHI_MASK); in mips_probe_watch_registers()
166 c->watch_reg_masks[2] = t & MIPS_WATCHLO_IRW; in mips_probe_watch_registers()
168 c->watch_reg_count = 3; in mips_probe_watch_registers()
169 c->watch_reg_use_cnt = 3; in mips_probe_watch_registers()
174 c->watch_reg_masks[2] |= (t & MIPS_WATCHHI_MASK); in mips_probe_watch_registers()
182 c->watch_reg_masks[3] = t & MIPS_WATCHLO_IRW; in mips_probe_watch_registers()
184 c->watch_reg_count = 4; in mips_probe_watch_registers()
185 c->watch_reg_use_cnt = 4; in mips_probe_watch_registers()
190 c->watch_reg_masks[3] |= (t & MIPS_WATCHHI_MASK); in mips_probe_watch_registers()
195 c->watch_reg_count = 5; in mips_probe_watch_registers()
200 c->watch_reg_count = 6; in mips_probe_watch_registers()
205 c->watch_reg_count = 7; in mips_probe_watch_registers()
210 c->watch_reg_count = 8; in mips_probe_watch_registers()