Lines Matching refs:object

30 nvkm_disp_chan_rd32(struct nvkm_object *object, u64 addr, u32 *data)  in nvkm_disp_chan_rd32()  argument
32 struct nvkm_disp_chan *chan = nvkm_disp_chan(object); in nvkm_disp_chan_rd32()
41 nvkm_disp_chan_wr32(struct nvkm_object *object, u64 addr, u32 data) in nvkm_disp_chan_wr32() argument
43 struct nvkm_disp_chan *chan = nvkm_disp_chan(object); in nvkm_disp_chan_wr32()
52 nvkm_disp_chan_ntfy(struct nvkm_object *object, u32 type, struct nvkm_event **pevent) in nvkm_disp_chan_ntfy() argument
54 struct nvkm_disp_chan *chan = nvkm_disp_chan(object); in nvkm_disp_chan_ntfy()
69 nvkm_disp_chan_map(struct nvkm_object *object, void *argv, u32 argc, in nvkm_disp_chan_map() argument
72 struct nvkm_disp_chan *chan = nvkm_disp_chan(object); in nvkm_disp_chan_map()
90 struct nvkm_disp_chan_object *object = container_of(base, typeof(*object), oproxy); in nvkm_disp_chan_child_del_() local
92 nvkm_ramht_remove(object->disp->ramht, object->hash); in nvkm_disp_chan_child_del_()
108 struct nvkm_disp_chan_object *object; in nvkm_disp_chan_child_new() local
111 if (!(object = kzalloc(sizeof(*object), GFP_KERNEL))) in nvkm_disp_chan_child_new()
113 nvkm_oproxy_ctor(&nvkm_disp_chan_child_func_, oclass, &object->oproxy); in nvkm_disp_chan_child_new()
114 object->disp = disp; in nvkm_disp_chan_child_new()
115 *pobject = &object->oproxy.base; in nvkm_disp_chan_child_new()
117 ret = sclass->ctor(device, oclass, argv, argc, &object->oproxy.object); in nvkm_disp_chan_child_new()
121 object->hash = chan->func->bind(chan, object->oproxy.object, oclass->handle); in nvkm_disp_chan_child_new()
122 if (object->hash < 0) in nvkm_disp_chan_child_new()
123 return object->hash; in nvkm_disp_chan_child_new()
129 nvkm_disp_chan_child_get(struct nvkm_object *object, int index, struct nvkm_oclass *sclass) in nvkm_disp_chan_child_get() argument
131 struct nvkm_disp_chan *chan = nvkm_disp_chan(object); in nvkm_disp_chan_child_get()
153 nvkm_disp_chan_fini(struct nvkm_object *object, bool suspend) in nvkm_disp_chan_fini() argument
155 struct nvkm_disp_chan *chan = nvkm_disp_chan(object); in nvkm_disp_chan_fini()
163 nvkm_disp_chan_init(struct nvkm_object *object) in nvkm_disp_chan_init() argument
165 struct nvkm_disp_chan *chan = nvkm_disp_chan(object); in nvkm_disp_chan_init()
172 nvkm_disp_chan_dtor(struct nvkm_object *object) in nvkm_disp_chan_dtor() argument
174 struct nvkm_disp_chan *chan = nvkm_disp_chan(object); in nvkm_disp_chan_dtor()
224 *pobject = &chan->object; in nvkm_disp_chan_new_()
226 nvkm_object_ctor(&nvkm_disp_chan, oclass, &chan->object); in nvkm_disp_chan_new_()