usbtoxxx_current_cmd_index is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDusbtoxxx_current_cmd_index

usbtoxxx_current_cmd_index variable

Syntax

static uint16_t usbtoxxx_current_cmd_index;

References

LocationReferrerText
usbtoxxx.c:44
static uint16_t usbtoxxx_current_cmd_index;
usbtoxxx.c:65usbtoxxx_save_context()
c->usbtoxxx_current_cmd_index = usbtoxxx_current_cmd_index;
usbtoxxx.c:74usbtoxxx_pop_context()
usbtoxxx_current_cmd_index = c->usbtoxxx_current_cmd_index;
usbtoxxx.c:88usbtoxxx_validate_current_command_type()
SET_LE_U16(&usbtoxxx_buffer[1], usbtoxxx_current_cmd_index);
usbtoxxx.c:90usbtoxxx_validate_current_command_type()
usbtoxxx_buffer_index += usbtoxxx_current_cmd_index;
usbtoxxx.c:97usbtoxxx_validate_current_command_type()
usbtoxxx_current_cmd_index = 3;
usbtoxxx.c:267usbtoxxx_ensure_buffer_size()
if (((usbtoxxx_buffer_index + usbtoxxx_current_cmd_index + cmdlen)
usbtoxxx.c:333usbtoxxx_add_command()
usbtoxxx_buffer[usbtoxxx_current_cmd_index++] = cmd;
usbtoxxx.c:336usbtoxxx_add_command()
collect_index = usbtoxxx_current_cmd_index;
usbtoxxx.c:342usbtoxxx_add_command()
SET_LE_U16(&usbtoxxx_buffer[usbtoxxx_current_cmd_index], cmdlen);
usbtoxxx.c:343usbtoxxx_add_command()
usbtoxxx_current_cmd_index += 2;
usbtoxxx.c:350usbtoxxx_add_command()
memcpy(usbtoxxx_buffer + usbtoxxx_current_cmd_index, cmdbuf, cmdlen);
usbtoxxx.c:351usbtoxxx_add_command()
usbtoxxx_current_cmd_index += cmdlen;
usbtoxxx.c:387usbtopoll_start()
usbtoxxx_buffer[usbtoxxx_current_cmd_index++] = USB_TO_POLL_START;
usbtoxxx.c:388usbtopoll_start()
SET_LE_U16(&usbtoxxx_buffer[usbtoxxx_current_cmd_index], retry_cnt);
usbtoxxx.c:389usbtopoll_start()
usbtoxxx_current_cmd_index += 2;
usbtoxxx.c:390usbtopoll_start()
SET_LE_U16(&usbtoxxx_buffer[usbtoxxx_current_cmd_index], interval_us);
usbtoxxx.c:391usbtopoll_start()
usbtoxxx_current_cmd_index += 2;
usbtoxxx.c:413usbtopoll_end()
usbtoxxx_buffer[usbtoxxx_current_cmd_index++] = USB_TO_POLL_END;
usbtoxxx.c:441usbtopoll_checkok()
usbtoxxx_buffer[usbtoxxx_current_cmd_index++] = USB_TO_POLL_CHECKOK;
usbtoxxx.c:442usbtopoll_checkok()
SET_LE_U16(&usbtoxxx_buffer[usbtoxxx_current_cmd_index], offset);
usbtoxxx.c:443usbtopoll_checkok()
usbtoxxx_current_cmd_index += 2;
usbtoxxx.c:444usbtopoll_checkok()
usbtoxxx_buffer[usbtoxxx_current_cmd_index++] = size;
usbtoxxx.c:445usbtopoll_checkok()
usbtoxxx_buffer[usbtoxxx_current_cmd_index++] = equ;
usbtoxxx.c:447usbtopoll_checkok()
usbtoxxx_buffer[usbtoxxx_current_cmd_index++] = (mask >> (8 * i)) & 0xFF;
usbtoxxx.c:449usbtopoll_checkok()
usbtoxxx_buffer[usbtoxxx_current_cmd_index++] = (value >> (8 * i)) & 0xFF;
usbtoxxx.c:477usbtopoll_checkfail()
usbtoxxx_buffer[usbtoxxx_current_cmd_index++] = USB_TO_POLL_CHECKFAIL;
usbtoxxx.c:478usbtopoll_checkfail()
SET_LE_U16(&usbtoxxx_buffer[usbtoxxx_current_cmd_index], offset);
usbtoxxx.c:479usbtopoll_checkfail()
usbtoxxx_current_cmd_index += 2;
usbtoxxx.c:480usbtopoll_checkfail()
usbtoxxx_buffer[usbtoxxx_current_cmd_index++] = size;
usbtoxxx.c:481usbtopoll_checkfail()
usbtoxxx_buffer[usbtoxxx_current_cmd_index++] = equ;
usbtoxxx.c:483usbtopoll_checkfail()
usbtoxxx_buffer[usbtoxxx_current_cmd_index++] = (mask >> (8 * i)) & 0xFF;
usbtoxxx.c:485usbtopoll_checkfail()
usbtoxxx_buffer[usbtoxxx_current_cmd_index++] = (value >> (8 * i)) & 0xFF;
usbtoxxx.c:506usbtopoll_verifybuff()
usbtoxxx_buffer[usbtoxxx_current_cmd_index++] = USB_TO_POLL_VERIFYBUFF;
usbtoxxx.c:507usbtopoll_verifybuff()
SET_LE_U16(&usbtoxxx_buffer[usbtoxxx_current_cmd_index], offset);
usbtoxxx.c:508usbtopoll_verifybuff()
usbtoxxx_current_cmd_index += 2;
usbtoxxx.c:509usbtopoll_verifybuff()
SET_LE_U16(&usbtoxxx_buffer[usbtoxxx_current_cmd_index], size);
usbtoxxx.c:510usbtopoll_verifybuff()
usbtoxxx_current_cmd_index += 2;
usbtoxxx.c:511usbtopoll_verifybuff()
memcpy(&usbtoxxx_buffer[usbtoxxx_current_cmd_index], buff, size);
usbtoxxx.c:512usbtopoll_verifybuff()
usbtoxxx_current_cmd_index += size;
usbtoxxx.c:528usbtodelay_delay()
SET_LE_U16(&usbtoxxx_buffer[usbtoxxx_current_cmd_index], dly);
usbtoxxx.c:529usbtodelay_delay()
usbtoxxx_current_cmd_index += 2;