Lines Matching refs:dev

388 	struct nouveau_device *dev;
399 dev = *pdev = &nvdev->base;
400 dev->fd = -1;
404 &dev->object);
410 ret = nouveau_object_mthd(&dev->object, NV_DEVICE_V0_INFO,
424 ret = nouveau_getparam(dev, NOUVEAU_GETPARAM_CHIPSET_ID, &v);
429 ret = nouveau_getparam(dev, NOUVEAU_GETPARAM_HAS_BO_USAGE, &v);
435 ret = nouveau_getparam(dev, NOUVEAU_GETPARAM_FB_SIZE, &v);
440 ret = nouveau_getparam(dev, NOUVEAU_GETPARAM_AGP_SIZE, &v);
531 nouveau_getparam(struct nouveau_device *dev, uint64_t param, uint64_t *value)
533 struct nouveau_drm *drm = nouveau_drm(&dev->object);
542 nouveau_setparam(struct nouveau_device *dev, uint64_t param, uint64_t value)
544 struct nouveau_drm *drm = nouveau_drm(&dev->object);
550 nouveau_client_new(struct nouveau_device *dev, struct nouveau_client **pclient)
552 struct nouveau_device_priv *nvdev = nouveau_device(dev);
576 pcli->base.device = dev;
635 nouveau_bo_new(struct nouveau_device *dev, uint32_t flags, uint32_t align,
646 bo->device = dev;
661 nouveau_bo_wrap_locked(struct nouveau_device *dev, uint32_t handle,
664 struct nouveau_drm *drm = nouveau_drm(&dev->object);
665 struct nouveau_device_priv *nvdev = nouveau_device(dev);
702 nvbo->base.device = dev;
726 nouveau_bo_wrap(struct nouveau_device *dev, uint32_t handle,
729 struct nouveau_device_priv *nvdev = nouveau_device(dev);
732 ret = nouveau_bo_wrap_locked(dev, handle, pbo, 0);
738 nouveau_bo_name_ref(struct nouveau_device *dev, uint32_t name,
741 struct nouveau_drm *drm = nouveau_drm(&dev->object);
742 struct nouveau_device_priv *nvdev = nouveau_device(dev);
750 ret = nouveau_bo_wrap_locked(dev, nvbo->base.handle,
759 ret = nouveau_bo_wrap_locked(dev, req.handle, pbo, name);
803 nouveau_bo_prime_handle_ref(struct nouveau_device *dev, int prime_fd,
806 struct nouveau_drm *drm = nouveau_drm(&dev->object);
807 struct nouveau_device_priv *nvdev = nouveau_device(dev);
816 ret = nouveau_bo_wrap_locked(dev, handle, bo, 0);