Lines Matching defs:hdr

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