Searched refs:psubdev (Results 1 – 1 of 1) sorted by relevance
138 nvkm_subdev_del(struct nvkm_subdev **psubdev) in nvkm_subdev_del() argument140 struct nvkm_subdev *subdev = *psubdev; in nvkm_subdev_del()148 *psubdev = subdev->func->dtor(subdev); in nvkm_subdev_del()151 kfree(*psubdev); in nvkm_subdev_del()152 *psubdev = NULL; in nvkm_subdev_del()188 enum nvkm_subdev_type type, int inst, struct nvkm_subdev **psubdev) in nvkm_subdev_new_() argument190 if (!(*psubdev = kzalloc(sizeof(**psubdev), GFP_KERNEL))) in nvkm_subdev_new_()192 nvkm_subdev_ctor(func, device, type, inst, *psubdev); in nvkm_subdev_new_()