Lines Matching refs:dr7
85 int decode_dr7(unsigned long dr7, int bpnum, unsigned *len, unsigned *type) in decode_dr7() argument
87 int bp_info = dr7 >> (DR_CONTROL_SHIFT + bpnum * DR_CONTROL_SIZE); in decode_dr7()
92 return (dr7 >> (bpnum * DR_ENABLE_SIZE)) & 0x3; in decode_dr7()
107 unsigned long *dr7; in arch_install_hw_breakpoint() local
125 dr7 = this_cpu_ptr(&cpu_dr7); in arch_install_hw_breakpoint()
126 *dr7 |= encode_dr7(i, info->len, info->type); in arch_install_hw_breakpoint()
128 set_debugreg(*dr7, 7); in arch_install_hw_breakpoint()
147 unsigned long *dr7; in arch_uninstall_hw_breakpoint() local
162 dr7 = this_cpu_ptr(&cpu_dr7); in arch_uninstall_hw_breakpoint()
163 *dr7 &= ~__encode_dr7(i, info->len, info->type); in arch_uninstall_hw_breakpoint()
165 set_debugreg(*dr7, 7); in arch_uninstall_hw_breakpoint()
346 int dr7 = 0; in aout_dump_debugregs() local
357 dr7 |= encode_dr7(i, info->len, info->type); in aout_dump_debugregs()
367 dump->u_debugreg[7] = dr7; in aout_dump_debugregs()
419 unsigned long dr7, dr6; in hw_breakpoint_handler() local
434 get_debugreg(dr7, 7); in hw_breakpoint_handler()
493 set_debugreg(dr7, 7); in hw_breakpoint_handler()