Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/falcon/
Dfw.c212 const struct nvfw_hs_header *hshdr; in nvkm_falcon_fw_ctor_hs() local
223 hshdr = nvfw_hs_header(subdev, blob->data + hdr->header_offset); in nvkm_falcon_fw_ctor_hs()
236 loc = *(u32 *)(blob->data + hshdr->patch_loc); in nvkm_falcon_fw_ctor_hs()
237 sig = *(u32 *)(blob->data + hshdr->patch_sig); in nvkm_falcon_fw_ctor_hs()
240 loc = hshdr->patch_loc; in nvkm_falcon_fw_ctor_hs()
241 sig = hshdr->patch_sig; in nvkm_falcon_fw_ctor_hs()
249 ret = nvkm_falcon_fw_sign(fw, loc, hshdr->sig_prod_size, blob->data, in nvkm_falcon_fw_ctor_hs()
250 1, hshdr->sig_prod_offset + sig, in nvkm_falcon_fw_ctor_hs()
251 1, hshdr->sig_dbg_offset + sig); in nvkm_falcon_fw_ctor_hs()
255 lhdr = nvfw_hs_load_header(subdev, blob->data + hshdr->hdr_offset); in nvkm_falcon_fw_ctor_hs()
[all …]
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
Dlsfw.c220 const struct nvfw_ls_hsbl_hdr *hshdr; in nvkm_acr_lsfw_load_sig_image_desc_v2() local
228 hshdr = nvfw_ls_hsbl_hdr(subdev, hsbl->data + hdr->header_offset); in nvkm_acr_lsfw_load_sig_image_desc_v2()
229 meta = (u32 *)(hsbl->data + hshdr->meta_data_offset); in nvkm_acr_lsfw_load_sig_image_desc_v2()
230 loc = *(u32 *)(hsbl->data + hshdr->patch_loc); in nvkm_acr_lsfw_load_sig_image_desc_v2()
231 sig = *(u32 *)(hsbl->data + hshdr->patch_sig); in nvkm_acr_lsfw_load_sig_image_desc_v2()
232 cnt = *(u32 *)(hsbl->data + hshdr->num_sig); in nvkm_acr_lsfw_load_sig_image_desc_v2()
237 lsfw->sig_size = hshdr->sig_prod_size / cnt; in nvkm_acr_lsfw_load_sig_image_desc_v2()
239 lsfw->sigs = kmemdup(hsbl->data + hshdr->sig_prod_offset + sig, in nvkm_acr_lsfw_load_sig_image_desc_v2()