Lines Matching refs:dsisr
187 unsigned dsisr; in make_dsisr() local
190 dsisr = (instr & 0x03ff0000) >> 16; /* bits 6:15 --> 22:31 */ in make_dsisr()
193 dsisr |= (instr & 0x00000006) << 14; /* bits 29:30 --> 15:16 */ in make_dsisr()
194 dsisr |= (instr & 0x00000040) << 8; /* bit 25 --> 17 */ in make_dsisr()
195 dsisr |= (instr & 0x00000780) << 3; /* bits 21:24 --> 18:21 */ in make_dsisr()
198 dsisr |= (instr & 0x04000000) >> 12; /* bit 5 --> 17 */ in make_dsisr()
199 dsisr |= (instr & 0x78000000) >> 17; /* bits 1: 4 --> 18:21 */ in make_dsisr()
201 dsisr |= (instr & 0x00000003) << 18; /* bits 30:31 --> 12:13 */ in make_dsisr()
205 return dsisr; in make_dsisr()
216 unsigned dsisr; in fix_alignment() local
239 dsisr = regs->dsisr; in fix_alignment()
243 dsisr = make_dsisr( *((unsigned *)regs->nip) ); in fix_alignment()
246 reg = (dsisr >> 5) & 0x1f; /* source/dest register */ in fix_alignment()
247 areg = dsisr & 0x1f; /* register to update */ in fix_alignment()
248 instr = (dsisr >> 10) & 0x7f; in fix_alignment()
249 instr |= (dsisr >> 13) & 0x60; in fix_alignment()