Home
last modified time | relevance | path

Searched refs:suof_hdr (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_uclo.c99 static int qat_uclo_check_suof_format(struct icp_qat_suof_filehdr *suof_hdr) in qat_uclo_check_suof_format() argument
101 int maj = suof_hdr->maj_ver & 0xff; in qat_uclo_check_suof_format()
102 int min = suof_hdr->min_ver & 0xff; in qat_uclo_check_suof_format()
104 if (suof_hdr->file_id != ICP_QAT_SUOF_FID) { in qat_uclo_check_suof_format()
105 pr_err("QAT: invalid header 0x%x\n", suof_hdr->file_id); in qat_uclo_check_suof_format()
108 if (suof_hdr->fw_type != 0) { in qat_uclo_check_suof_format()
112 if (suof_hdr->num_chunks <= 0x1) { in qat_uclo_check_suof_format()