Lines Matching full:rm
33 struct nvkm_gsp_object rm; member
41 nvkm_gsp_rm_free(&obj->rm); in r535_nvdec_obj_dtor()
64 args = nvkm_gsp_rm_alloc_get(&chan->rm.object, oclass->handle, oclass->base.oclass, in r535_nvdec_obj_ctor()
65 sizeof(*args), &obj->rm); in r535_nvdec_obj_ctor()
72 return nvkm_gsp_rm_alloc_wr(&obj->rm, args); in r535_nvdec_obj_ctor()
88 struct nvkm_engine_func *rm; in r535_nvdec_new() local
93 if (!(rm = kzalloc(sizeof(*rm) + (nclass + 1) * sizeof(rm->sclass[0]), GFP_KERNEL))) in r535_nvdec_new()
96 rm->dtor = r535_nvdec_dtor; in r535_nvdec_new()
98 rm->sclass[i].minver = hw->sclass[i].minver; in r535_nvdec_new()
99 rm->sclass[i].maxver = hw->sclass[i].maxver; in r535_nvdec_new()
100 rm->sclass[i].oclass = hw->sclass[i].oclass; in r535_nvdec_new()
101 rm->sclass[i].ctor = r535_nvdec_obj_ctor; in r535_nvdec_new()
105 kfree(rm); in r535_nvdec_new()
109 return nvkm_engine_ctor(rm, device, type, inst, true, &(*pnvdec)->engine); in r535_nvdec_new()