Lines Matching refs:input
14 int srec_decode (char *input, int *count, ulong *addr, char *data) in srec_decode() argument
27 for (; *input; ++input) { in srec_decode()
28 if (*input == 'S') { /* skip 'S' */ in srec_decode()
29 ++input; in srec_decode()
33 if (*input == '\0') { /* no more data? */ in srec_decode()
37 v = *input++; /* record type */ in srec_decode()
39 if ((*count = hex2_bin(input)) < 0) { in srec_decode()
44 input += 2; in srec_decode()
92 if ((v = hex2_bin(input)) < 0) { in srec_decode()
97 input += 2; in srec_decode()
101 if ((v = hex2_bin(input)) < 0) { in srec_decode()
107 input += 2; in srec_decode()
113 if ((v = hex2_bin(input)) < 0) { in srec_decode()
119 input += 2; in srec_decode()
121 if ((v = hex2_bin(input)) < 0) { in srec_decode()
127 input += 2; in srec_decode()
136 if ((v = hex2_bin(input)) < 0) { in srec_decode()
141 input += 2; in srec_decode()
145 if ((v = hex2_bin(input)) < 0) { in srec_decode()