Lines Matching defs:rec
31 __ihex_next_binrec(const struct ihex_binrec *rec)
33 const void *p = rec;
35 return p + ALIGN(ihex_binrec_size(rec), 4);
39 ihex_next_binrec(const struct ihex_binrec *rec)
41 rec = __ihex_next_binrec(rec);
43 return be16_to_cpu(rec->len) ? rec : NULL;
49 const struct ihex_binrec *end, *rec;
51 rec = (const void *)fw->data;
54 for (; rec <= end; rec = __ihex_next_binrec(rec)) {
56 if (rec == end && !be16_to_cpu(rec->len))