Lines Matching refs:func
32 if (gr && gr->func->ctxsw.inst) in nvkm_gr_ctxsw_inst()
33 return gr->func->ctxsw.inst(gr); in nvkm_gr_ctxsw_inst()
41 if (gr && gr->func->ctxsw.resume) in nvkm_gr_ctxsw_resume()
42 return gr->func->ctxsw.resume(gr); in nvkm_gr_ctxsw_resume()
50 if (gr && gr->func->ctxsw.pause) in nvkm_gr_ctxsw_pause()
51 return gr->func->ctxsw.pause(gr); in nvkm_gr_ctxsw_pause()
59 if (gr->func->chsw_load) in nvkm_gr_chsw_load()
60 return gr->func->chsw_load(gr); in nvkm_gr_chsw_load()
68 if (gr->func->tile) in nvkm_gr_tile()
69 gr->func->tile(gr, region, tile); in nvkm_gr_tile()
75 if (gr->func->units) in nvkm_gr_units()
76 return gr->func->units(gr); in nvkm_gr_units()
83 if (gr->func->tlb_flush) in nvkm_gr_tlb_flush()
84 return gr->func->tlb_flush(gr); in nvkm_gr_tlb_flush()
94 if (gr->func->object_get) { in nvkm_gr_oclass_get()
95 int ret = gr->func->object_get(gr, index, &oclass->base); in nvkm_gr_oclass_get()
101 while (gr->func->sclass[c].oclass) { in nvkm_gr_oclass_get()
103 oclass->base = gr->func->sclass[index]; in nvkm_gr_oclass_get()
116 if (gr->func->chan_new) in nvkm_gr_cclass_new()
117 return gr->func->chan_new(gr, chan, oclass, pobject); in nvkm_gr_cclass_new()
125 gr->func->intr(gr); in nvkm_gr_intr()
133 if (gr->func->nonstall) in nvkm_gr_nonstall()
134 return gr->func->nonstall(gr); in nvkm_gr_nonstall()
143 if (gr->func->oneinit) in nvkm_gr_oneinit()
144 return gr->func->oneinit(gr); in nvkm_gr_oneinit()
153 if (gr->func->reset) in nvkm_gr_reset()
154 return gr->func->reset(gr); in nvkm_gr_reset()
164 if (gr->func->init) in nvkm_gr_init()
165 return gr->func->init(gr); in nvkm_gr_init()
174 if (gr->func->fini) in nvkm_gr_fini()
175 return gr->func->fini(gr, suspend); in nvkm_gr_fini()
183 if (gr->func->dtor) in nvkm_gr_dtor()
184 return gr->func->dtor(gr); in nvkm_gr_dtor()
204 nvkm_gr_ctor(const struct nvkm_gr_func *func, struct nvkm_device *device, in nvkm_gr_ctor() argument
207 gr->func = func; in nvkm_gr_ctor()