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