Lines Matching refs:t
18 void mips_install_watch_registers(struct task_struct *t) in mips_install_watch_registers() argument
20 struct mips3264_watch_reg_state *watches = &t->thread.watch.mips3264; in mips_install_watch_registers()
120 unsigned int t; in mips_probe_watch_registers() local
130 t = read_c0_watchlo0(); in mips_probe_watch_registers()
132 c->watch_reg_masks[0] = t & MIPS_WATCHLO_IRW; in mips_probe_watch_registers()
138 t = read_c0_watchhi0(); in mips_probe_watch_registers()
139 write_c0_watchhi0(t | MIPS_WATCHHI_MASK); in mips_probe_watch_registers()
141 t = read_c0_watchhi0(); in mips_probe_watch_registers()
142 c->watch_reg_masks[0] |= (t & MIPS_WATCHHI_MASK); in mips_probe_watch_registers()
143 if ((t & MIPS_WATCHHI_M) == 0) in mips_probe_watch_registers()
148 t = read_c0_watchlo1(); in mips_probe_watch_registers()
150 c->watch_reg_masks[1] = t & MIPS_WATCHLO_IRW; in mips_probe_watch_registers()
154 t = read_c0_watchhi1(); in mips_probe_watch_registers()
155 write_c0_watchhi1(t | MIPS_WATCHHI_MASK); in mips_probe_watch_registers()
157 t = read_c0_watchhi1(); in mips_probe_watch_registers()
158 c->watch_reg_masks[1] |= (t & MIPS_WATCHHI_MASK); in mips_probe_watch_registers()
159 if ((t & MIPS_WATCHHI_M) == 0) in mips_probe_watch_registers()
164 t = read_c0_watchlo2(); in mips_probe_watch_registers()
166 c->watch_reg_masks[2] = t & MIPS_WATCHLO_IRW; in mips_probe_watch_registers()
170 t = read_c0_watchhi2(); in mips_probe_watch_registers()
171 write_c0_watchhi2(t | MIPS_WATCHHI_MASK); in mips_probe_watch_registers()
173 t = read_c0_watchhi2(); in mips_probe_watch_registers()
174 c->watch_reg_masks[2] |= (t & MIPS_WATCHHI_MASK); in mips_probe_watch_registers()
175 if ((t & MIPS_WATCHHI_M) == 0) in mips_probe_watch_registers()
180 t = read_c0_watchlo3(); in mips_probe_watch_registers()
182 c->watch_reg_masks[3] = t & MIPS_WATCHLO_IRW; in mips_probe_watch_registers()
186 t = read_c0_watchhi3(); in mips_probe_watch_registers()
187 write_c0_watchhi3(t | MIPS_WATCHHI_MASK); in mips_probe_watch_registers()
189 t = read_c0_watchhi3(); in mips_probe_watch_registers()
190 c->watch_reg_masks[3] |= (t & MIPS_WATCHHI_MASK); in mips_probe_watch_registers()
191 if ((t & MIPS_WATCHHI_M) == 0) in mips_probe_watch_registers()
196 t = read_c0_watchhi4(); in mips_probe_watch_registers()
197 if ((t & MIPS_WATCHHI_M) == 0) in mips_probe_watch_registers()
201 t = read_c0_watchhi5(); in mips_probe_watch_registers()
202 if ((t & MIPS_WATCHHI_M) == 0) in mips_probe_watch_registers()
206 t = read_c0_watchhi6(); in mips_probe_watch_registers()
207 if ((t & MIPS_WATCHHI_M) == 0) in mips_probe_watch_registers()