Lines Matching refs:txt_offset
60 unsigned int txt_offset; /* current position in txt_data */ member
93 while (record->txt_offset < record->txt_length in usb6fire_fw_ihex_next_record()
94 && record->txt_data[record->txt_offset] != ':') in usb6fire_fw_ihex_next_record()
95 record->txt_offset++; in usb6fire_fw_ihex_next_record()
96 if (record->txt_offset == record->txt_length) in usb6fire_fw_ihex_next_record()
100 record->txt_offset++; in usb6fire_fw_ihex_next_record()
101 if (record->txt_offset + 8 > record->txt_length) { in usb6fire_fw_ihex_next_record()
107 record->txt_offset, &crc); in usb6fire_fw_ihex_next_record()
108 record->txt_offset += 2; in usb6fire_fw_ihex_next_record()
110 record->txt_offset, &crc) << 8; in usb6fire_fw_ihex_next_record()
111 record->txt_offset += 2; in usb6fire_fw_ihex_next_record()
113 record->txt_offset, &crc); in usb6fire_fw_ihex_next_record()
114 record->txt_offset += 2; in usb6fire_fw_ihex_next_record()
116 record->txt_offset, &crc); in usb6fire_fw_ihex_next_record()
117 record->txt_offset += 2; in usb6fire_fw_ihex_next_record()
120 if (record->txt_offset + 2 * (record->len + 1) > record->txt_length) { in usb6fire_fw_ihex_next_record()
126 + record->txt_offset, &crc); in usb6fire_fw_ihex_next_record()
127 record->txt_offset += 2; in usb6fire_fw_ihex_next_record()
129 usb6fire_fw_ihex_hex(record->txt_data + record->txt_offset, &crc); in usb6fire_fw_ihex_next_record()
150 record->txt_offset = 0; in usb6fire_fw_ihex_init()
158 record->txt_offset = 0; in usb6fire_fw_ihex_init()