/solaris-x11-s11/open-src/kernel/i915/src/ |
H A D | i915_gem_stolen.c | 51 struct pci_dev *pdev = dev->pdev; local 69 pci_read_config_dword(dev->pdev, 0x5c, &base); 76 pci_read_config_dword(pdev, 0xB0, &base); 80 pci_read_config_dword(pdev, 0xA4, &base); 85 pci_read_config_byte(pdev, 0x9c, &val);
|
H A D | intel_bios.c | 681 struct pci_dev *pdev = dev->pdev; local 706 bios = pci_map_rom(pdev, &size); 720 pci_unmap_rom(pdev, bios); 738 pci_unmap_rom(pdev, bios);
|
H A D | i915_dma.c | 930 value = dev->pdev->irq ? 1 : 0; 1466 pci_enable_msi(dev->pdev); 1551 /* XXX FIXME vga_client_register(dev->pdev, NULL, NULL, NULL); */ 1554 if (dev->pdev->msi_enabled) 1555 pci_disable_msi(dev->pdev); 1613 struct pci_dev *pdev = dev->pdev; local 1630 pci_read_config_dword(pdev, GEN6_CONF_GMADR, &aperbase);
|
/solaris-x11-s11/open-src/kernel/drm/src/ |
H A D | drm_stub.c | 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, argument 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 373 drm_get_dev(struct drm_device *dev, struct pci_dev *pdev, struct drm_driver *driver, unsigned long driver_data) argument [all...] |
H A D | drm_sun_pci.c | 59 struct pci_dev *pdev; local 63 pdev = kmem_zalloc(sizeof(struct pci_dev), KM_NOSLEEP); 64 if (!pdev) 68 ret = pci_config_setup(dip, &pdev->pci_cfg_acc_handle); 75 pdev->domain = 0; 84 pdev->bus = (int)PCI_BUS(regs[0]); 85 pdev->slot = (int)PCI_SLOT(regs[0]); 86 pdev->func = (int)PCI_FUNC(regs[0]); 97 pdev->irq = pci_config_get8(pdev 143 pci_dev_destroy(struct pci_dev *pdev) argument 149 pci_read_config_byte(struct pci_dev *pdev, int where, u8 *val) argument 154 pci_read_config_word(struct pci_dev *pdev, int where, u16 *val) argument 159 pci_read_config_dword(struct pci_dev *pdev, int where, u32 *val) argument 164 pci_write_config_byte(struct pci_dev *pdev, int where, u8 val) argument 169 pci_write_config_word(struct pci_dev *pdev, int where, u16 val) argument 174 pci_write_config_dword(struct pci_dev *pdev, int where, u32 val) argument 180 pci_map_rom(struct pci_dev *pdev, size_t *size) argument 191 pci_unmap_rom(struct pci_dev *pdev, u8 *base) argument 196 pci_find_capability(struct pci_dev *pdev, int capid) argument [all...] |
H A D | drm_drv.c | 230 struct pci_dev *pdev = NULL; local 236 pdev = pci_dev_create(dev); 237 if (!pdev) 241 if ((driver->id_table[i].vendor == pdev->vendor) && 242 (driver->id_table[i].device == pdev->device)) { 243 ret = drm_get_dev(dev, pdev, driver, driver->id_table[i].driver_data); 245 pci_dev_destroy(pdev); 269 pci_dev_destroy(pdev); 276 pci_dev_destroy(dev->pdev);
|
H A D | drm_irq.c | 72 struct pci_dev *pdev = dev->pdev; local 75 if (pdev->msi_handle) { 77 for (i = 0; i < pdev->msi_actual; i++) { 78 ret = ddi_intr_add_handler(pdev->msi_handle[i], 86 if (pdev->msi_flag & DDI_INTR_FLAG_BLOCK) { 88 (void) ddi_intr_block_enable(pdev->msi_handle, pdev->msi_actual); 91 for (i = 0; i < pdev->msi_actual; i++) 92 (void) ddi_intr_enable(pdev 109 struct pci_dev *pdev = dev->pdev; local 134 pci_enable_msi(struct pci_dev *pdev) argument 210 pci_disable_msi(struct pci_dev *pdev) argument [all...] |
/solaris-x11-s11/open-src/kernel/sys/drm/ |
H A D | drmP.h | 1078 DDI_INTR_PRI((dev)->pdev->intr_block) 1176 struct pci_dev *pdev; /**< PCI device structure */ member in struct:drm_device 1330 int pci_enable_msi(struct pci_dev *pdev); 1331 void pci_disable_msi(struct pci_dev *pdev); 1529 extern int drm_get_dev(struct drm_device *dev, struct pci_dev *pdev,
|