Lines Matching refs:MAX_PACKET_LENGTH
38 #define MAX_PACKET_LENGTH 4096 macro
279 char line_buf[MAX_PACKET_LENGTH];
282 uint8_t last_packet[MAX_PACKET_LENGTH + 4];
1597 char buf[MAX_PACKET_LENGTH]; in gdb_handle_packet()
1598 uint8_t mem_buf[MAX_PACKET_LENGTH]; in gdb_handle_packet()
1889 snprintf(buf, sizeof(buf), "PacketSize=%x", MAX_PACKET_LENGTH); in gdb_handle_packet()
1923 if (len > (MAX_PACKET_LENGTH - 5) / 2) in gdb_handle_packet()
1924 len = (MAX_PACKET_LENGTH - 5) / 2; in gdb_handle_packet()
2324 return MAX_PACKET_LENGTH; in gdb_chr_can_receive()
2350 char buf[MAX_PACKET_LENGTH]; in gdb_monitor_output()
2353 if (len > (MAX_PACKET_LENGTH/2) - 1) in gdb_monitor_output()
2354 len = (MAX_PACKET_LENGTH/2) - 1; in gdb_monitor_output()