Lines Matching refs:dr7
86 int decode_dr7(unsigned long dr7, int bpnum, unsigned *len, unsigned *type) in decode_dr7() argument
88 int bp_info = dr7 >> (DR_CONTROL_SHIFT + bpnum * DR_CONTROL_SIZE); in decode_dr7()
93 return (dr7 >> (bpnum * DR_ENABLE_SIZE)) & 0x3; in decode_dr7()
108 unsigned long *dr7; in arch_install_hw_breakpoint() local
126 dr7 = this_cpu_ptr(&cpu_dr7); in arch_install_hw_breakpoint()
127 *dr7 |= encode_dr7(i, info->len, info->type); in arch_install_hw_breakpoint()
129 set_debugreg(*dr7, 7); in arch_install_hw_breakpoint()
148 unsigned long *dr7; in arch_uninstall_hw_breakpoint() local
163 dr7 = this_cpu_ptr(&cpu_dr7); in arch_uninstall_hw_breakpoint()
164 *dr7 &= ~__encode_dr7(i, info->len, info->type); in arch_uninstall_hw_breakpoint()
166 set_debugreg(*dr7, 7); in arch_uninstall_hw_breakpoint()
375 int dr7 = 0; in aout_dump_debugregs() local
386 dr7 |= encode_dr7(i, info->len, info->type); in aout_dump_debugregs()
396 dump->u_debugreg[7] = dr7; in aout_dump_debugregs()
448 unsigned long dr7, dr6; in hw_breakpoint_handler() local
463 get_debugreg(dr7, 7); in hw_breakpoint_handler()
522 set_debugreg(dr7, 7); in hw_breakpoint_handler()