Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/crypto/marvell/octeontx2/
Dotx2_cptpf_ucode.c365 struct otx2_cpt_uc_info_t *uc_info; in load_fw() local
369 uc_info = kzalloc(sizeof(*uc_info), GFP_KERNEL); in load_fw()
370 if (!uc_info) in load_fw()
373 ret = request_firmware(&uc_info->fw, filename, dev); in load_fw()
377 ucode_hdr = (struct otx2_cpt_ucode_hdr *)uc_info->fw->data; in load_fw()
389 set_ucode_filename(&uc_info->ucode, filename); in load_fw()
390 memcpy(uc_info->ucode.ver_str, ucode_hdr->ver_str, in load_fw()
392 uc_info->ucode.ver_num = ucode_hdr->ver_num; in load_fw()
393 uc_info->ucode.type = ucode_type; in load_fw()
394 uc_info->ucode.size = ucode_size; in load_fw()
[all …]