Lines Matching refs:wpr

41 		nvkm_robj(acr->wpr, offset, &hdr, sizeof(hdr));  in gp102_acr_wpr_patch()
48 nvkm_robj(acr->wpr, hdr.lsb_offset, &lsb, sizeof(lsb)); in gp102_acr_wpr_patch()
70 nvkm_wobj(acr->wpr, lsfw->offset.lsb, &hdr, sizeof(hdr)); in gp102_acr_wpr_build_lsb()
94 nvkm_wobj(acr->wpr, offset, &hdr, sizeof(hdr)); in gp102_acr_wpr_build()
103 nvkm_wobj(acr->wpr, lsfw->offset.img, in gp102_acr_wpr_build()
112 nvkm_wo32(acr->wpr, offset, WPR_HEADER_V1_FALCON_ID_INVALID); in gp102_acr_wpr_build()
121 &acr->wpr); in gp102_acr_wpr_alloc()
125 acr->shadow_start = nvkm_memory_addr(acr->wpr); in gp102_acr_wpr_alloc()
126 acr->wpr_start = acr->shadow_start + (nvkm_memory_size(acr->wpr) >> 1); in gp102_acr_wpr_alloc()
127 acr->wpr_end = acr->wpr_start + (nvkm_memory_size(acr->wpr) >> 1); in gp102_acr_wpr_alloc()
135 u32 wpr = 0; in gp102_acr_wpr_layout() local
137 wpr += 11 /* MAX_LSF */ * sizeof(struct wpr_header_v1); in gp102_acr_wpr_layout()
138 wpr = ALIGN(wpr, 256); in gp102_acr_wpr_layout()
140 wpr += 0x100; /* Shared sub-WPR headers. */ in gp102_acr_wpr_layout()
143 wpr = ALIGN(wpr, 256); in gp102_acr_wpr_layout()
144 lsfw->offset.lsb = wpr; in gp102_acr_wpr_layout()
145 wpr += sizeof(struct lsb_header_v1); in gp102_acr_wpr_layout()
147 wpr = ALIGN(wpr, 4096); in gp102_acr_wpr_layout()
148 lsfw->offset.img = wpr; in gp102_acr_wpr_layout()
149 wpr += lsfw->img.size; in gp102_acr_wpr_layout()
151 wpr = ALIGN(wpr, 256); in gp102_acr_wpr_layout()
152 lsfw->offset.bld = wpr; in gp102_acr_wpr_layout()
154 wpr += lsfw->bl_data_size; in gp102_acr_wpr_layout()
157 return wpr; in gp102_acr_wpr_layout()