Lines Matching full:record
64 const struct ihex_binrec *record; in ezusb_ihex_firmware_download() local
78 record = (const struct ihex_binrec *)firmware->data; in ezusb_ihex_firmware_download()
79 for (; record; record = ihex_next_binrec(record)) { in ezusb_ihex_firmware_download()
80 if (be32_to_cpu(record->addr) > fx.max_internal_adress) { in ezusb_ihex_firmware_download()
81 ret = ezusb_writememory(dev, be32_to_cpu(record->addr), in ezusb_ihex_firmware_download()
82 (unsigned char *)record->data, in ezusb_ihex_firmware_download()
83 be16_to_cpu(record->len), WRITE_EXT_RAM); in ezusb_ihex_firmware_download()
88 be32_to_cpu(record->addr), record->data, in ezusb_ihex_firmware_download()
89 be16_to_cpu(record->len)); in ezusb_ihex_firmware_download()
98 record = (const struct ihex_binrec *)firmware->data; in ezusb_ihex_firmware_download()
99 for (; record; record = ihex_next_binrec(record)) { in ezusb_ihex_firmware_download()
100 if (be32_to_cpu(record->addr) <= fx.max_internal_adress) { in ezusb_ihex_firmware_download()
101 ret = ezusb_writememory(dev, be32_to_cpu(record->addr), in ezusb_ihex_firmware_download()
102 (unsigned char *)record->data, in ezusb_ihex_firmware_download()
103 be16_to_cpu(record->len), WRITE_INT_RAM); in ezusb_ihex_firmware_download()
108 be32_to_cpu(record->addr), record->data, in ezusb_ihex_firmware_download()
109 be16_to_cpu(record->len)); in ezusb_ihex_firmware_download()