Lines Matching defs:func
41 if (subdev->func->intr)
42 subdev->func->intr(subdev);
48 if (subdev->func->info)
49 return subdev->func->info(subdev, mthd, data);
63 if (subdev->func->fini) {
64 int ret = subdev->func->fini(subdev, suspend);
88 if (subdev->func->preinit) {
89 int ret = subdev->func->preinit(subdev);
107 if (!subdev->func->oneinit || subdev->oneinit)
112 ret = subdev->func->oneinit(subdev);
144 if (subdev->func->init) {
145 ret = subdev->func->init(subdev);
221 if (subdev && !WARN_ON(!subdev->func)) {
225 if (subdev->func->dtor)
226 *psubdev = subdev->func->dtor(subdev);
249 __nvkm_subdev_ctor(const struct nvkm_subdev_func *func, struct nvkm_device *device,
252 subdev->func = func;
268 nvkm_subdev_new_(const struct nvkm_subdev_func *func, struct nvkm_device *device,
273 nvkm_subdev_ctor(func, device, type, inst, *psubdev);