Lines Matching refs:checksum
92 unsigned char checksum; in get_packet() local
106 checksum = 0; in get_packet()
118 checksum = checksum + ch; in get_packet()
127 if (checksum != xmitcsum) in get_packet()
137 } while (checksum != xmitcsum); in get_packet()
146 unsigned char checksum; in put_packet() local
155 checksum = 0; in put_packet()
160 checksum += ch; in put_packet()
165 dbg_io_ops->write_char(hex_asc_hi(checksum)); in put_packet()
166 dbg_io_ops->write_char(hex_asc_lo(checksum)); in put_packet()
1115 unsigned char checksum, ch, buffer[3]; in gdbstub_exit() local
1130 checksum = 0; in gdbstub_exit()
1134 checksum += ch; in gdbstub_exit()
1139 dbg_io_ops->write_char(hex_asc_hi(checksum)); in gdbstub_exit()
1140 dbg_io_ops->write_char(hex_asc_lo(checksum)); in gdbstub_exit()