if_txp.c | 438 const struct txp_fw_file_header *fileheader; local in function:txp_download_fw 463 fileheader = (const struct txp_fw_file_header *)tc990image; 464 if (memcmp("TYPHOON", fileheader->magicid, 465 sizeof(fileheader->magicid))) { 471 WRITE_REG(sc, TXP_H2A_1, le32toh(fileheader->addr)); 472 WRITE_REG(sc, TXP_H2A_2, le32toh(fileheader->hmac[0])); 473 WRITE_REG(sc, TXP_H2A_3, le32toh(fileheader->hmac[1])); 474 WRITE_REG(sc, TXP_H2A_4, le32toh(fileheader->hmac[2])); 475 WRITE_REG(sc, TXP_H2A_5, le32toh(fileheader->hmac[3])); 476 WRITE_REG(sc, TXP_H2A_6, le32toh(fileheader->hmac[4])) [all...] |