OpenOCD
|
Go to the source code of this file.
Functions | |
COMMAND_HANDLER (handle_pld_device_command) | |
COMMAND_HANDLER (handle_pld_devices_command) | |
COMMAND_HANDLER (handle_pld_init_command) | |
COMMAND_HANDLER (handle_pld_load_command) | |
struct pld_device * | get_pld_device_by_num (int num) |
static int | pld_init (struct command_context *cmd_ctx) |
int | pld_register_commands (struct command_context *cmd_ctx) |
Variables | |
static const struct command_registration | pld_command_handler [] |
static const struct command_registration | pld_config_command_handlers [] |
static struct pld_device * | pld_devices |
static struct pld_driver * | pld_drivers [] |
static const struct command_registration | pld_exec_command_handlers [] |
struct pld_driver | virtex2_pld |
COMMAND_HANDLER | ( | handle_pld_device_command | ) |
Definition at line 44 of file pld.c.
References CALL_COMMAND_HANDLER, CMD_ARGC, CMD_ARGV, CMD_CTX, pld_device::driver, ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, ERROR_OK, LOG_ERROR, name, pld_device::next, NULL, pld_devices, pld_drivers, and register_commands().
COMMAND_HANDLER | ( | handle_pld_devices_command | ) |
Definition at line 102 of file pld.c.
References CMD, command_print(), pld_device::driver, ERROR_OK, pld_driver::name, pld_device::next, and pld_devices.
COMMAND_HANDLER | ( | handle_pld_init_command | ) |
Definition at line 182 of file pld.c.
References CMD_ARGC, CMD_CTX, ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, LOG_DEBUG, LOG_INFO, and pld_init().
COMMAND_HANDLER | ( | handle_pld_load_command | ) |
Definition at line 118 of file pld.c.
References CMD, CMD_ARGC, CMD_ARGV, COMMAND_PARSE_NUMBER, command_print(), pld_device::driver, ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, get_pld_device_by_num(), gettimeofday(), pld_driver::load, NULL, start, and timeval_subtract().
struct pld_device* get_pld_device_by_num | ( | int | num | ) |
Definition at line 29 of file pld.c.
References pld_device::next, NULL, and pld_devices.
Referenced by COMMAND_HANDLER().
|
static |
Definition at line 174 of file pld.c.
References ERROR_OK, pld_devices, pld_exec_command_handlers, and register_commands().
Referenced by COMMAND_HANDLER().
int pld_register_commands | ( | struct command_context * | cmd_ctx | ) |
Definition at line 225 of file pld.c.
References NULL, pld_command_handler, and register_commands().
Referenced by setup_command_handler().
|
static |
Definition at line 182 of file pld.c.
Referenced by pld_register_commands().
|
static |
|
static |
Definition at line 27 of file pld.c.
Referenced by COMMAND_HANDLER(), get_pld_device_by_num(), and pld_init().
|
static |
|
static |
Definition at line 118 of file pld.c.
Referenced by pld_init().
|
extern |