Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/crypto/qat/qat_common/
Dqat_uclo.c1378 struct icp_qat_css_hdr *css_hdr = (struct icp_qat_css_hdr *)image; in qat_uclo_check_image() local
1381 if ((css_hdr->header_len * css_dword_size) != header_len) in qat_uclo_check_image()
1383 if ((css_hdr->size * css_dword_size) != size) in qat_uclo_check_image()
1385 if (fw_type != css_hdr->fw_type) in qat_uclo_check_image()
1416 struct icp_qat_css_hdr *css_hdr = (struct icp_qat_css_hdr *)image; in qat_uclo_map_auth_fw() local
1428 length = (css_hdr->fw_type == CSS_AE_FIRMWARE) ? in qat_uclo_map_auth_fw()
1446 memcpy((void *)(uintptr_t)virt_addr, image, sizeof(*css_hdr)); in qat_uclo_map_auth_fw()
1449 sizeof(*css_hdr); in qat_uclo_map_auth_fw()
1450 virt_addr = virt_addr + sizeof(*css_hdr); in qat_uclo_map_auth_fw()
1456 (void *)(image + sizeof(*css_hdr)), in qat_uclo_map_auth_fw()
[all …]