Home
last modified time | relevance | path

Searched refs:xmitcsum (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/common/
H A Dkgdb.c228 unsigned char xmitcsum; in getpacket() local
245 xmitcsum = -1; in getpacket()
265 xmitcsum = hex(getDebugChar() & 0x7f) << 4; in getpacket()
266 xmitcsum |= hex(getDebugChar() & 0x7f); in getpacket()
267 if (checksum != xmitcsum) in getpacket()
282 } while (checksum != xmitcsum); in getpacket()
/openbmc/linux/kernel/debug/
H A Dgdbstub.c91 unsigned char xmitcsum; in get_packet() local
105 xmitcsum = -1; in get_packet()
122 xmitcsum = hex_to_bin(gdbstub_read_wait()) << 4; in get_packet()
123 xmitcsum += hex_to_bin(gdbstub_read_wait()); in get_packet()
125 if (checksum != xmitcsum) in get_packet()
135 } while (checksum != xmitcsum); in get_packet()