Lines Matching refs:memory
37 #define nv04_instobj(p) container_of((p), struct nv04_instobj, base.memory)
46 nv04_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data) in nv04_instobj_wr32() argument
48 struct nv04_instobj *iobj = nv04_instobj(memory); in nv04_instobj_wr32()
54 nv04_instobj_rd32(struct nvkm_memory *memory, u64 offset) in nv04_instobj_rd32() argument
56 struct nv04_instobj *iobj = nv04_instobj(memory); in nv04_instobj_rd32()
68 nv04_instobj_release(struct nvkm_memory *memory) in nv04_instobj_release() argument
73 nv04_instobj_acquire(struct nvkm_memory *memory) in nv04_instobj_acquire() argument
75 struct nv04_instobj *iobj = nv04_instobj(memory); in nv04_instobj_acquire()
81 nv04_instobj_size(struct nvkm_memory *memory) in nv04_instobj_size() argument
83 return nv04_instobj(memory)->node->length; in nv04_instobj_size()
87 nv04_instobj_addr(struct nvkm_memory *memory) in nv04_instobj_addr() argument
89 return nv04_instobj(memory)->node->offset; in nv04_instobj_addr()
93 nv04_instobj_target(struct nvkm_memory *memory) in nv04_instobj_target() argument
99 nv04_instobj_dtor(struct nvkm_memory *memory) in nv04_instobj_dtor() argument
101 struct nv04_instobj *iobj = nv04_instobj(memory); in nv04_instobj_dtor()
129 *pmemory = &iobj->base.memory; in nv04_instobj_new()
132 iobj->base.memory.ptrs = &nv04_instobj_ptrs; in nv04_instobj_new()