Lines Matching defs:pdev
108 mutex_init(&master->lock.lock_mutex, NULL, MUTEX_DRIVER, (void *)minor->dev->pdev->intr_block);
232 static int drm_fill_in_dev(struct drm_device * dev, struct pci_dev *pdev,
243 mutex_init(&dev->count_lock, NULL, MUTEX_DRIVER, (void *)pdev->intr_block);
244 mutex_init(&dev->event_lock, NULL, MUTEX_DRIVER, (void *)pdev->intr_block);
247 mutex_init(&dev->irq_lock, NULL, MUTEX_DRIVER, (void *)pdev->intr_block);
248 mutex_init(&dev->track_lock, NULL, MUTEX_DRIVER, (void *)pdev->intr_block);
251 dev->pdev = pdev;
252 dev->pci_device = pdev->device;
253 dev->pci_vendor = pdev->vendor;
373 int drm_get_dev(struct drm_device *dev, struct pci_dev *pdev,
380 if ((ret = drm_fill_in_dev(dev, pdev, driver))) {