Lines Matching refs:engn
45 struct nvkm_fifo_engn *engn = &chan->engn[engine->subdev.index]; in nvkm_fifo_chan_child_fini() local
49 if (--engn->usecount) in nvkm_fifo_chan_child_fini()
61 if (engn->object) { in nvkm_fifo_chan_child_fini()
62 ret = nvkm_object_fini(engn->object, suspend); in nvkm_fifo_chan_child_fini()
78 struct nvkm_fifo_engn *engn = &chan->engn[engine->subdev.index]; in nvkm_fifo_chan_child_init() local
82 if (engn->usecount++) in nvkm_fifo_chan_child_init()
85 if (engn->object) { in nvkm_fifo_chan_child_init()
86 ret = nvkm_object_init(engn->object); in nvkm_fifo_chan_child_init()
111 struct nvkm_fifo_engn *engn = &chan->engn[engine->subdev.index]; in nvkm_fifo_chan_child_del() local
116 if (!--engn->refcount) { in nvkm_fifo_chan_child_del()
119 nvkm_object_del(&engn->object); in nvkm_fifo_chan_child_del()
138 struct nvkm_fifo_engn *engn = &chan->engn[engine->subdev.index]; in nvkm_fifo_chan_child_new() local
148 if (!engn->refcount++) { in nvkm_fifo_chan_child_new()
159 &engn->object); in nvkm_fifo_chan_child_new()
163 NULL, 0, &engn->object); in nvkm_fifo_chan_child_new()
170 engn->object); in nvkm_fifo_chan_child_new()
178 .engn = oclass->engn, in nvkm_fifo_chan_child_new()
182 .parent = engn->object ? in nvkm_fifo_chan_child_new()
183 engn->object : in nvkm_fifo_chan_child_new()