Lines Matching defs:pdev
371 nouveau_device_open_existing(struct nouveau_device **pdev, int close, int fd,
379 void *data, uint32_t size, struct nouveau_device **pdev)
399 dev = *pdev = &nvdev->base;
467 nouveau_device_del(pdev);
472 nouveau_device_wrap(int fd, int close, struct nouveau_device **pdev)
486 }, sizeof(struct nv_device_v0), pdev);
492 nvdev = nouveau_device(*pdev);
500 nouveau_device_open(const char *busid, struct nouveau_device **pdev)
504 ret = nouveau_device_wrap(fd, 1, pdev);
512 nouveau_device_del(struct nouveau_device **pdev)
514 struct nouveau_device_priv *nvdev = nouveau_device(*pdev);
526 *pdev = NULL;