Lines Matching refs:dr7
75 int decode_dr7(unsigned long dr7, int bpnum, unsigned *len, unsigned *type) in decode_dr7() argument
77 int bp_info = dr7 >> (DR_CONTROL_SHIFT + bpnum * DR_CONTROL_SIZE); in decode_dr7()
82 return (dr7 >> (bpnum * DR_ENABLE_SIZE)) & 0x3; in decode_dr7()
97 unsigned long *dr7; in arch_install_hw_breakpoint() local
115 dr7 = this_cpu_ptr(&cpu_dr7); in arch_install_hw_breakpoint()
116 *dr7 |= encode_dr7(i, info->len, info->type); in arch_install_hw_breakpoint()
118 set_debugreg(*dr7, 7); in arch_install_hw_breakpoint()
137 unsigned long *dr7; in arch_uninstall_hw_breakpoint() local
152 dr7 = this_cpu_ptr(&cpu_dr7); in arch_uninstall_hw_breakpoint()
153 *dr7 &= ~__encode_dr7(i, info->len, info->type); in arch_uninstall_hw_breakpoint()
155 set_debugreg(*dr7, 7); in arch_uninstall_hw_breakpoint()
369 int dr7 = 0; in aout_dump_debugregs() local
380 dr7 |= encode_dr7(i, info->len, info->type); in aout_dump_debugregs()
390 dump->u_debugreg[7] = dr7; in aout_dump_debugregs()
442 unsigned long dr7, dr6; in hw_breakpoint_handler() local
457 get_debugreg(dr7, 7); in hw_breakpoint_handler()
516 set_debugreg(dr7, 7); in hw_breakpoint_handler()