Lines Matching refs:suspend
41 nvkm_wo32(memory, i, iobj->suspend[i / 4]); in nvkm_instobj_load()
43 memcpy_toio(map, iobj->suspend, size); in nvkm_instobj_load()
47 kvfree(iobj->suspend); in nvkm_instobj_load()
48 iobj->suspend = NULL; in nvkm_instobj_load()
59 iobj->suspend = kvmalloc(size, GFP_KERNEL); in nvkm_instobj_save()
60 if (!iobj->suspend) in nvkm_instobj_save()
65 iobj->suspend[i / 4] = nvkm_ro32(memory, i); in nvkm_instobj_save()
67 memcpy_fromio(iobj->suspend, map, size); in nvkm_instobj_save()
86 iobj->suspend = NULL; in nvkm_instobj_ctor()
179 nvkm_instmem_fini(struct nvkm_subdev *subdev, bool suspend) in nvkm_instmem_fini() argument
184 if (suspend) { in nvkm_instmem_fini()
185 ret = imem->func->suspend(imem); in nvkm_instmem_fini()
189 imem->suspend = true; in nvkm_instmem_fini()
203 if (imem->suspend) { in nvkm_instmem_init()
207 imem->suspend = false; in nvkm_instmem_init()