Lines Matching refs:fw_hdr
807 struct edgeport_fw_hdr *fw_hdr = (struct edgeport_fw_hdr *)fw->data; in build_i2c_fw_hdr() local
836 firmware_rec->Ver_Major = fw_hdr->major_version; in build_i2c_fw_hdr()
837 firmware_rec->Ver_Minor = fw_hdr->minor_version; in build_i2c_fw_hdr()
859 firmware_rec->Ver_Major = fw_hdr->major_version; in build_i2c_fw_hdr()
860 firmware_rec->Ver_Minor = fw_hdr->minor_version; in build_i2c_fw_hdr()
968 struct edgeport_fw_hdr *fw_hdr = (struct edgeport_fw_hdr *)fw->data; in check_fw_sanity() local
975 length_total = le16_to_cpu(fw_hdr->length) + in check_fw_sanity()
987 if (checksum != fw_hdr->checksum) { in check_fw_sanity()
989 fw_hdr->checksum, checksum); in check_fw_sanity()
1009 struct edgeport_fw_hdr *fw_hdr; in download_fw() local
1023 fw_hdr = (struct edgeport_fw_hdr *)fw->data; in download_fw()
1026 serial->fw_version = (fw_hdr->major_version << 8) + in download_fw()
1027 fw_hdr->minor_version; in download_fw()
1078 struct edgeport_fw_hdr *fw_hdr = (struct edgeport_fw_hdr *)fw->data; in do_download_mode() local
1156 download_new_ver = (fw_hdr->major_version << 8) + in do_download_mode()
1157 (fw_hdr->minor_version); in do_download_mode()
1162 fw_hdr->major_version, fw_hdr->minor_version); in do_download_mode()
1173 fw_hdr->major_version, in do_download_mode()
1174 fw_hdr->minor_version); in do_download_mode()
1387 struct edgeport_fw_hdr *fw_hdr = (struct edgeport_fw_hdr *)fw->data; in do_boot_mode() local
1483 fw_hdr->major_version, fw_hdr->minor_version); in do_boot_mode()