Lines Matching refs:count
13 int srec_decode (char *input, int *count, ulong *addr, char *data) in srec_decode() argument
38 if ((*count = hex2_bin(input)) < 0) { in srec_decode()
42 chksum += *count; in srec_decode()
49 *count -= 3; /* - checksum and addr */ in srec_decode()
53 *count -= 3; /* - checksum and addr */ in srec_decode()
57 *count -= 4; /* - checksum and addr */ in srec_decode()
61 *count -= 5; /* - checksum and addr */ in srec_decode()
66 *count = 0; /* no data */ in srec_decode()
71 *count -= 5; /* - checksum and addr */ in srec_decode()
75 *count -= 4; /* - checksum and addr */ in srec_decode()
79 *count -= 3; /* - checksum and addr */ in srec_decode()
134 for (i=0; i < *count; ++i) { in srec_decode()