Searched refs:mof_hdr (Results 1 – 1 of 1) sorted by relevance
1816 static int qat_uclo_check_mof_format(struct icp_qat_mof_file_hdr *mof_hdr) in qat_uclo_check_mof_format() argument1818 int maj = mof_hdr->maj_ver & 0xff; in qat_uclo_check_mof_format()1819 int min = mof_hdr->min_ver & 0xff; in qat_uclo_check_mof_format()1821 if (mof_hdr->file_id != ICP_QAT_MOF_FID) { in qat_uclo_check_mof_format()1822 pr_err("QAT: invalid header 0x%x\n", mof_hdr->file_id); in qat_uclo_check_mof_format()1826 if (mof_hdr->num_chunks <= 0x1) { in qat_uclo_check_mof_format()