Lines Matching refs:engine
58 struct nv04_fifo_priv *priv = (void *)parent->engine; in nv04_fifo_object_attach()
68 switch (nv_engidx(object->engine)) { in nv04_fifo_object_attach()
95 struct nv04_fifo_priv *priv = (void *)parent->engine; in nv04_fifo_object_detach()
111 struct nvkm_object *engine, in nv04_fifo_chan_ctor() argument
118 struct nv04_fifo_priv *priv = (void *)engine; in nv04_fifo_chan_ctor()
130 ret = nvkm_fifo_channel_create(parent, engine, oclass, 0, 0x800000, in nv04_fifo_chan_ctor()
162 struct nv04_fifo_priv *priv = (void *)object->engine; in nv04_fifo_chan_dtor()
176 struct nv04_fifo_priv *priv = (void *)object->engine; in nv04_fifo_chan_init()
195 struct nv04_fifo_priv *priv = (void *)object->engine; in nv04_fifo_chan_fini()
267 struct nvkm_object *engine, in nv04_fifo_context_ctor() argument
274 ret = nvkm_fifo_context_create(parent, engine, oclass, NULL, 0x1000, in nv04_fifo_context_ctor()
365 u32 engine; in nv04_fifo_swmthd() local
379 if (nv_engidx(bind->object->engine) == NVDEV_ENGINE_SW) { in nv04_fifo_swmthd()
380 engine = 0x0000000f << (subc * 4); in nv04_fifo_swmthd()
384 nv_mask(priv, NV04_PFIFO_CACHE1_ENGINE, engine, 0); in nv04_fifo_swmthd()
390 engine = nv_rd32(priv, NV04_PFIFO_CACHE1_ENGINE); in nv04_fifo_swmthd()
391 if (unlikely(((engine >> (subc * 4)) & 0xf) != 0)) in nv04_fifo_swmthd()
559 nv04_fifo_ctor(struct nvkm_object *parent, struct nvkm_object *engine, in nv04_fifo_ctor() argument
567 ret = nvkm_fifo_create(parent, engine, oclass, 0, 15, &priv); in nv04_fifo_ctor()