Lines Matching refs:input
12 int srec_decode (char *input, int *count, ulong *addr, char *data) in srec_decode() argument
25 for (; *input; ++input) { in srec_decode()
26 if (*input == 'S') { /* skip 'S' */ in srec_decode()
27 ++input; in srec_decode()
31 if (*input == '\0') { /* no more data? */ in srec_decode()
35 v = *input++; /* record type */ in srec_decode()
37 if ((*count = hex2_bin(input)) < 0) { in srec_decode()
42 input += 2; in srec_decode()
90 if ((v = hex2_bin(input)) < 0) { in srec_decode()
95 input += 2; in srec_decode()
99 if ((v = hex2_bin(input)) < 0) { in srec_decode()
105 input += 2; in srec_decode()
111 if ((v = hex2_bin(input)) < 0) { in srec_decode()
117 input += 2; in srec_decode()
119 if ((v = hex2_bin(input)) < 0) { in srec_decode()
125 input += 2; in srec_decode()
134 if ((v = hex2_bin(input)) < 0) { in srec_decode()
139 input += 2; in srec_decode()
143 if ((v = hex2_bin(input)) < 0) { in srec_decode()