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()
160 nvkm_instmem_fini(struct nvkm_subdev *subdev, bool suspend) in nvkm_instmem_fini() argument
165 if (suspend) { in nvkm_instmem_fini()
194 if (iobj->suspend) in nvkm_instmem_init()
201 if (iobj->suspend) in nvkm_instmem_init()