Searched refs:iobj (Results 1 – 5 of 5) sorted by relevance
173 iobj->bar = bar; in nv50_instobj_kmap()176 if (!iobj->map) { in nv50_instobj_kmap()204 if (likely(iobj->lru.next) && iobj->map) { in nv50_instobj_release()227 return iobj->map; in nv50_instobj_acquire()236 return iobj->map; in nv50_instobj_acquire()241 if (!iobj->map) in nv50_instobj_acquire()243 map = iobj->map; in nv50_instobj_acquire()326 map = iobj->map; in nv50_instobj_dtor()327 bar = iobj->bar; in nv50_instobj_dtor()339 return iobj; in nv50_instobj_dtor()[all …]
47 kvfree(iobj->suspend); in nvkm_instobj_load()48 iobj->suspend = NULL; in nvkm_instobj_load()60 if (!iobj->suspend) in nvkm_instobj_save()77 list_del(&iobj->head); in nvkm_instobj_dtor()86 iobj->suspend = NULL; in nvkm_instobj_ctor()175 struct nvkm_instobj *iobj; in nvkm_instmem_fini() local203 struct nvkm_instobj *iobj; in nvkm_instmem_init() local206 if (iobj->suspend) in nvkm_instmem_init()207 nvkm_instobj_load(iobj); in nvkm_instmem_init()213 if (iobj->suspend) in nvkm_instmem_init()[all …]
48 struct nv04_instobj *iobj = nv04_instobj(memory); in nv04_instobj_wr32() local102 mutex_lock(&iobj->imem->base.mutex); in nv04_instobj_dtor()103 nvkm_mm_free(&iobj->imem->heap, &iobj->node); in nv04_instobj_dtor()104 mutex_unlock(&iobj->imem->base.mutex); in nv04_instobj_dtor()105 nvkm_instobj_dtor(&iobj->imem->base, &iobj->base); in nv04_instobj_dtor()106 return iobj; in nv04_instobj_dtor()124 struct nv04_instobj *iobj; in nv04_instobj_new() local127 if (!(iobj = kzalloc(sizeof(*iobj), GFP_KERNEL))) in nv04_instobj_new()129 *pmemory = &iobj->base.memory; in nv04_instobj_new()132 iobj->base.memory.ptrs = &nv04_instobj_ptrs; in nv04_instobj_new()[all …]
51 iowrite32_native(data, iobj->imem->iomem + iobj->node->offset + offset); in nv40_instobj_wr32()58 return ioread32_native(iobj->imem->iomem + iobj->node->offset + offset); in nv40_instobj_rd32()77 return iobj->imem->iomem + iobj->node->offset; in nv40_instobj_acquire()102 mutex_lock(&iobj->imem->base.mutex); in nv40_instobj_dtor()103 nvkm_mm_free(&iobj->imem->heap, &iobj->node); in nv40_instobj_dtor()105 nvkm_instobj_dtor(&iobj->imem->base, &iobj->base); in nv40_instobj_dtor()106 return iobj; in nv40_instobj_dtor()124 struct nv40_instobj *iobj; in nv40_instobj_new() local127 if (!(iobj = kzalloc(sizeof(*iobj), GFP_KERNEL))) in nv40_instobj_new()129 *pmemory = &iobj->base.memory; in nv40_instobj_new()[all …]
71 TestIf *iobj = TEST_IF(obj); in test_interface_impl() local72 TestIfClass *ioc = TEST_IF_GET_CLASS(iobj); in test_interface_impl()74 g_assert(iobj); in test_interface_impl()