Searched refs:psubdev (Results 1 – 1 of 1) sorted by relevance
216 nvkm_subdev_del(struct nvkm_subdev **psubdev) in nvkm_subdev_del() argument218 struct nvkm_subdev *subdev = *psubdev; in nvkm_subdev_del()226 *psubdev = subdev->func->dtor(subdev); in nvkm_subdev_del()230 kfree(*psubdev); in nvkm_subdev_del()231 *psubdev = NULL; in nvkm_subdev_del()269 enum nvkm_subdev_type type, int inst, struct nvkm_subdev **psubdev) in nvkm_subdev_new_() argument271 if (!(*psubdev = kzalloc(sizeof(**psubdev), GFP_KERNEL))) in nvkm_subdev_new_()273 nvkm_subdev_ctor(func, device, type, inst, *psubdev); in nvkm_subdev_new_()
Completed in 3 milliseconds