Searched refs:hshdr (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/gpu/drm/nouveau/nvkm/falcon/ |
H A D | fw.c | 219 const struct nvfw_hs_header *hshdr; in nvkm_falcon_fw_ctor_hs() local 230 hshdr = nvfw_hs_header(subdev, blob->data + hdr->header_offset); in nvkm_falcon_fw_ctor_hs() 243 loc = *(u32 *)(blob->data + hshdr->patch_loc); in nvkm_falcon_fw_ctor_hs() 244 sig = *(u32 *)(blob->data + hshdr->patch_sig); in nvkm_falcon_fw_ctor_hs() 247 loc = hshdr->patch_loc; in nvkm_falcon_fw_ctor_hs() 248 sig = hshdr->patch_sig; in nvkm_falcon_fw_ctor_hs() 256 ret = nvkm_falcon_fw_sign(fw, loc, hshdr->sig_prod_size, blob->data, in nvkm_falcon_fw_ctor_hs() 257 1, hshdr->sig_prod_offset + sig, in nvkm_falcon_fw_ctor_hs() 258 1, hshdr->sig_dbg_offset + sig); in nvkm_falcon_fw_ctor_hs() 262 lhdr = nvfw_hs_load_header(subdev, blob->data + hshdr->hdr_offset); in nvkm_falcon_fw_ctor_hs() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ |
H A D | ga102.c | 48 const struct nvfw_hs_header_v2 *hshdr; in ga102_gsp_booter_ctor() local 54 hshdr = nvfw_hs_header_v2(subdev, blob->data + hdr->header_offset); in ga102_gsp_booter_ctor() 55 meta = (u32 *)(blob->data + hshdr->meta_data_offset); in ga102_gsp_booter_ctor() 56 loc = *(u32 *)(blob->data + hshdr->patch_loc); in ga102_gsp_booter_ctor() 57 sig = *(u32 *)(blob->data + hshdr->patch_sig); in ga102_gsp_booter_ctor() 58 cnt = *(u32 *)(blob->data + hshdr->num_sig); in ga102_gsp_booter_ctor() 65 ret = nvkm_falcon_fw_sign(fw, loc, hshdr->sig_prod_size / cnt, blob->data, in ga102_gsp_booter_ctor() 66 cnt, hshdr->sig_prod_offset + sig, 0, 0); in ga102_gsp_booter_ctor() 70 lhdr = nvfw_hs_load_header_v2(subdev, blob->data + hshdr->header_offset); in ga102_gsp_booter_ctor()
|
H A D | tu102.c | 37 const struct nvfw_hs_header_v2 *hshdr; in tu102_gsp_booter_ctor() local 43 hshdr = nvfw_hs_header_v2(subdev, blob->data + hdr->header_offset); in tu102_gsp_booter_ctor() 44 loc = *(u32 *)(blob->data + hshdr->patch_loc); in tu102_gsp_booter_ctor() 45 sig = *(u32 *)(blob->data + hshdr->patch_sig); in tu102_gsp_booter_ctor() 46 cnt = *(u32 *)(blob->data + hshdr->num_sig); in tu102_gsp_booter_ctor() 53 ret = nvkm_falcon_fw_sign(fw, loc, hshdr->sig_prod_size / cnt, blob->data, in tu102_gsp_booter_ctor() 54 cnt, hshdr->sig_prod_offset + sig, 0, 0); in tu102_gsp_booter_ctor() 58 lhdr = nvfw_hs_load_header_v2(subdev, blob->data + hshdr->header_offset); in tu102_gsp_booter_ctor()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/acr/ |
H A D | lsfw.c | 220 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 sig = *(u32 *)(hsbl->data + hshdr->patch_sig); in nvkm_acr_lsfw_load_sig_image_desc_v2() 231 cnt = *(u32 *)(hsbl->data + hshdr->num_sig); in nvkm_acr_lsfw_load_sig_image_desc_v2() 236 lsfw->sig_size = hshdr->sig_prod_size / cnt; in nvkm_acr_lsfw_load_sig_image_desc_v2() 238 lsfw->sigs = kmemdup(hsbl->data + hshdr->sig_prod_offset + sig, in nvkm_acr_lsfw_load_sig_image_desc_v2()
|