Lines Matching refs:dreg_state
86 user_hwdebug_state dreg_state; in check_hw_feature_supported()
88 iov.iov_base = &dreg_state; in check_hw_feature_supported()
89 iov.iov_len = sizeof(dreg_state); in check_hw_feature_supported()
96 } else if ((dreg_state.dbg_info & 0xff) == 0) { in check_hw_feature_supported()
122 user_hwdebug_state dreg_state; in set_watchpoint() local
123 memset(&dreg_state, 0, sizeof dreg_state); in set_watchpoint()
124 dreg_state.dbg_regs[0].addr = address; in set_watchpoint()
125 dreg_state.dbg_regs[0].ctrl = control; in set_watchpoint()
128 iov.iov_base = &dreg_state; in set_watchpoint()
129 iov.iov_len = offsetof(user_hwdebug_state, dbg_regs) + sizeof(dreg_state.dbg_regs[0]); in set_watchpoint()
307 user_hwdebug_state dreg_state; in set_breakpoint() local
308 memset(&dreg_state, 0, sizeof dreg_state); in set_breakpoint()
309 dreg_state.dbg_regs[0].addr = reinterpret_cast<uintptr_t>(address); in set_breakpoint()
310 dreg_state.dbg_regs[0].ctrl = control; in set_breakpoint()
313 iov.iov_base = &dreg_state; in set_breakpoint()
314 iov.iov_len = offsetof(user_hwdebug_state, dbg_regs) + sizeof(dreg_state.dbg_regs[0]); in set_breakpoint()