Lines Matching refs:hw
36 int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw) in arch_check_bp_in_kernelspace() argument
41 va = hw->address; in arch_check_bp_in_kernelspace()
42 len = hw->len; in arch_check_bp_in_kernelspace()
52 struct arch_hw_breakpoint *hw) in hw_breakpoint_arch_parse() argument
57 hw->type = XTENSA_BREAKPOINT_EXECUTE; in hw_breakpoint_arch_parse()
60 hw->type = XTENSA_BREAKPOINT_LOAD; in hw_breakpoint_arch_parse()
63 hw->type = XTENSA_BREAKPOINT_STORE; in hw_breakpoint_arch_parse()
66 hw->type = XTENSA_BREAKPOINT_LOAD | XTENSA_BREAKPOINT_STORE; in hw_breakpoint_arch_parse()
73 hw->len = attr->bp_len; in hw_breakpoint_arch_parse()
74 if (hw->len < 1 || hw->len > 64 || !is_power_of_2(hw->len)) in hw_breakpoint_arch_parse()
78 hw->address = attr->bp_addr; in hw_breakpoint_arch_parse()
79 if (hw->address & (hw->len - 1)) in hw_breakpoint_arch_parse()