Lines Matching refs:ERROR_OK

71 		if (retval != ERROR_OK)  in cortex_m_load_core_reg_u32()
76 if (retval != ERROR_OK) in cortex_m_load_core_reg_u32()
80 if (retval != ERROR_OK) in cortex_m_load_core_reg_u32()
86 if (retval == ERROR_OK) in cortex_m_load_core_reg_u32()
104 if (retval != ERROR_OK) in cortex_m_store_core_reg_u32()
109 if (retval != ERROR_OK) in cortex_m_store_core_reg_u32()
113 if (retval != ERROR_OK) in cortex_m_store_core_reg_u32()
119 if (retval == ERROR_OK) in cortex_m_store_core_reg_u32()
146 return ERROR_OK; in cortex_m_set_maskints()
170 return ERROR_OK; in cortex_m_set_maskints_for_halt()
192 return ERROR_OK; in cortex_m_set_maskints_for_run()
214 return ERROR_OK; in cortex_m_set_maskints_for_step()
228 if (retval != ERROR_OK) in cortex_m_clear_halt()
233 if (retval != ERROR_OK) in cortex_m_clear_halt()
237 return ERROR_OK; in cortex_m_clear_halt()
253 if (retval != ERROR_OK) in cortex_m_single_step_core()
258 if (retval != ERROR_OK) in cortex_m_single_step_core()
265 return ERROR_OK; in cortex_m_single_step_core()
271 if (retval != ERROR_OK) in cortex_m_enable_fpb()
277 if (retval != ERROR_OK) in cortex_m_enable_fpb()
281 return ERROR_OK; in cortex_m_enable_fpb()
299 if (retval != ERROR_OK) in cortex_m_endreset_event()
305 if (retval != ERROR_OK) in cortex_m_endreset_event()
310 if (retval != ERROR_OK) in cortex_m_endreset_event()
314 if (retval != ERROR_OK) in cortex_m_endreset_event()
329 if (retval != ERROR_OK) in cortex_m_endreset_event()
338 if (retval != ERROR_OK) { in cortex_m_endreset_event()
348 if (retval != ERROR_OK) in cortex_m_endreset_event()
356 if (retval != ERROR_OK) in cortex_m_endreset_event()
360 if (retval != ERROR_OK) in cortex_m_endreset_event()
364 if (retval != ERROR_OK) in cortex_m_endreset_event()
368 if (retval != ERROR_OK) in cortex_m_endreset_event()
402 return ERROR_OK; in cortex_m_examine_debug_reason()
413 if (retval != ERROR_OK) in cortex_m_examine_exception_reason()
420 if (retval != ERROR_OK) in cortex_m_examine_exception_reason()
424 if (retval != ERROR_OK) in cortex_m_examine_exception_reason()
430 if (retval != ERROR_OK) in cortex_m_examine_exception_reason()
433 if (retval != ERROR_OK) in cortex_m_examine_exception_reason()
438 if (retval != ERROR_OK) in cortex_m_examine_exception_reason()
441 if (retval != ERROR_OK) in cortex_m_examine_exception_reason()
446 if (retval != ERROR_OK) in cortex_m_examine_exception_reason()
451 if (retval != ERROR_OK) in cortex_m_examine_exception_reason()
454 if (retval != ERROR_OK) in cortex_m_examine_exception_reason()
461 if (retval != ERROR_OK) in cortex_m_examine_exception_reason()
473 if (retval == ERROR_OK) in cortex_m_examine_exception_reason()
499 if (retval != ERROR_OK) in cortex_m_debug_entry()
503 if (retval != ERROR_OK) in cortex_m_debug_entry()
512 if (retval != ERROR_OK) in cortex_m_debug_entry()
566 if (retval != ERROR_OK) in cortex_m_debug_entry()
570 return ERROR_OK; in cortex_m_debug_entry()
575 int detected_failure = ERROR_OK; in cortex_m_poll()
576 int retval = ERROR_OK; in cortex_m_poll()
583 if (retval != ERROR_OK) { in cortex_m_poll()
604 if (retval != ERROR_OK) in cortex_m_poll()
613 return ERROR_OK; in cortex_m_poll()
623 if (retval != ERROR_OK) { in cortex_m_poll()
636 if (retval != ERROR_OK) in cortex_m_poll()
647 if (retval != ERROR_OK) in cortex_m_poll()
658 retval = ERROR_OK; in cortex_m_poll()
670 retval = ERROR_OK; in cortex_m_poll()
674 if (detected_failure != ERROR_OK) in cortex_m_poll()
686 return ERROR_OK; in cortex_m_halt()
702 return ERROR_OK; in cortex_m_halt()
715 return ERROR_OK; in cortex_m_halt()
733 if (retval != ERROR_OK) in cortex_m_soft_reset_halt()
739 if (retval != ERROR_OK) in cortex_m_soft_reset_halt()
745 if (retval != ERROR_OK) in cortex_m_soft_reset_halt()
754 if (retval == ERROR_OK) { in cortex_m_soft_reset_halt()
757 if (retval != ERROR_OK) in cortex_m_soft_reset_halt()
767 return ERROR_OK; in cortex_m_soft_reset_halt()
777 return ERROR_OK; in cortex_m_soft_reset_halt()
893 return ERROR_OK; in cortex_m_resume()
999 bool tmp_bp_set = (retval == ERROR_OK); in cortex_m_step()
1020 if (retval != ERROR_OK) { in cortex_m_step()
1055 if (retval != ERROR_OK) in cortex_m_step()
1068 return ERROR_OK; in cortex_m_step()
1076 if (retval != ERROR_OK) in cortex_m_step()
1084 return ERROR_OK; in cortex_m_step()
1105 return ERROR_OK; in cortex_m_assert_reset()
1118 return ERROR_OK; in cortex_m_assert_reset()
1136 if (retval != ERROR_OK || !(cortex_m->dcb_dhcsr & C_DEBUGEN)) in cortex_m_assert_reset()
1141 if (retval == ERROR_OK && (cortex_m->dcb_dhcsr & S_SLEEP)) in cortex_m_assert_reset()
1166 if (retval != ERROR_OK || retval2 != ERROR_OK) in cortex_m_assert_reset()
1176 retval = ERROR_OK; in cortex_m_assert_reset()
1203 if (retval3 != ERROR_OK) in cortex_m_assert_reset()
1207 if (retval3 != ERROR_OK) { in cortex_m_assert_reset()
1228 if (retval != ERROR_OK) in cortex_m_assert_reset()
1233 if (retval != ERROR_OK) in cortex_m_assert_reset()
1237 return ERROR_OK; in cortex_m_assert_reset()
1257 if (retval != ERROR_OK) { in cortex_m_deassert_reset()
1263 return ERROR_OK; in cortex_m_deassert_reset()
1275 return ERROR_OK; in cortex_m_set_breakpoint()
1310 if (retval != ERROR_OK) { in cortex_m_set_breakpoint()
1329 if (retval != ERROR_OK) in cortex_m_set_breakpoint()
1335 if (retval != ERROR_OK) in cortex_m_set_breakpoint()
1347 return ERROR_OK; in cortex_m_set_breakpoint()
1358 return ERROR_OK; in cortex_m_unset_breakpoint()
1372 return ERROR_OK; in cortex_m_unset_breakpoint()
1383 if (retval != ERROR_OK) in cortex_m_unset_breakpoint()
1388 return ERROR_OK; in cortex_m_unset_breakpoint()
1409 return ERROR_OK; in cortex_m_remove_breakpoint()
1494 return ERROR_OK; in cortex_m_set_watchpoint()
1506 return ERROR_OK; in cortex_m_unset_watchpoint()
1517 return ERROR_OK; in cortex_m_unset_watchpoint()
1528 return ERROR_OK; in cortex_m_unset_watchpoint()
1577 return ERROR_OK; in cortex_m_add_watchpoint()
1596 return ERROR_OK; in cortex_m_remove_watchpoint()
1644 return ERROR_OK; in cortex_m_init_target()
1671 if (retval != ERROR_OK) { in cortex_m_profiling()
1690 if (retval != ERROR_OK) { in cortex_m_profiling()
1711 if (retval != ERROR_OK) { in cortex_m_profiling()
1746 if (retval != ERROR_OK) in cortex_m_dwt_get_reg()
1750 return ERROR_OK; in cortex_m_dwt_get_reg()
1930 if (dap_find_ap(swjdp, AP_TYPE_AHB3_AP, debug_ap) == ERROR_OK) in cortex_m_find_mem_ap()
1931 return ERROR_OK; in cortex_m_find_mem_ap()
1951 if (retval != ERROR_OK) { in cortex_m_examine()
1963 if (retval != ERROR_OK) in cortex_m_examine()
1972 if (retval != ERROR_OK) in cortex_m_examine()
2069 if (retval != ERROR_OK) in cortex_m_examine()
2075 if (retval != ERROR_OK) in cortex_m_examine()
2082 if (retval != ERROR_OK) in cortex_m_examine()
2129 return ERROR_OK; in cortex_m_examine()
2140 if (retval != ERROR_OK) in cortex_m_dcc_read()
2154 if (retval != ERROR_OK) in cortex_m_dcc_read()
2158 return ERROR_OK; in cortex_m_dcc_read()
2170 if (retval != ERROR_OK) in cortex_m_target_request_data()
2175 return ERROR_OK; in cortex_m_target_request_data()
2182 return ERROR_OK; in cortex_m_handle_target_request()
2185 return ERROR_OK; in cortex_m_handle_target_request()
2193 if (retval != ERROR_OK) in cortex_m_handle_target_request()
2204 if (retval != ERROR_OK) in cortex_m_handle_target_request()
2212 return ERROR_OK; in cortex_m_handle_target_request()
2241 return ERROR_OK; in cortex_m_init_arch_info()
2249 if (adiv5_verify_config(pc) != ERROR_OK) in cortex_m_target_create()
2263 return ERROR_OK; in cortex_m_target_create()
2275 return ERROR_OK; in cortex_m_verify_pointer()
2307 if (retval != ERROR_OK) in COMMAND_HANDLER()
2316 if (retval != ERROR_OK) in COMMAND_HANDLER()
2353 if (retval != ERROR_OK) in COMMAND_HANDLER()
2356 if (retval != ERROR_OK) in COMMAND_HANDLER()
2370 return ERROR_OK; in COMMAND_HANDLER()
2390 if (retval != ERROR_OK) in COMMAND_HANDLER()
2395 return ERROR_OK; in COMMAND_HANDLER()
2409 return ERROR_OK; in COMMAND_HANDLER()
2420 if (retval != ERROR_OK) in COMMAND_HANDLER()
2454 return ERROR_OK; in COMMAND_HANDLER()