Lines Matching refs:ctrl
24 struct arch_hw_breakpoint_ctrl ctrl;
33 static inline u32 encode_ctrl_reg(struct arch_hw_breakpoint_ctrl ctrl)
35 u32 val = (ctrl.len << 5) | (ctrl.type << 3) | (ctrl.privilege << 1) |
36 ctrl.enabled;
38 if (is_kernel_in_hyp_mode() && ctrl.privilege == AARCH64_BREAKPOINT_EL1)
45 struct arch_hw_breakpoint_ctrl *ctrl)
47 ctrl->enabled = reg & 0x1;
49 ctrl->privilege = reg & 0x3;
51 ctrl->type = reg & 0x3;
53 ctrl->len = reg & 0xff;
113 extern int arch_bp_generic_fields(struct arch_hw_breakpoint_ctrl ctrl,