Searched refs:psubdev (Results 1 – 1 of 1) sorted by relevance
228 nvkm_subdev_del(struct nvkm_subdev **psubdev) in nvkm_subdev_del() argument230 struct nvkm_subdev *subdev = *psubdev; in nvkm_subdev_del()238 *psubdev = subdev->func->dtor(subdev); in nvkm_subdev_del()242 kfree(*psubdev); in nvkm_subdev_del()243 *psubdev = NULL; in nvkm_subdev_del()281 enum nvkm_subdev_type type, int inst, struct nvkm_subdev **psubdev) in nvkm_subdev_new_() argument283 if (!(*psubdev = kzalloc_obj(**psubdev))) in nvkm_subdev_new_()285 nvkm_subdev_ctor(func, device, type, inst, *psubdev); in nvkm_subdev_new_()