OpenOCD
aice_transport.c File Reference
Include dependency graph for aice_transport.c:

Go to the source code of this file.

Macros

#define NTAP_OPT_EXPECTED_ID   0
 

Functions

static void aice_constructor (void)
 
static int aice_init_reset (struct command_context *cmd_ctx)
 
static int aice_transport_init (struct command_context *cmd_ctx)
 
static int aice_transport_register_commands (struct command_context *cmd_ctx)
 
static int aice_transport_select (struct command_context *ctx)
 
 COMMAND_HANDLER (handle_aice_init_command)
 
 COMMAND_HANDLER (handle_scan_chain_command)
 
static int jim_aice_arp_init (Jim_Interp *interp, int argc, Jim_Obj *const *argv)
 
static int jim_aice_arp_init_reset (Jim_Interp *interp, int argc, Jim_Obj *const *argv)
 
static int jim_aice_names (Jim_Interp *interp, int argc, Jim_Obj *const *argv)
 
static int jim_aice_newtap (Jim_Interp *interp, int argc, Jim_Obj *const *argv)
 
static int jim_aice_newtap_cmd (struct jim_getopt_info *goi)
 
static int jim_newtap_expected_id (struct jim_nvp *n, struct jim_getopt_info *goi, struct jtag_tap *tap)
 

Variables

static struct transport aice_jtag_transport
 
static const struct command_registration aice_transport_command_handlers []
 
static const struct command_registration aice_transport_jtag_subcommand_handlers []
 
const char * aice_transports [] = { "aice_jtag", NULL }
 

Macro Definition Documentation

◆ NTAP_OPT_EXPECTED_ID

#define NTAP_OPT_EXPECTED_ID   0

Definition at line 52 of file aice_transport.c.

Function Documentation

◆ aice_constructor()

static void aice_constructor ( void  )
static

Definition at line 428 of file aice_transport.c.

◆ aice_init_reset()

static int aice_init_reset ( struct command_context cmd_ctx)
static

◆ aice_transport_init()

static int aice_transport_init ( struct command_context cmd_ctx)
static

◆ aice_transport_register_commands()

static int aice_transport_register_commands ( struct command_context cmd_ctx)
static

Definition at line 376 of file aice_transport.c.

References aice_transport_command_handlers, NULL, and register_commands().

◆ aice_transport_select()

static int aice_transport_select ( struct command_context ctx)
static

Definition at line 406 of file aice_transport.c.

◆ COMMAND_HANDLER() [1/2]

COMMAND_HANDLER ( handle_aice_init_command  )

◆ COMMAND_HANDLER() [2/2]

◆ jim_aice_arp_init()

static int jim_aice_arp_init ( Jim_Interp *  interp,
int  argc,
Jim_Obj *const *  argv 
)
static

Definition at line 205 of file aice_transport.c.

References LOG_DEBUG.

◆ jim_aice_arp_init_reset()

static int jim_aice_arp_init_reset ( Jim_Interp *  interp,
int  argc,
Jim_Obj *const *  argv 
)
static

◆ jim_aice_names()

static int jim_aice_names ( Jim_Interp *  interp,
int  argc,
Jim_Obj *const *  argv 
)
static

Definition at line 255 of file aice_transport.c.

◆ jim_aice_newtap()

static int jim_aice_newtap ( Jim_Interp *  interp,
int  argc,
Jim_Obj *const *  argv 
)
static

◆ jim_aice_newtap_cmd()

◆ jim_newtap_expected_id()

static int jim_newtap_expected_id ( struct jim_nvp n,
struct jim_getopt_info goi,
struct jtag_tap tap 
)
static

Variable Documentation

◆ aice_jtag_transport

struct transport aice_jtag_transport
static
Initial value:
= {
.name = "aice_jtag",
}
static int aice_transport_select(struct command_context *ctx)
static int aice_transport_init(struct command_context *cmd_ctx)

Definition at line 406 of file aice_transport.c.

◆ aice_transport_command_handlers

const struct command_registration aice_transport_command_handlers[]
static
Initial value:
= {
{
.name = "jtag",
.mode = COMMAND_ANY,
.usage = "",
},
}
static const struct command_registration aice_transport_jtag_subcommand_handlers[]
#define COMMAND_REGISTRATION_DONE
Use this as the last entry in an array of command_registration records.
Definition: command.h:247
@ COMMAND_ANY
Definition: command.h:42

Definition at line 255 of file aice_transport.c.

Referenced by aice_transport_register_commands().

◆ aice_transport_jtag_subcommand_handlers

const struct command_registration aice_transport_jtag_subcommand_handlers[]
static

Definition at line 255 of file aice_transport.c.

◆ aice_transports

const char* aice_transports[] = { "aice_jtag", NULL }

Definition at line 426 of file aice_transport.c.