Lines Matching refs:hdr
28 const struct nvfw_hs_header *hdr = data; in nvfw_hs_header() local
30 nvkm_debug(subdev, "\tsigDbgOffset : 0x%x\n", hdr->sig_dbg_offset); in nvfw_hs_header()
31 nvkm_debug(subdev, "\tsigDbgSize : 0x%x\n", hdr->sig_dbg_size); in nvfw_hs_header()
32 nvkm_debug(subdev, "\tsigProdOffset : 0x%x\n", hdr->sig_prod_offset); in nvfw_hs_header()
33 nvkm_debug(subdev, "\tsigProdSize : 0x%x\n", hdr->sig_prod_size); in nvfw_hs_header()
34 nvkm_debug(subdev, "\tpatchLoc : 0x%x\n", hdr->patch_loc); in nvfw_hs_header()
35 nvkm_debug(subdev, "\tpatchSig : 0x%x\n", hdr->patch_sig); in nvfw_hs_header()
36 nvkm_debug(subdev, "\thdrOffset : 0x%x\n", hdr->hdr_offset); in nvfw_hs_header()
37 nvkm_debug(subdev, "\thdrSize : 0x%x\n", hdr->hdr_size); in nvfw_hs_header()
38 return hdr; in nvfw_hs_header()
44 const struct nvfw_hs_header_v2 *hdr = data; in nvfw_hs_header_v2() local
47 nvkm_debug(subdev, "\tsigProdOffset : 0x%x\n", hdr->sig_prod_offset); in nvfw_hs_header_v2()
48 nvkm_debug(subdev, "\tsigProdSize : 0x%x\n", hdr->sig_prod_size); in nvfw_hs_header_v2()
49 nvkm_debug(subdev, "\tpatchLoc : 0x%x\n", hdr->patch_loc); in nvfw_hs_header_v2()
50 nvkm_debug(subdev, "\tpatchSig : 0x%x\n", hdr->patch_sig); in nvfw_hs_header_v2()
51 nvkm_debug(subdev, "\tmetadataOffset : 0x%x\n", hdr->meta_data_offset); in nvfw_hs_header_v2()
52 nvkm_debug(subdev, "\tmetadataSize : 0x%x\n", hdr->meta_data_size); in nvfw_hs_header_v2()
53 nvkm_debug(subdev, "\tnumSig : 0x%x\n", hdr->num_sig); in nvfw_hs_header_v2()
54 nvkm_debug(subdev, "\theaderOffset : 0x%x\n", hdr->header_offset); in nvfw_hs_header_v2()
55 nvkm_debug(subdev, "\theaderSize : 0x%x\n", hdr->header_size); in nvfw_hs_header_v2()
56 return hdr; in nvfw_hs_header_v2()
62 const struct nvfw_hs_load_header *hdr = data; in nvfw_hs_load_header() local
67 hdr->non_sec_code_off); in nvfw_hs_load_header()
69 hdr->non_sec_code_size); in nvfw_hs_load_header()
70 nvkm_debug(subdev, "\tdataDmaBase : 0x%x\n", hdr->data_dma_base); in nvfw_hs_load_header()
71 nvkm_debug(subdev, "\tdataSize : 0x%x\n", hdr->data_size); in nvfw_hs_load_header()
72 nvkm_debug(subdev, "\tnumApps : 0x%x\n", hdr->num_apps); in nvfw_hs_load_header()
73 for (i = 0; i < hdr->num_apps; i++) { in nvfw_hs_load_header()
76 hdr->apps[(i * 2) + 0], hdr->apps[(i * 2) + 1]); in nvfw_hs_load_header()
79 return hdr; in nvfw_hs_load_header()
85 const struct nvfw_hs_load_header_v2 *hdr = data; in nvfw_hs_load_header_v2() local
89 nvkm_debug(subdev, "\tosCodeOffset : 0x%x\n", hdr->os_code_offset); in nvfw_hs_load_header_v2()
90 nvkm_debug(subdev, "\tosCodeSize : 0x%x\n", hdr->os_code_size); in nvfw_hs_load_header_v2()
91 nvkm_debug(subdev, "\tosDataOffset : 0x%x\n", hdr->os_data_offset); in nvfw_hs_load_header_v2()
92 nvkm_debug(subdev, "\tosDataSize : 0x%x\n", hdr->os_data_size); in nvfw_hs_load_header_v2()
93 nvkm_debug(subdev, "\tnumApps : 0x%x\n", hdr->num_apps); in nvfw_hs_load_header_v2()
94 for (i = 0; i < hdr->num_apps; i++) { in nvfw_hs_load_header_v2()
97 hdr->app[i].offset, hdr->app[i].size); in nvfw_hs_load_header_v2()
100 return hdr; in nvfw_hs_load_header_v2()