Lines Matching refs:imem
210 r535_instmem_resume(struct nvkm_instmem *imem) in r535_instmem_resume() argument
213 if (imem->rm.fbsr_valid) { in r535_instmem_resume()
214 nvkm_gsp_sg_free(imem->subdev.device, &imem->rm.fbsr); in r535_instmem_resume()
215 imem->rm.fbsr_valid = false; in r535_instmem_resume()
220 r535_instmem_suspend(struct nvkm_instmem *imem) in r535_instmem_suspend() argument
222 struct nvkm_subdev *subdev = &imem->subdev; in r535_instmem_suspend()
235 list_for_each_entry(iobj, &imem->list, head) { in r535_instmem_suspend()
242 list_for_each_entry(iobj, &imem->boot, head) { in r535_instmem_suspend()
265 ret = nvkm_gsp_sg(gsp->subdev.device, fbsr.size, &imem->rm.fbsr); in r535_instmem_suspend()
274 ret = fbsr_init(&fbsr, &imem->rm.fbsr, items_size); in r535_instmem_suspend()
285 imem->rm.fbsr_valid = true; in r535_instmem_suspend()
290 nvkm_gsp_sg_free(device, &imem->rm.fbsr); in r535_instmem_suspend()
303 r535_instmem_dtor(struct nvkm_instmem *imem) in r535_instmem_dtor() argument
305 kfree(imem->func); in r535_instmem_dtor()
306 return imem; in r535_instmem_dtor()