Lines Matching refs:memory
38 #define nv04_instobj(p) container_of((p), struct nv04_instobj, memory)
41 struct nvkm_memory memory; member
47 nv04_instobj_target(struct nvkm_memory *memory) in nv04_instobj_target() argument
53 nv04_instobj_addr(struct nvkm_memory *memory) in nv04_instobj_addr() argument
55 return nv04_instobj(memory)->node->offset; in nv04_instobj_addr()
59 nv04_instobj_size(struct nvkm_memory *memory) in nv04_instobj_size() argument
61 return nv04_instobj(memory)->node->length; in nv04_instobj_size()
65 nv04_instobj_acquire(struct nvkm_memory *memory) in nv04_instobj_acquire() argument
67 struct nv04_instobj *iobj = nv04_instobj(memory); in nv04_instobj_acquire()
73 nv04_instobj_release(struct nvkm_memory *memory) in nv04_instobj_release() argument
78 nv04_instobj_rd32(struct nvkm_memory *memory, u64 offset) in nv04_instobj_rd32() argument
80 struct nv04_instobj *iobj = nv04_instobj(memory); in nv04_instobj_rd32()
86 nv04_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data) in nv04_instobj_wr32() argument
88 struct nv04_instobj *iobj = nv04_instobj(memory); in nv04_instobj_wr32()
94 nv04_instobj_dtor(struct nvkm_memory *memory) in nv04_instobj_dtor() argument
96 struct nv04_instobj *iobj = nv04_instobj(memory); in nv04_instobj_dtor()
125 *pmemory = &iobj->memory; in nv04_instobj_new()
127 nvkm_memory_ctor(&nv04_instobj_func, &iobj->memory); in nv04_instobj_new()