Lines Matching refs:nvsw
32 struct nvkm_nvsw *nvsw = nvkm_nvsw(object); in nvkm_nvsw_mthd_() local
33 if (nvsw->func->mthd) in nvkm_nvsw_mthd_()
34 return nvsw->func->mthd(nvsw, mthd, data, size); in nvkm_nvsw_mthd_()
42 struct nvkm_nvsw *nvsw = nvkm_nvsw(object); in nvkm_nvsw_ntfy_() local
45 *pevent = &nvsw->chan->event; in nvkm_nvsw_ntfy_()
64 struct nvkm_nvsw *nvsw; in nvkm_nvsw_new_() local
66 if (!(nvsw = kzalloc(sizeof(*nvsw), GFP_KERNEL))) in nvkm_nvsw_new_()
68 *pobject = &nvsw->object; in nvkm_nvsw_new_()
70 nvkm_object_ctor(&nvkm_nvsw_, oclass, &nvsw->object); in nvkm_nvsw_new_()
71 nvsw->func = func; in nvkm_nvsw_new_()
72 nvsw->chan = chan; in nvkm_nvsw_new_()