Lines Matching full:rm
34 struct nvkm_gsp_object rm; member
42 nvkm_gsp_rm_free(&obj->rm); in r535_ce_obj_dtor()
65 args = nvkm_gsp_rm_alloc_get(&chan->rm.object, oclass->handle, oclass->base.oclass, in r535_ce_obj_ctor()
66 sizeof(*args), &obj->rm); in r535_ce_obj_ctor()
73 return nvkm_gsp_rm_alloc_wr(&obj->rm, args); in r535_ce_obj_ctor()
87 struct nvkm_engine_func *rm; in r535_ce_new() local
92 if (!(rm = kzalloc(sizeof(*rm) + (nclass + 1) * sizeof(rm->sclass[0]), GFP_KERNEL))) in r535_ce_new()
95 rm->dtor = r535_ce_dtor; in r535_ce_new()
97 rm->sclass[i].minver = hw->sclass[i].minver; in r535_ce_new()
98 rm->sclass[i].maxver = hw->sclass[i].maxver; in r535_ce_new()
99 rm->sclass[i].oclass = hw->sclass[i].oclass; in r535_ce_new()
100 rm->sclass[i].ctor = r535_ce_obj_ctor; in r535_ce_new()
103 ret = nvkm_engine_new_(rm, device, type, inst, true, pengine); in r535_ce_new()
105 kfree(rm); in r535_ce_new()