/dports/devel/openocd/openocd-0.11.0/src/jtag/ |
H A D | interface.h | 42 void tap_set_state_impl(tap_state_t new_state); 71 tap_state_t tap_get_state(void); 84 void tap_set_end_state(tap_state_t new_end_state); 90 tap_state_t tap_get_end_state(void); 105 int tap_get_tms_path(tap_state_t from, tap_state_t to); 123 int tap_get_tms_path_len(tap_state_t from, tap_state_t to); 139 int tap_move_ndx(tap_state_t astate); 145 bool tap_is_state_stable(tap_state_t astate); 154 tap_state_t tap_state_transition(tap_state_t current_state, bool tms); 171 const void *tdi_buf, unsigned tap_len, tap_state_t start_tap_state) in jtag_debug_state_machine() [all …]
|
H A D | interface.c | 40 static tap_state_t state_follower = TAP_RESET; 42 void tap_set_state_impl(tap_state_t new_state) in tap_set_state_impl() 48 tap_state_t tap_get_state(void) in tap_get_state() 67 tap_state_t tap_get_end_state(void) in tap_get_end_state() 72 int tap_move_ndx(tap_state_t astate) in tap_move_ndx() 201 int tap_get_tms_path(tap_state_t from, tap_state_t to) in tap_get_tms_path() 206 int tap_get_tms_path_len(tap_state_t from, tap_state_t to) in tap_get_tms_path_len() 234 tap_state_t tap_state_transition(tap_state_t cur_state, bool tms) in tap_state_transition() 236 tap_state_t new_state; in tap_state_transition() 386 unsigned tap_bits, tap_state_t next_state) in jtag_debug_state_machine_() [all …]
|
H A D | jtag.h | 77 } tap_state_t; typedef 91 const char *tap_state_name(tap_state_t state); 94 tap_state_t tap_state_by_name(const char *name); 97 extern tap_state_t cmd_queue_cur_state; 344 struct scan_field *fields, tap_state_t endstate); 350 const struct scan_field *fields, tap_state_t state); 357 tap_state_t endstate); 366 const struct scan_field *fields, tap_state_t endstate); 369 struct scan_field *fields, tap_state_t endstate); 495 int jtag_add_statemove(tap_state_t goal_state); [all …]
|
H A D | minidriver.h | 52 tap_state_t endstate); 55 tap_state_t endstate); 59 tap_state_t endstate); 62 tap_state_t endstate); 65 int interface_jtag_add_pathmove(int num_states, const tap_state_t *path); 66 int interface_jtag_add_runtest(int num_cycles, tap_state_t endstate);
|
H A D | commands.h | 54 tap_state_t end_state; 59 tap_state_t end_state; 66 tap_state_t *path; 73 tap_state_t end_state; 92 tap_state_t end_state;
|
H A D | core.c | 57 tap_state_t state), 94 tap_state_t cmd_queue_cur_state = TAP_RESET; 346 static void jtag_prelude(tap_state_t state) in jtag_prelude() 356 tap_state_t state) in jtag_add_ir_scan_noverify() 367 tap_state_t state) in jtag_add_ir_scan_noverify_callback() 392 tap_state_t state) in jtag_add_plain_ir_scan() 422 tap_state_t state), in jtag_add_scan_check() 442 tap_state_t state) in jtag_add_dr_scan_check() 454 tap_state_t state) in jtag_add_dr_scan() 466 tap_state_t state) in jtag_add_plain_dr_scan() [all …]
|
/dports/devel/openocd/openocd-0.11.0/src/jtag/minidummy/ |
H A D | minidummy.c | 55 tap_state_t state) in interface_jtag_add_ir_scan() 63 uint8_t *in_bits, tap_state_t state) in interface_jtag_add_plain_ir_scan() 71 const struct scan_field *fields, tap_state_t state) in interface_jtag_add_dr_scan() 79 uint8_t *in_bits, tap_state_t state) in interface_jtag_add_plain_dr_scan() 100 int interface_jtag_add_runtest(int num_cycles, tap_state_t state) in interface_jtag_add_runtest() 120 int interface_jtag_add_pathmove(int num_states, const tap_state_t *path) in interface_jtag_add_pathmove() 127 tap_state_t cur_state = cmd_queue_cur_state; in interface_jtag_add_pathmove()
|
/dports/devel/openocd/openocd-0.11.0/src/target/ |
H A D | arm_jtag.h | 39 tap_state_t end_state); 42 uint32_t new_instr, void *no_verify_capture, tap_state_t end_state) in arm_jtag_set_instr() 52 int arm_jtag_scann_inner(struct arm_jtag *jtag_info, uint32_t new_scan_chain, tap_state_t end_state… 53 static inline int arm_jtag_scann(struct arm_jtag *jtag_info, uint32_t new_scan_chain, tap_state_t e… in arm_jtag_scann()
|
H A D | arm11_dbgtap.h | 31 uint8_t instr, tap_state_t state); 33 uint8_t chain, tap_state_t state); 54 tap_state_t state);
|
H A D | arm11_dbgtap.c | 45 static const tap_state_t arm11_move_pi_to_si_via_ci[] = { 51 tap_state_t state) in arm11_add_ir_scan_vc() 60 static const tap_state_t arm11_move_pd_to_sd_via_cd[] = { 66 tap_state_t state) in arm11_add_dr_scan_vc() 135 void arm11_add_IR(struct arm11_common *arm11, uint8_t instr, tap_state_t state) in arm11_add_IR() 195 uint8_t chain, tap_state_t state) in arm11_add_debug_SCAN_N() 254 uint32_t inst, uint8_t *flag, tap_state_t state) in arm11_add_debug_INST() 560 static const tap_state_t arm11_MOVE_DRPAUSE_IDLE_DRPAUSE_with_delay[] = {
|
H A D | arm_jtag.c | 33 uint32_t new_instr, void *no_verify_capture, tap_state_t end_state) in arm_jtag_set_instr_inner() 55 int arm_jtag_scann_inner(struct arm_jtag *jtag_info, uint32_t new_scan_chain, tap_state_t end_state) in arm_jtag_scann_inner()
|
H A D | arc_jtag.c | 69 tap_state_t end_state) in arc_jtag_enque_read_dr() 91 tap_state_t end_state) in arc_jtag_enque_write_dr() 119 uint32_t new_trans, tap_state_t end_state) in arc_jtag_enque_set_transaction()
|
/dports/devel/openocd/openocd-0.11.0/src/xsvf/ |
H A D | xsvf.c | 125 static tap_state_t xsvf_to_tap(int xsvf_state) in xsvf_to_tap() 127 tap_state_t ret; in xsvf_to_tap() 211 tap_state_t xenddr = TAP_IDLE; in COMMAND_HANDLER() 218 tap_state_t loop_state = TAP_IDLE; in COMMAND_HANDLER() 229 tap_state_t path[XSTATE_MAX_PATH]; in COMMAND_HANDLER() 285 tap_state_t mystate; in COMMAND_HANDLER() 576 tap_state_t mystate; in COMMAND_HANDLER() 757 tap_state_t wait_state; in COMMAND_HANDLER() 758 tap_state_t end_state; in COMMAND_HANDLER() 801 tap_state_t wait_state; in COMMAND_HANDLER() [all …]
|
/dports/devel/openocd/openocd-0.11.0/src/jtag/zy1000/ |
H A D | zy1000.c | 355 tap_state_t shiftState, in scanBits() 356 tap_state_t end_state) in scanBits() 358 tap_state_t pause_state = shiftState; in scanBits() 394 tap_state_t shiftState, in scanFields() 395 tap_state_t end_state) in scanFields() 409 tap_state_t state) in interface_jtag_add_ir_scan() 448 tap_state_t state) in interface_jtag_add_plain_ir_scan() 457 tap_state_t state) in interface_jtag_add_dr_scan() 483 tap_state_t state) in interface_jtag_add_plain_dr_scan() 501 static int zy1000_jtag_add_clocks(int num_cycles, tap_state_t state, tap_state_t clockstate) in zy1000_jtag_add_clocks() [all …]
|
/dports/devel/openocd/openocd-0.11.0/src/jtag/drivers/ |
H A D | driver.c | 63 const struct scan_field *in_fields, tap_state_t state) in interface_jtag_add_ir_scan() 119 const struct scan_field *in_fields, tap_state_t state) in interface_jtag_add_dr_scan() 183 uint8_t *in_bits, tap_state_t state, bool ir_scan) in jtag_add_plain_scan() 206 …_jtag_add_plain_dr_scan(int num_bits, const uint8_t *out_bits, uint8_t *in_bits, tap_state_t state) in interface_jtag_add_plain_dr_scan() 211 …_jtag_add_plain_ir_scan(int num_bits, const uint8_t *out_bits, uint8_t *in_bits, tap_state_t state) in interface_jtag_add_plain_ir_scan() 218 tap_state_t state = TAP_RESET; in interface_jtag_add_tlr() 258 int interface_jtag_add_pathmove(int num_states, const tap_state_t *path) in interface_jtag_add_pathmove() 269 cmd->cmd.pathmove->path = cmd_queue_alloc(sizeof(tap_state_t) * num_states); in interface_jtag_add_pathmove() 277 int interface_jtag_add_runtest(int num_cycles, tap_state_t state) in interface_jtag_add_runtest()
|
H A D | amt_jtagaccel.c | 159 static void amt_jtagaccel_end_state(tap_state_t state) in amt_jtagaccel_end_state() 192 tap_state_t cur_state = tap_get_state(); in amt_jtagaccel_state_move() 193 tap_state_t end_state = tap_get_end_state(); in amt_jtagaccel_state_move() 222 tap_state_t saved_end_state = tap_get_end_state(); in amt_jtagaccel_runtest() 250 tap_state_t saved_end_state = tap_get_end_state(); in amt_jtagaccel_scan()
|
H A D | dummy.c | 28 static tap_state_t dummy_state = TAP_RESET; 48 tap_state_t old_state = dummy_state; in dummy_write()
|
H A D | arm-jtag-ew.c | 56 static void armjtagew_end_state(tap_state_t state); 58 static void armjtagew_path_move(int num_states, tap_state_t *path); 267 static void armjtagew_end_state(tap_state_t state) in armjtagew_end_state() 293 static void armjtagew_path_move(int num_states, tap_state_t *path) in armjtagew_path_move() 323 tap_state_t saved_end_state = tap_get_end_state(); in armjtagew_runtest() 347 tap_state_t saved_end_state; in armjtagew_scan()
|
H A D | opendous.c | 118 static void opendous_end_state(tap_state_t state); 120 static void opendous_path_move(int num_states, tap_state_t *path); 407 void opendous_end_state(tap_state_t state) in opendous_end_state() 433 void opendous_path_move(int num_states, tap_state_t *path) in opendous_path_move() 458 tap_state_t saved_end_state = tap_get_end_state(); in opendous_runtest() 478 tap_state_t saved_end_state; in opendous_scan()
|
H A D | vsllink.c | 54 static void vsllink_end_state(tap_state_t state); 56 static void vsllink_path_move(int num_states, tap_state_t *path); 358 static void vsllink_end_state(tap_state_t state) in vsllink_end_state() 383 static void vsllink_path_move(int num_states, tap_state_t *path) in vsllink_path_move() 419 tap_state_t saved_end_state = tap_get_end_state(); in vsllink_runtest() 439 tap_state_t saved_end_state; in vsllink_scan()
|
H A D | gw16012.c | 147 static void gw16012_end_state(tap_state_t state) in gw16012_end_state() 201 tap_state_t saved_end_state = tap_get_end_state(); in gw16012_runtest() 224 tap_state_t saved_end_state = tap_get_end_state(); in gw16012_scan()
|
H A D | osbdm.c | 394 tap_state_t *path, in osbdm_add_pathmove() 429 tap_state_t new_state, in osbdm_add_statemove() 504 tap_state_t end_state, in osbdm_add_scan() 551 tap_state_t end_state) in osbdm_add_runtest()
|
H A D | buspirate.c | 39 static void buspirate_end_state(tap_state_t state); 41 static void buspirate_path_move(int num_states, tap_state_t *path); 555 static void buspirate_end_state(tap_state_t state) in buspirate_end_state() 581 static void buspirate_path_move(int num_states, tap_state_t *path) in buspirate_path_move() 609 tap_state_t saved_end_state = tap_get_end_state(); in buspirate_runtest() 633 tap_state_t saved_end_state; in buspirate_scan()
|
/dports/devel/openocd/openocd-0.11.0/src/svf/ |
H A D | svf.h | 37 int svf_add_statemove(tap_state_t goal_state); 45 bool svf_tap_state_is_stable(tap_state_t state);
|
H A D | svf.c | 86 tap_state_t from; 87 tap_state_t to; 89 tap_state_t paths[8]; 163 tap_state_t ir_end_state; 164 tap_state_t dr_end_state; 165 tap_state_t runtest_run_state; 166 tap_state_t runtest_end_state; 319 int svf_add_statemove(tap_state_t state_to) in svf_add_statemove() 321 tap_state_t state_from = cmd_queue_cur_state; in svf_add_statemove() 742 bool svf_tap_state_is_stable(tap_state_t state) in svf_tap_state_is_stable() [all …]
|