Lines Matching refs:fileheader
438 const struct txp_fw_file_header *fileheader; in txp_download_fw() local
463 fileheader = (const struct txp_fw_file_header *)tc990image; in txp_download_fw()
464 if (memcmp("TYPHOON", fileheader->magicid, in txp_download_fw()
465 sizeof(fileheader->magicid))) { in txp_download_fw()
471 WRITE_REG(sc, TXP_H2A_1, le32toh(fileheader->addr)); in txp_download_fw()
472 WRITE_REG(sc, TXP_H2A_2, le32toh(fileheader->hmac[0])); in txp_download_fw()
473 WRITE_REG(sc, TXP_H2A_3, le32toh(fileheader->hmac[1])); in txp_download_fw()
474 WRITE_REG(sc, TXP_H2A_4, le32toh(fileheader->hmac[2])); in txp_download_fw()
475 WRITE_REG(sc, TXP_H2A_5, le32toh(fileheader->hmac[3])); in txp_download_fw()
476 WRITE_REG(sc, TXP_H2A_6, le32toh(fileheader->hmac[4])); in txp_download_fw()
489 for (sect = 0; sect < le32toh(fileheader->nsections); sect++) { in txp_download_fw()