diff options
-rw-r--r-- | src/jtag/jtag.c | 10 | ||||
-rw-r--r-- | src/jtag/jtag.h | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index 8a710d0f..c934b9ba 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -236,7 +236,7 @@ static int handle_verify_ircapture_command(struct command_context_s *cmd_ctx, ch static int handle_verify_jtag_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc); static int handle_tms_sequence_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc); -jtag_tap_t *jtag_AllTaps(void) +jtag_tap_t *jtag_all_taps(void) { return __jtag_all_taps; }; @@ -252,7 +252,7 @@ int jtag_NumEnabledTaps(void) int n; n = 0; - t = jtag_AllTaps(); + t = jtag_all_taps(); while(t){ if( t->enabled ){ n++; @@ -278,7 +278,7 @@ jtag_tap_t *jtag_TapByString( const char *s ) jtag_tap_t *t; char *cp; - t = jtag_AllTaps(); + t = jtag_all_taps(); /* try name first */ while(t){ if( 0 == strcmp( t->dotted_name, s ) ){ @@ -325,7 +325,7 @@ jtag_tap_t * jtag_TapByAbsPosition( int n ) jtag_tap_t *t; orig_n = n; - t = jtag_AllTaps(); + t = jtag_all_taps(); while( t && (n > 0)) { n--; @@ -1933,7 +1933,7 @@ static int handle_scan_chain_command(struct command_context_s *cmd_ctx, char *cm { jtag_tap_t *tap; - tap = jtag_AllTaps(); + tap = jtag_all_taps(); command_print(cmd_ctx, " TapName | Enabled | IdCode Expected IrLen IrCap IrMask Instr "); command_print(cmd_ctx, "---|--------------------|---------|------------|------------|------|------|------|---------"); diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index ab5b8f4d..d01201c9 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -175,7 +175,7 @@ struct jtag_tap_s jtag_tap_t* next_tap; }; -extern jtag_tap_t* jtag_AllTaps(void); +extern jtag_tap_t* jtag_all_taps(void); extern const char *jtag_tap_name(const jtag_tap_t *tap); extern jtag_tap_t* jtag_TapByPosition(int n); extern jtag_tap_t* jtag_TapByString(const char* dotted_name); @@ -189,7 +189,7 @@ static __inline__ jtag_tap_t* jtag_NextEnabledTap(jtag_tap_t* p) if (p == NULL) { /* start at the head of list */ - p = jtag_AllTaps(); + p = jtag_all_taps(); } else { |