Lines Matching full:rm
34 struct nvkm_gsp_object rm; member
42 nvkm_gsp_rm_free(&obj->rm); in r535_ofa_obj_dtor()
65 args = nvkm_gsp_rm_alloc_get(&chan->rm.object, oclass->handle, oclass->base.oclass, in r535_ofa_obj_ctor()
66 sizeof(*args), &obj->rm); in r535_ofa_obj_ctor()
72 return nvkm_gsp_rm_alloc_wr(&obj->rm, args); in r535_ofa_obj_ctor()
86 struct nvkm_engine_func *rm; in r535_ofa_new() local
91 if (!(rm = kzalloc(sizeof(*rm) + (nclass + 1) * sizeof(rm->sclass[0]), GFP_KERNEL))) in r535_ofa_new()
94 rm->dtor = r535_ofa_dtor; in r535_ofa_new()
96 rm->sclass[i].minver = hw->sclass[i].minver; in r535_ofa_new()
97 rm->sclass[i].maxver = hw->sclass[i].maxver; in r535_ofa_new()
98 rm->sclass[i].oclass = hw->sclass[i].oclass; in r535_ofa_new()
99 rm->sclass[i].ctor = r535_ofa_obj_ctor; in r535_ofa_new()
102 ret = nvkm_engine_new_(rm, device, type, inst, true, pengine); in r535_ofa_new()
104 kfree(rm); in r535_ofa_new()