Lines Matching refs:fw_hdr
803 struct edgeport_fw_hdr *fw_hdr = (struct edgeport_fw_hdr *)fw->data; in build_i2c_fw_hdr() local
832 firmware_rec->Ver_Major = fw_hdr->major_version; in build_i2c_fw_hdr()
833 firmware_rec->Ver_Minor = fw_hdr->minor_version; in build_i2c_fw_hdr()
855 firmware_rec->Ver_Major = fw_hdr->major_version; in build_i2c_fw_hdr()
856 firmware_rec->Ver_Minor = fw_hdr->minor_version; in build_i2c_fw_hdr()
964 struct edgeport_fw_hdr *fw_hdr = (struct edgeport_fw_hdr *)fw->data; in check_fw_sanity() local
971 length_total = le16_to_cpu(fw_hdr->length) + in check_fw_sanity()
983 if (checksum != fw_hdr->checksum) { in check_fw_sanity()
985 fw_hdr->checksum, checksum); in check_fw_sanity()
1005 struct edgeport_fw_hdr *fw_hdr; in download_fw() local
1019 fw_hdr = (struct edgeport_fw_hdr *)fw->data; in download_fw()
1022 serial->fw_version = (fw_hdr->major_version << 8) + in download_fw()
1023 fw_hdr->minor_version; in download_fw()
1074 struct edgeport_fw_hdr *fw_hdr = (struct edgeport_fw_hdr *)fw->data; in do_download_mode() local
1152 download_new_ver = (fw_hdr->major_version << 8) + in do_download_mode()
1153 (fw_hdr->minor_version); in do_download_mode()
1158 fw_hdr->major_version, fw_hdr->minor_version); in do_download_mode()
1169 fw_hdr->major_version, in do_download_mode()
1170 fw_hdr->minor_version); in do_download_mode()
1383 struct edgeport_fw_hdr *fw_hdr = (struct edgeport_fw_hdr *)fw->data; in do_boot_mode() local
1479 fw_hdr->major_version, fw_hdr->minor_version); in do_boot_mode()