nvp::value is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

nvp::value field

Syntax

int value;

References

LocationReferrerText
nvp.h:63
int value;
aarch64.c:3041aarch64_mask_interrupts_command()
{ .name = "off", .value = AARCH64_ISRMASK_OFF },
aarch64.c:3042aarch64_mask_interrupts_command()
{ .name = "on", .value = AARCH64_ISRMASK_ON },
aarch64.c:3043aarch64_mask_interrupts_command()
{ .name = NULL, .value = -1 },
aarch64.c:3054aarch64_mask_interrupts_command()
aarch64->isrmasking_mode = n->value;
arc_cmd.c:37
{ .name = "-name", .value = CFG_ADD_REG_TYPE_FLAGS_NAME },
arc_cmd.c:38
{ .name = "-flag", .value = CFG_ADD_REG_TYPE_FLAGS_FLAG },
arc_cmd.c:39
{ .name = NULL, .value = -1 }
arc_cmd.c:69arc_handle_add_reg_type_flags_ops()
switch (n->value) {
arc_cmd.c:199
{ .name = "-name", .value = CFG_ADD_REG_TYPE_STRUCT_NAME },
arc_cmd.c:200
{ .name = "-bitfield", .value = CFG_ADD_REG_TYPE_STRUCT_BITFIELD },
arc_cmd.c:201
{ .name = NULL, .value = -1 }
arc_cmd.c:378arc_handle_add_reg_type_struct_opts()
switch (n->value) {
arc_cmd.c:517
{ .name = "-name", .value = CFG_ADD_REG_NAME },
arc_cmd.c:518
{ .name = "-num", .value = CFG_ADD_REG_ARCH_NUM },
arc_cmd.c:519
{ .name = "-core", .value = CFG_ADD_REG_IS_CORE },
arc_cmd.c:520
{ .name = "-bcr", .value = CFG_ADD_REG_IS_BCR },
arc_cmd.c:521
{ .name = "-feature", .value = CFG_ADD_REG_GDB_FEATURE },
arc_cmd.c:522
{ .name = "-type", .value = CFG_ADD_REG_TYPE },
arc_cmd.c:523
{ .name = "-g", .value = CFG_ADD_REG_GENERAL },
arc_cmd.c:524
{ .name = NULL, .value = -1 }
arc_cmd.c:552arc_handle_add_reg_do()
switch (n->value) {
armv8.c:1205armv8_handle_exception_catch_command()
{ .name = "off", .value = 0 },
armv8.c:1206armv8_handle_exception_catch_command()
{ .name = "nsec_el1", .value = (1 << 5) },
armv8.c:1207armv8_handle_exception_catch_command()
{ .name = "nsec_el2", .value = (2 << 5) },
armv8.c:1208armv8_handle_exception_catch_command()
{ .name = "nsec_el12", .value = (3 << 5) },
armv8.c:1209armv8_handle_exception_catch_command()
{ .name = "sec_el1", .value = (1 << 1) },
armv8.c:1210armv8_handle_exception_catch_command()
{ .name = "sec_el3", .value = (4 << 1) },
armv8.c:1211armv8_handle_exception_catch_command()
{ .name = "sec_el13", .value = (5 << 1) },
armv8.c:1212armv8_handle_exception_catch_command()
{ .name = NULL, .value = -1 },
armv8.c:1250armv8_handle_exception_catch_command()
edeccr |= n->value;
cortex_a.c:3274handle_cortex_a_mask_interrupts_command()
{ .name = "off", .value = CORTEX_A_ISRMASK_OFF },
cortex_a.c:3275handle_cortex_a_mask_interrupts_command()
{ .name = "on", .value = CORTEX_A_ISRMASK_ON },
cortex_a.c:3276handle_cortex_a_mask_interrupts_command()
{ .name = NULL, .value = -1 },
cortex_a.c:3287handle_cortex_a_mask_interrupts_command()
cortex_a->isrmasking_mode = n->value;
cortex_a.c:3302handle_cortex_a_dacrfixup_command()
{ .name = "off", .value = CORTEX_A_DACRFIXUP_OFF },
cortex_a.c:3303handle_cortex_a_dacrfixup_command()
{ .name = "on", .value = CORTEX_A_DACRFIXUP_ON },
cortex_a.c:3304handle_cortex_a_dacrfixup_command()
{ .name = NULL, .value = -1 },
cortex_a.c:3312handle_cortex_a_dacrfixup_command()
cortex_a->dacrfixup_mode = n->value;
cortex_m.c:3201handle_cortex_m_mask_interrupts_command()
{ .name = "auto", .value = CORTEX_M_ISRMASK_AUTO },
cortex_m.c:3202handle_cortex_m_mask_interrupts_command()
{ .name = "off", .value = CORTEX_M_ISRMASK_OFF },
cortex_m.c:3203handle_cortex_m_mask_interrupts_command()
{ .name = "on", .value = CORTEX_M_ISRMASK_ON },
cortex_m.c:3204handle_cortex_m_mask_interrupts_command()
{ .name = "steponly", .value = CORTEX_M_ISRMASK_STEPONLY },
cortex_m.c:3205handle_cortex_m_mask_interrupts_command()
{ .name = NULL, .value = -1 },
cortex_m.c:3223handle_cortex_m_mask_interrupts_command()
cortex_m->isrmasking_mode = n->value;
ftdi.c:901ftdi_handle_tdo_sample_edge_command()
{ .name = "rising", .value = JTAG_MODE },
ftdi.c:902ftdi_handle_tdo_sample_edge_command()
{ .name = "falling", .value = JTAG_MODE_ALT },
ftdi.c:903ftdi_handle_tdo_sample_edge_command()
{ .name = NULL, .value = -1 },
ftdi.c:910ftdi_handle_tdo_sample_edge_command()
ftdi_jtag_mode = n->value;
nvp.c:42nvp_value2name()
if (value == p->value)
svf.c:366
{ .name = "-addcycles", .value = OPT_ADDCYCLES },
svf.c:367
{ .name = "-ignore_error", .value = OPT_IGNORE_ERROR },
svf.c:368
{ .name = "-nil", .value = OPT_NIL },
svf.c:369
{ .name = "-noreset", .value = OPT_NORESET },
svf.c:370
{ .name = "-progress", .value = OPT_PROGRESS },
svf.c:371
{ .name = "-quiet", .value = OPT_QUIET },
svf.c:372
{ .name = "-tap", .value = OPT_TAP },
svf.c:374
{ .name = "ignore_error", .value = DEPRECATED_OPT_IGNORE_ERROR },
svf.c:375
{ .name = "nil", .value = DEPRECATED_OPT_NIL },
svf.c:376
{ .name = "progress", .value = DEPRECATED_OPT_PROGRESS },
svf.c:377
{ .name = "quiet", .value = DEPRECATED_OPT_QUIET },
svf.c:378
{ .name = NULL, .value = -1 }
svf.c:410handle_svf_command()
switch (n->value) {
target.c:128
{ .name = NULL, .value = -1 }
target.c:132
{ .value = ERROR_TARGET_INVALID, .name = "err-invalid" },
target.c:133
{ .value = ERROR_TARGET_INIT_FAILED, .name = "err-init-failed" },
target.c:134
{ .value = ERROR_TARGET_TIMEOUT, .name = "err-timeout" },
target.c:135
{ .value = ERROR_TARGET_NOT_HALTED, .name = "err-not-halted" },
target.c:136
{ .value = ERROR_TARGET_FAILURE, .name = "err-failure" },
target.c:137
{ .value = ERROR_TARGET_UNALIGNED_ACCESS, .name = "err-unaligned-access" },
target.c:138
{ .value = ERROR_TARGET_DATA_ABORT, .name = "err-data-abort" },
target.c:139
{ .value = ERROR_TARGET_RESOURCE_NOT_AVAILABLE, .name = "err-resource-not-available" },
target.c:140
{ .value = ERROR_TARGET_TRANSLATION_FAULT, .name = "err-translation-fault" },
target.c:141
{ .value = ERROR_TARGET_NOT_RUNNING, .name = "err-not-running" },
target.c:142
{ .value = ERROR_TARGET_NOT_EXAMINED, .name = "err-not-examined" },
target.c:143
{ .value = -1, .name = NULL }
target.c:210
{ .name = "unknown", .value = TARGET_UNKNOWN },
target.c:211
{ .name = "running", .value = TARGET_RUNNING },
target.c:212
{ .name = "halted", .value = TARGET_HALTED },
target.c:213
{ .name = "reset", .value = TARGET_RESET },
target.c:214
{ .name = "debug-running", .value = TARGET_DEBUG_RUNNING },
target.c:215
{ .name = NULL, .value = -1 },
target.c:219
{ .name = "debug-request", .value = DBG_REASON_DBGRQ },
target.c:220
{ .name = "breakpoint", .value = DBG_REASON_BREAKPOINT },
target.c:221
{ .name = "watchpoint", .value = DBG_REASON_WATCHPOINT },
target.c:222
{ .name = "watchpoint-and-breakpoint", .value = DBG_REASON_WPTANDBKPT },
target.c:223
{ .name = "single-step", .value = DBG_REASON_SINGLESTEP },
target.c:224
{ .name = "target-not-halted", .value = DBG_REASON_NOTHALTED },
target.c:225
{ .name = "program-exit", .value = DBG_REASON_EXIT },
target.c:226
{ .name = "exception-catch", .value = DBG_REASON_EXC_CATCH },
target.c:227
{ .name = "undefined", .value = DBG_REASON_UNDEFINED },
target.c:228
{ .name = NULL, .value = -1 },
target.c:240
{ .name = "unknown", .value = RESET_UNKNOWN },
target.c:241
{ .name = "run", .value = RESET_RUN },
target.c:242
{ .name = "halt", .value = RESET_HALT },
target.c:243
{ .name = "init", .value = RESET_INIT },
target.c:244
{ .name = NULL, .value = -1 },
target.c:3304handle_reset_command()
if ((!n->name) || (n->value == RESET_UNKNOWN))
target.c:3306handle_reset_command()
reset_mode = n->value;
target.c:5490handle_target_reset()
if (n->value == NVP_ASSERT) {
target.c:5534handle_target_wait_state()
int retval = target_wait_state(target, n->value, a);
tcl.c:45
{ .value = JTAG_TRST_ASSERTED, .name = "post-reset" },
tcl.c:46
{ .value = JTAG_TAP_EVENT_SETUP, .name = "setup" },
tcl.c:47
{ .value = JTAG_TAP_EVENT_ENABLE, .name = "tap-enable" },
tcl.c:48
{ .value = JTAG_TAP_EVENT_DISABLE, .name = "tap-disable" },
tcl.c:50
{ .name = NULL, .value = -1 }
tcl.c:266
{ .name = "-event", .value = JCFG_EVENT },
tcl.c:267
{ .name = "-idcode", .value = JCFG_IDCODE },
tcl.c:269
{ .name = NULL, .value = -1 }
tcl.c:278jtag_tap_set_event()
if (jteap->event == (enum jtag_event)event->value)
tcl.c:298jtag_tap_set_event()
jteap->event = (enum jtag_event)event->value;
tcl.c:319handle_jtag_configure()
switch (n->value) {
tcl.c:340handle_jtag_configure()
if (jteap->event == (enum jtag_event)event->value) {
tcl.c:376
{ .name = "-irlen", .value = NTAP_OPT_IRLEN },
tcl.c:377
{ .name = "-irmask", .value = NTAP_OPT_IRMASK },
tcl.c:378
{ .name = "-ircapture", .value = NTAP_OPT_IRCAPTURE },
tcl.c:379
{ .name = "-enable", .value = NTAP_OPT_ENABLED },
tcl.c:380
{ .name = "-disable", .value = NTAP_OPT_DISABLED },
tcl.c:381
{ .name = "-expected-id", .value = NTAP_OPT_EXPECTED_ID },
tcl.c:382
{ .name = "-ignore-version", .value = NTAP_OPT_VERSION },
tcl.c:383
{ .name = "-ignore-bypass", .value = NTAP_OPT_BYPASS },
tcl.c:384
{ .name = "-ir-bypass", .value = NTAP_OPT_IRBYPASS },
tcl.c:385
{ .name = NULL, .value = -1 },
tcl.c:419handle_jtag_newtap_args()
switch (n->value) {