Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/
Dhs_ucode.c34 hs_ucode_patch_signature(const struct nvkm_falcon *falcon, void *acr_image, in hs_ucode_patch_signature() argument
37 struct fw_bin_header *hsbin_hdr = acr_image; in hs_ucode_patch_signature()
38 struct hsf_fw_header *fw_hdr = acr_image + hsbin_hdr->header_offset; in hs_ucode_patch_signature()
39 void *hs_data = acr_image + hsbin_hdr->data_offset; in hs_ucode_patch_signature()
53 patch_loc = *(u32 *)(acr_image + fw_hdr->patch_loc); in hs_ucode_patch_signature()
54 patch_sig = *(u32 *)(acr_image + fw_hdr->patch_sig); in hs_ucode_patch_signature()
59 sig = acr_image + fw_hdr->sig_dbg_offset; in hs_ucode_patch_signature()
62 sig = acr_image + fw_hdr->sig_prod_offset; in hs_ucode_patch_signature()
74 void *acr_image; in hs_ucode_load_blob() local
77 acr_image = nvkm_acr_load_firmware(subdev, fw, 0); in hs_ucode_load_blob()
[all …]
Dacr_r352.c656 void *acr_image; in acr_r352_prepare_hs_blob() local
663 acr_image = hs_ucode_load_blob(subdev, sb->boot_falcon, fw); in acr_r352_prepare_hs_blob()
664 if (IS_ERR(acr_image)) in acr_r352_prepare_hs_blob()
665 return PTR_ERR(acr_image); in acr_r352_prepare_hs_blob()
667 hsbin_hdr = acr_image; in acr_r352_prepare_hs_blob()
668 fw_hdr = acr_image + hsbin_hdr->header_offset; in acr_r352_prepare_hs_blob()
669 load_hdr = acr_image + fw_hdr->hdr_offset; in acr_r352_prepare_hs_blob()
670 acr_data = acr_image + hsbin_hdr->data_offset; in acr_r352_prepare_hs_blob()
700 kfree(acr_image); in acr_r352_prepare_hs_blob()