Searched refs:mmio_bar (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/drivers/ata/ |
D | sata_inic162x.c | 807 int mmio_bar; in inic_init_one() local 829 mmio_bar = MMIO_BAR_PCI; in inic_init_one() 831 mmio_bar = MMIO_BAR_CARDBUS; in inic_init_one() 833 rc = pcim_iomap_regions(pdev, 1 << mmio_bar, DRV_NAME); in inic_init_one() 837 hpriv->mmio_base = iomap[mmio_bar]; in inic_init_one() 843 ata_port_pbar_desc(ap, mmio_bar, -1, "mmio"); in inic_init_one() 844 ata_port_pbar_desc(ap, mmio_bar, i * PORT_SIZE, "port"); in inic_init_one()
|
/linux-2.6.39/drivers/video/intelfb/ |
D | intelfbdrv.c | 512 int mmio_bar = 1; in intelfb_pci_register() local 568 mmio_bar = 0; in intelfb_pci_register() 572 dinfo->mmio_base_phys = pci_resource_start(pdev, mmio_bar); in intelfb_pci_register() 576 (unsigned long long)pci_resource_start(pdev, mmio_bar), in intelfb_pci_register() 577 (unsigned long long)pci_resource_len(pdev, mmio_bar)); in intelfb_pci_register()
|
/linux-2.6.39/drivers/gpu/drm/i915/ |
D | i915_dma.c | 1883 int ret = 0, mmio_bar; in i915_driver_load() local 1921 mmio_bar = IS_GEN2(dev) ? 1 : 0; in i915_driver_load() 1922 dev_priv->regs = pci_iomap(dev->pdev, mmio_bar, 0); in i915_driver_load()
|