Searched refs:oproxy (Results 1 - 4 of 4) sorted by relevance
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | oproxy.c | 24 #include <core/oproxy.h> 93 struct nvkm_oproxy *oproxy = nvkm_oproxy(object); nvkm_oproxy_sclass() local 94 oclass->parent = oproxy->object; nvkm_oproxy_sclass() 95 if (!oproxy->object->func->sclass) nvkm_oproxy_sclass() 97 return oproxy->object->func->sclass(oproxy->object, index, oclass); nvkm_oproxy_sclass() 103 struct nvkm_oproxy *oproxy = nvkm_oproxy(object); nvkm_oproxy_fini() local 106 if (oproxy->func->fini[0]) { nvkm_oproxy_fini() 107 ret = oproxy->func->fini[0](oproxy, suspend); nvkm_oproxy_fini() 112 if (oproxy->object->func->fini) { nvkm_oproxy_fini() 113 ret = oproxy->object->func->fini(oproxy->object, suspend); nvkm_oproxy_fini() 118 if (oproxy->func->fini[1]) { nvkm_oproxy_fini() 119 ret = oproxy->func->fini[1](oproxy, suspend); nvkm_oproxy_fini() 130 struct nvkm_oproxy *oproxy = nvkm_oproxy(object); nvkm_oproxy_init() local 133 if (oproxy->func->init[0]) { nvkm_oproxy_init() 134 ret = oproxy->func->init[0](oproxy); nvkm_oproxy_init() 139 if (oproxy->object->func->init) { nvkm_oproxy_init() 140 ret = oproxy->object->func->init(oproxy->object); nvkm_oproxy_init() 145 if (oproxy->func->init[1]) { nvkm_oproxy_init() 146 ret = oproxy->func->init[1](oproxy); nvkm_oproxy_init() 157 struct nvkm_oproxy *oproxy = nvkm_oproxy(object); nvkm_oproxy_dtor() local 158 if (oproxy->func->dtor[0]) nvkm_oproxy_dtor() 159 oproxy->func->dtor[0](oproxy); nvkm_oproxy_dtor() 160 nvkm_object_del(&oproxy->object); nvkm_oproxy_dtor() 161 if (oproxy->func->dtor[1]) nvkm_oproxy_dtor() 162 oproxy->func->dtor[1](oproxy); nvkm_oproxy_dtor() 163 return oproxy; nvkm_oproxy_dtor() 186 const struct nvkm_oclass *oclass, struct nvkm_oproxy *oproxy) nvkm_oproxy_ctor() 188 nvkm_object_ctor(&nvkm_oproxy_func, oclass, &oproxy->base); nvkm_oproxy_ctor() 189 oproxy->func = func; nvkm_oproxy_ctor() 185 nvkm_oproxy_ctor(const struct nvkm_oproxy_func *func, const struct nvkm_oclass *oclass, struct nvkm_oproxy *oproxy) nvkm_oproxy_ctor() argument
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | chan.c | 28 #include <core/oproxy.h> 33 struct nvkm_oproxy oproxy; member in struct:nvkm_fifo_chan_object 42 container_of(base, typeof(*object), oproxy); nvkm_fifo_chan_child_fini() 43 struct nvkm_engine *engine = object->oproxy.object->engine; nvkm_fifo_chan_child_fini() 75 container_of(base, typeof(*object), oproxy); nvkm_fifo_chan_child_init() 76 struct nvkm_engine *engine = object->oproxy.object->engine; nvkm_fifo_chan_child_init() 108 container_of(base, typeof(*object), oproxy); nvkm_fifo_chan_child_del() 109 struct nvkm_engine *engine = object->oproxy.base.engine; nvkm_fifo_chan_child_del() 144 nvkm_oproxy_ctor(&nvkm_fifo_chan_child_func, oclass, &object->oproxy); nvkm_fifo_chan_child_new() 146 *pobject = &object->oproxy.base; nvkm_fifo_chan_child_new() 186 }, data, size, &object->oproxy.object); nvkm_fifo_chan_child_new() 192 chan->func->object_ctor(chan, object->oproxy.object); nvkm_fifo_chan_child_new()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | dmacnv50.c | 28 #include <core/oproxy.h> 35 struct nvkm_oproxy oproxy; member in struct:nv50_disp_dmac_object 44 container_of(base, typeof(*object), oproxy); nv50_disp_dmac_child_del_() 67 nvkm_oproxy_ctor(&nv50_disp_dmac_child_func_, oclass, &object->oproxy); nv50_disp_dmac_child_new_() 69 *pobject = &object->oproxy.base; nv50_disp_dmac_child_new_() 71 ret = sclass->ctor(device, oclass, data, size, &object->oproxy.object); nv50_disp_dmac_child_new_() 75 object->hash = chan->func->bind(chan, object->oproxy.object, nv50_disp_dmac_child_new_()
|
H A D | base.c | 30 #include <core/oproxy.h> 141 nvkm_disp_class_del(struct nvkm_oproxy *oproxy) nvkm_disp_class_del() argument 143 struct nvkm_disp *disp = nvkm_disp(oproxy->base.engine); nvkm_disp_class_del() 145 if (disp->client == oproxy) nvkm_disp_class_del() 162 struct nvkm_oproxy *oproxy; nvkm_disp_class_new() local 165 ret = nvkm_oproxy_new_(&nvkm_disp_class, oclass, &oproxy); nvkm_disp_class_new() 168 *pobject = &oproxy->base; nvkm_disp_class_new() 175 disp->client = oproxy; nvkm_disp_class_new() 178 return sclass->ctor(disp, oclass, data, size, &oproxy->object); nvkm_disp_class_new()
|
Completed in 154 milliseconds