Lines Matching defs:txt_offset
56 unsigned int txt_offset; /* current position in txt_data */
89 while (record->txt_offset < record->txt_length
90 && record->txt_data[record->txt_offset] != ':')
91 record->txt_offset++;
92 if (record->txt_offset == record->txt_length)
96 record->txt_offset++;
97 if (record->txt_offset + 8 > record->txt_length) {
103 record->txt_offset, &crc);
104 record->txt_offset += 2;
106 record->txt_offset, &crc) << 8;
107 record->txt_offset += 2;
109 record->txt_offset, &crc);
110 record->txt_offset += 2;
112 record->txt_offset, &crc);
113 record->txt_offset += 2;
116 if (record->txt_offset + 2 * (record->len + 1) > record->txt_length) {
122 + record->txt_offset, &crc);
123 record->txt_offset += 2;
125 usb6fire_fw_ihex_hex(record->txt_data + record->txt_offset, &crc);
146 record->txt_offset = 0;
154 record->txt_offset = 0;