Lines Matching refs:hdr
27 const struct nvfw_ls_desc_head *hdr) in nvfw_ls_desc_head() argument
33 hdr->descriptor_size); in nvfw_ls_desc_head()
34 nvkm_debug(subdev, "\timageSize : %d\n", hdr->image_size); in nvfw_ls_desc_head()
36 hdr->tools_version); in nvfw_ls_desc_head()
37 nvkm_debug(subdev, "\tappVersion : 0x%x\n", hdr->app_version); in nvfw_ls_desc_head()
39 date = kstrndup(hdr->date, sizeof(hdr->date), GFP_KERNEL); in nvfw_ls_desc_head()
44 hdr->bootloader_start_offset); in nvfw_ls_desc_head()
46 hdr->bootloader_size); in nvfw_ls_desc_head()
48 hdr->bootloader_imem_offset); in nvfw_ls_desc_head()
50 hdr->bootloader_entry_point); in nvfw_ls_desc_head()
53 hdr->app_start_offset); in nvfw_ls_desc_head()
54 nvkm_debug(subdev, "\tappSize : 0x%x\n", hdr->app_size); in nvfw_ls_desc_head()
56 hdr->app_imem_offset); in nvfw_ls_desc_head()
58 hdr->app_imem_entry); in nvfw_ls_desc_head()
60 hdr->app_dmem_offset); in nvfw_ls_desc_head()
62 hdr->app_resident_code_offset); in nvfw_ls_desc_head()
64 hdr->app_resident_code_size); in nvfw_ls_desc_head()
66 hdr->app_resident_data_offset); in nvfw_ls_desc_head()
68 hdr->app_resident_data_size); in nvfw_ls_desc_head()
74 const struct nvfw_ls_desc *hdr = data; in nvfw_ls_desc() local
77 nvfw_ls_desc_head(subdev, &hdr->head); in nvfw_ls_desc()
79 nvkm_debug(subdev, "\tnbOverlays : %d\n", hdr->nb_overlays); in nvfw_ls_desc()
80 for (i = 0; i < ARRAY_SIZE(hdr->load_ovl); i++) { in nvfw_ls_desc()
82 hdr->load_ovl[i].start, hdr->load_ovl[i].size); in nvfw_ls_desc()
84 nvkm_debug(subdev, "\tcompressed : %d\n", hdr->compressed); in nvfw_ls_desc()
86 return hdr; in nvfw_ls_desc()
92 const struct nvfw_ls_desc_v1 *hdr = data; in nvfw_ls_desc_v1() local
95 nvfw_ls_desc_head(subdev, &hdr->head); in nvfw_ls_desc_v1()
98 hdr->nb_imem_overlays); in nvfw_ls_desc_v1()
100 hdr->nb_imem_overlays); in nvfw_ls_desc_v1()
101 for (i = 0; i < ARRAY_SIZE(hdr->load_ovl); i++) { in nvfw_ls_desc_v1()
103 hdr->load_ovl[i].start, hdr->load_ovl[i].size); in nvfw_ls_desc_v1()
105 nvkm_debug(subdev, "\tcompressed : %d\n", hdr->compressed); in nvfw_ls_desc_v1()
107 return hdr; in nvfw_ls_desc_v1()