Lines Matching full:hdr

26 wpr_header_dump(struct nvkm_subdev *subdev, const struct wpr_header *hdr)  in wpr_header_dump()  argument
29 nvkm_debug(subdev, "\tfalconID : %d\n", hdr->falcon_id); in wpr_header_dump()
30 nvkm_debug(subdev, "\tlsbOffset : 0x%x\n", hdr->lsb_offset); in wpr_header_dump()
31 nvkm_debug(subdev, "\tbootstrapOwner: %d\n", hdr->bootstrap_owner); in wpr_header_dump()
32 nvkm_debug(subdev, "\tlazyBootstrap : %d\n", hdr->lazy_bootstrap); in wpr_header_dump()
33 nvkm_debug(subdev, "\tstatus : %d\n", hdr->status); in wpr_header_dump()
37 wpr_header_v1_dump(struct nvkm_subdev *subdev, const struct wpr_header_v1 *hdr) in wpr_header_v1_dump() argument
40 nvkm_debug(subdev, "\tfalconID : %d\n", hdr->falcon_id); in wpr_header_v1_dump()
41 nvkm_debug(subdev, "\tlsbOffset : 0x%x\n", hdr->lsb_offset); in wpr_header_v1_dump()
42 nvkm_debug(subdev, "\tbootstrapOwner: %d\n", hdr->bootstrap_owner); in wpr_header_v1_dump()
43 nvkm_debug(subdev, "\tlazyBootstrap : %d\n", hdr->lazy_bootstrap); in wpr_header_v1_dump()
44 nvkm_debug(subdev, "\tbinVersion : %d\n", hdr->bin_version); in wpr_header_v1_dump()
45 nvkm_debug(subdev, "\tstatus : %d\n", hdr->status); in wpr_header_v1_dump()
49 wpr_generic_header_dump(struct nvkm_subdev *subdev, const struct wpr_generic_header *hdr) in wpr_generic_header_dump() argument
52 nvkm_debug(subdev, "\tidentifier : %04x\n", hdr->identifier); in wpr_generic_header_dump()
53 nvkm_debug(subdev, "\tversion : %04x\n", hdr->version); in wpr_generic_header_dump()
54 nvkm_debug(subdev, "\tsize : %08x\n", hdr->size); in wpr_generic_header_dump()
58 wpr_header_v2_dump(struct nvkm_subdev *subdev, const struct wpr_header_v2 *hdr) in wpr_header_v2_dump() argument
60 wpr_generic_header_dump(subdev, &hdr->hdr); in wpr_header_v2_dump()
61 wpr_header_v1_dump(subdev, &hdr->wpr); in wpr_header_v2_dump()
65 lsb_header_v2_dump(struct nvkm_subdev *subdev, struct lsb_header_v2 *hdr) in lsb_header_v2_dump() argument
67 wpr_generic_header_dump(subdev, &hdr->hdr); in lsb_header_v2_dump()
69 nvkm_debug(subdev, "\tucodeOff : 0x%x\n", hdr->ucode_off); in lsb_header_v2_dump()
70 nvkm_debug(subdev, "\tucodeSize : 0x%x\n", hdr->ucode_size); in lsb_header_v2_dump()
71 nvkm_debug(subdev, "\tdataSize : 0x%x\n", hdr->data_size); in lsb_header_v2_dump()
72 nvkm_debug(subdev, "\tblCodeSize : 0x%x\n", hdr->bl_code_size); in lsb_header_v2_dump()
73 nvkm_debug(subdev, "\tblImemOff : 0x%x\n", hdr->bl_imem_off); in lsb_header_v2_dump()
74 nvkm_debug(subdev, "\tblDataOff : 0x%x\n", hdr->bl_data_off); in lsb_header_v2_dump()
75 nvkm_debug(subdev, "\tblDataSize : 0x%x\n", hdr->bl_data_size); in lsb_header_v2_dump()
76 nvkm_debug(subdev, "\treserved0 : %08x\n", hdr->rsvd0); in lsb_header_v2_dump()
77 nvkm_debug(subdev, "\tappCodeOff : 0x%x\n", hdr->app_code_off); in lsb_header_v2_dump()
78 nvkm_debug(subdev, "\tappCodeSize : 0x%x\n", hdr->app_code_size); in lsb_header_v2_dump()
79 nvkm_debug(subdev, "\tappDataOff : 0x%x\n", hdr->app_data_off); in lsb_header_v2_dump()
80 nvkm_debug(subdev, "\tappDataSize : 0x%x\n", hdr->app_data_size); in lsb_header_v2_dump()
81 nvkm_debug(subdev, "\tappImemOffset : 0x%x\n", hdr->app_imem_offset); in lsb_header_v2_dump()
82 nvkm_debug(subdev, "\tappDmemOffset : 0x%x\n", hdr->app_dmem_offset); in lsb_header_v2_dump()
83 nvkm_debug(subdev, "\tflags : 0x%x\n", hdr->flags); in lsb_header_v2_dump()
84 nvkm_debug(subdev, "\tmonitorCodeOff: 0x%x\n", hdr->monitor_code_offset); in lsb_header_v2_dump()
85 nvkm_debug(subdev, "\tmonitorDataOff: 0x%x\n", hdr->monitor_data_offset); in lsb_header_v2_dump()
86 nvkm_debug(subdev, "\tmanifestOffset: 0x%x\n", hdr->manifest_offset); in lsb_header_v2_dump()
90 lsb_header_tail_dump(struct nvkm_subdev *subdev, struct lsb_header_tail *hdr) in lsb_header_tail_dump() argument
93 nvkm_debug(subdev, "\tucodeOff : 0x%x\n", hdr->ucode_off); in lsb_header_tail_dump()
94 nvkm_debug(subdev, "\tucodeSize : 0x%x\n", hdr->ucode_size); in lsb_header_tail_dump()
95 nvkm_debug(subdev, "\tdataSize : 0x%x\n", hdr->data_size); in lsb_header_tail_dump()
96 nvkm_debug(subdev, "\tblCodeSize : 0x%x\n", hdr->bl_code_size); in lsb_header_tail_dump()
97 nvkm_debug(subdev, "\tblImemOff : 0x%x\n", hdr->bl_imem_off); in lsb_header_tail_dump()
98 nvkm_debug(subdev, "\tblDataOff : 0x%x\n", hdr->bl_data_off); in lsb_header_tail_dump()
99 nvkm_debug(subdev, "\tblDataSize : 0x%x\n", hdr->bl_data_size); in lsb_header_tail_dump()
100 nvkm_debug(subdev, "\tappCodeOff : 0x%x\n", hdr->app_code_off); in lsb_header_tail_dump()
101 nvkm_debug(subdev, "\tappCodeSize : 0x%x\n", hdr->app_code_size); in lsb_header_tail_dump()
102 nvkm_debug(subdev, "\tappDataOff : 0x%x\n", hdr->app_data_off); in lsb_header_tail_dump()
103 nvkm_debug(subdev, "\tappDataSize : 0x%x\n", hdr->app_data_size); in lsb_header_tail_dump()
104 nvkm_debug(subdev, "\tflags : 0x%x\n", hdr->flags); in lsb_header_tail_dump()
108 lsb_header_dump(struct nvkm_subdev *subdev, struct lsb_header *hdr) in lsb_header_dump() argument
110 lsb_header_tail_dump(subdev, &hdr->tail); in lsb_header_dump()
114 lsb_header_v1_dump(struct nvkm_subdev *subdev, struct lsb_header_v1 *hdr) in lsb_header_v1_dump() argument
116 lsb_header_tail_dump(subdev, &hdr->tail); in lsb_header_v1_dump()
120 flcn_acr_desc_dump(struct nvkm_subdev *subdev, struct flcn_acr_desc *hdr) in flcn_acr_desc_dump() argument
125 nvkm_debug(subdev, "\twprRegionId : %d\n", hdr->wpr_region_id); in flcn_acr_desc_dump()
126 nvkm_debug(subdev, "\twprOffset : 0x%x\n", hdr->wpr_offset); in flcn_acr_desc_dump()
128 hdr->mmu_mem_range); in flcn_acr_desc_dump()
130 hdr->regions.no_regions); in flcn_acr_desc_dump()
132 for (i = 0; i < ARRAY_SIZE(hdr->regions.region_props); i++) { in flcn_acr_desc_dump()
135 hdr->regions.region_props[i].start_addr); in flcn_acr_desc_dump()
137 hdr->regions.region_props[i].end_addr); in flcn_acr_desc_dump()
139 hdr->regions.region_props[i].region_id); in flcn_acr_desc_dump()
141 hdr->regions.region_props[i].read_mask); in flcn_acr_desc_dump()
143 hdr->regions.region_props[i].write_mask); in flcn_acr_desc_dump()
145 hdr->regions.region_props[i].client_mask); in flcn_acr_desc_dump()
149 hdr->ucode_blob_size); in flcn_acr_desc_dump()
151 hdr->ucode_blob_base); in flcn_acr_desc_dump()
153 hdr->vpr_desc.vpr_enabled); in flcn_acr_desc_dump()
155 hdr->vpr_desc.vpr_start); in flcn_acr_desc_dump()
157 hdr->vpr_desc.vpr_end); in flcn_acr_desc_dump()
159 hdr->vpr_desc.hdcp_policies); in flcn_acr_desc_dump()
163 flcn_acr_desc_v1_dump(struct nvkm_subdev *subdev, struct flcn_acr_desc_v1 *hdr) in flcn_acr_desc_v1_dump() argument
168 nvkm_debug(subdev, "\twprRegionId : %d\n", hdr->wpr_region_id); in flcn_acr_desc_v1_dump()
169 nvkm_debug(subdev, "\twprOffset : 0x%x\n", hdr->wpr_offset); in flcn_acr_desc_v1_dump()
171 hdr->mmu_memory_range); in flcn_acr_desc_v1_dump()
173 hdr->regions.no_regions); in flcn_acr_desc_v1_dump()
175 for (i = 0; i < ARRAY_SIZE(hdr->regions.region_props); i++) { in flcn_acr_desc_v1_dump()
178 hdr->regions.region_props[i].start_addr); in flcn_acr_desc_v1_dump()
180 hdr->regions.region_props[i].end_addr); in flcn_acr_desc_v1_dump()
182 hdr->regions.region_props[i].region_id); in flcn_acr_desc_v1_dump()
184 hdr->regions.region_props[i].read_mask); in flcn_acr_desc_v1_dump()
186 hdr->regions.region_props[i].write_mask); in flcn_acr_desc_v1_dump()
188 hdr->regions.region_props[i].client_mask); in flcn_acr_desc_v1_dump()
190 hdr->regions.region_props[i].shadow_mem_start_addr); in flcn_acr_desc_v1_dump()
194 hdr->ucode_blob_size); in flcn_acr_desc_v1_dump()
196 hdr->ucode_blob_base); in flcn_acr_desc_v1_dump()
198 hdr->vpr_desc.vpr_enabled); in flcn_acr_desc_v1_dump()
200 hdr->vpr_desc.vpr_start); in flcn_acr_desc_v1_dump()
202 hdr->vpr_desc.vpr_end); in flcn_acr_desc_v1_dump()
204 hdr->vpr_desc.hdcp_policies); in flcn_acr_desc_v1_dump()