Home
last modified time | relevance | path

Searched refs:oproxy (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/core/
Doproxy.c43 struct nvkm_oproxy *oproxy = nvkm_oproxy(object); in nvkm_oproxy_map() local
44 return nvkm_object_map(oproxy->object, argv, argc, type, addr, size); in nvkm_oproxy_map()
101 struct nvkm_oproxy *oproxy = nvkm_oproxy(object); in nvkm_oproxy_sclass() local
102 oclass->parent = oproxy->object; in nvkm_oproxy_sclass()
103 if (!oproxy->object->func->sclass) in nvkm_oproxy_sclass()
105 return oproxy->object->func->sclass(oproxy->object, index, oclass); in nvkm_oproxy_sclass()
111 struct nvkm_oproxy *oproxy = nvkm_oproxy(object); in nvkm_oproxy_fini() local
114 if (oproxy->func->fini[0]) { in nvkm_oproxy_fini()
115 ret = oproxy->func->fini[0](oproxy, suspend); in nvkm_oproxy_fini()
120 if (oproxy->object->func->fini) { in nvkm_oproxy_fini()
[all …]
DKbuild12 nvkm-y += nvkm/core/oproxy.o
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dchan.c33 struct nvkm_oproxy oproxy; member
42 container_of(base, typeof(*object), oproxy); in nvkm_fifo_chan_child_fini()
43 struct nvkm_engine *engine = object->oproxy.object->engine; in nvkm_fifo_chan_child_fini()
75 container_of(base, typeof(*object), oproxy); in nvkm_fifo_chan_child_init()
76 struct nvkm_engine *engine = object->oproxy.object->engine; in nvkm_fifo_chan_child_init()
108 container_of(base, typeof(*object), oproxy); in nvkm_fifo_chan_child_del()
109 struct nvkm_engine *engine = object->oproxy.base.engine; in nvkm_fifo_chan_child_del()
144 nvkm_oproxy_ctor(&nvkm_fifo_chan_child_func, oclass, &object->oproxy); in nvkm_fifo_chan_child_new()
146 *pobject = &object->oproxy.base; in nvkm_fifo_chan_child_new()
186 }, data, size, &object->oproxy.object); in nvkm_fifo_chan_child_new()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dbase.c149 nvkm_disp_class_del(struct nvkm_oproxy *oproxy) in nvkm_disp_class_del() argument
151 struct nvkm_disp *disp = nvkm_disp(oproxy->base.engine); in nvkm_disp_class_del()
153 if (disp->client == oproxy) in nvkm_disp_class_del()
170 struct nvkm_oproxy *oproxy; in nvkm_disp_class_new() local
173 ret = nvkm_oproxy_new_(&nvkm_disp_class, oclass, &oproxy); in nvkm_disp_class_new()
176 *pobject = &oproxy->base; in nvkm_disp_class_new()
183 disp->client = oproxy; in nvkm_disp_class_new()
186 return sclass->ctor(disp, oclass, data, size, &oproxy->object); in nvkm_disp_class_new()
Dchannv50.c223 struct nvkm_oproxy oproxy; member
232 container_of(base, typeof(*object), oproxy); in nv50_disp_chan_child_del_()
254 nvkm_oproxy_ctor(&nv50_disp_chan_child_func_, oclass, &object->oproxy); in nv50_disp_chan_child_new()
256 *pobject = &object->oproxy.base; in nv50_disp_chan_child_new()
258 ret = sclass->ctor(device, oclass, argv, argc, &object->oproxy.object); in nv50_disp_chan_child_new()
262 object->hash = chan->func->bind(chan, object->oproxy.object, in nv50_disp_chan_child_new()