Lines Matching refs:memory
40 #define nv40_instobj(p) container_of((p), struct nv40_instobj, memory)
43 struct nvkm_memory memory; member
49 nv40_instobj_target(struct nvkm_memory *memory) in nv40_instobj_target() argument
55 nv40_instobj_addr(struct nvkm_memory *memory) in nv40_instobj_addr() argument
57 return nv40_instobj(memory)->node->offset; in nv40_instobj_addr()
61 nv40_instobj_size(struct nvkm_memory *memory) in nv40_instobj_size() argument
63 return nv40_instobj(memory)->node->length; in nv40_instobj_size()
67 nv40_instobj_acquire(struct nvkm_memory *memory) in nv40_instobj_acquire() argument
69 struct nv40_instobj *iobj = nv40_instobj(memory); in nv40_instobj_acquire()
74 nv40_instobj_release(struct nvkm_memory *memory) in nv40_instobj_release() argument
79 nv40_instobj_rd32(struct nvkm_memory *memory, u64 offset) in nv40_instobj_rd32() argument
81 struct nv40_instobj *iobj = nv40_instobj(memory); in nv40_instobj_rd32()
86 nv40_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data) in nv40_instobj_wr32() argument
88 struct nv40_instobj *iobj = nv40_instobj(memory); in nv40_instobj_wr32()
93 nv40_instobj_dtor(struct nvkm_memory *memory) in nv40_instobj_dtor() argument
95 struct nv40_instobj *iobj = nv40_instobj(memory); in nv40_instobj_dtor()
124 *pmemory = &iobj->memory; in nv40_instobj_new()
126 nvkm_memory_ctor(&nv40_instobj_func, &iobj->memory); in nv40_instobj_new()