/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap_freebsd.c | 838 rid = PCIR_BAR(PTNETMAP_MEM_PCI_BAR); 877 PCIR_BAR(PTNETMAP_MEM_PCI_BAR), ptn_dev->pci_mem); 914 rid = PCIR_BAR(PTNETMAP_IO_PCI_BAR); 953 PCIR_BAR(PTNETMAP_MEM_PCI_BAR), ptn_dev->pci_mem); 958 PCIR_BAR(PTNETMAP_IO_PCI_BAR), ptn_dev->pci_io);
|
/freebsd-11-stable/sys/dev/pci/ |
H A D | pci.c | 903 cfg->msix.msix_table_bar = PCIR_BAR(val & 907 cfg->msix.msix_pba_bar = PCIR_BAR(val & 3343 if (pci_mapbase(pci_read_config(dev, PCIR_BAR(0), 4)) && 3344 pci_mapbase(pci_read_config(dev, PCIR_BAR(2), 4))) { 3353 pci_add_map(bus, dev, PCIR_BAR(0), rl, force, 3355 pci_add_map(bus, dev, PCIR_BAR(1), rl, force, 3358 rid = PCIR_BAR(0); 3362 rid = PCIR_BAR(1); 3368 pci_add_map(bus, dev, PCIR_BAR(2), rl, force, 3370 pci_add_map(bus, dev, PCIR_BAR( [all...] |
/freebsd-11-stable/sys/dev/cardbus/ |
H A D | cardbus_cis.c | 317 bar = PCIR_BAR(bar - 1); 467 *rid = PCIR_BAR(space - PCIM_CIS_ASI_BAR0);
|
H A D | cardbus.c | 161 pci_write_config(dev, PCIR_BAR(i), 0, 4);
|
/freebsd-11-stable/sys/dev/nfsmb/ |
H A D | nfsmb.c | 74 #define NF2PCI_SMBASE_1 PCIR_BAR(4) 75 #define NF2PCI_SMBASE_2 PCIR_BAR(5)
|
/freebsd-11-stable/sys/sparc64/ebus/ |
H A D | ebus.c | 337 rid = PCIR_BAR(rnum); 375 PCIR_BAR(rnum), eri->eri_res);
|
/freebsd-11-stable/sys/dev/sound/pci/ |
H A D | fm801.c | 588 fm801->regid = PCIR_BAR(i); 727 if (type == SYS_RES_IOPORT && *rid == PCIR_BAR(0))
|
H A D | neomagic.c | 619 sc->regid = PCIR_BAR(1); 676 sc->bufid = PCIR_BAR(0); 679 sc->regid = PCIR_BAR(1);
|
/freebsd-11-stable/sys/dev/bwi/ |
H A D | if_bwireg.h | 347 #define BWI_PCIR_BAR PCIR_BAR(0)
|
/freebsd-11-stable/sys/dev/ata/chipsets/ |
H A D | ata-sis.c | 185 ctlr->r_rid2 = PCIR_BAR(5);
|
H A D | ata-intel.c | 228 ctlr->r_rid2 = PCIR_BAR(0); 268 ctlr->r_rid2 = PCIR_BAR(5); 283 ctlr->r_rid2 = PCIR_BAR(5);
|
H A D | ata-serverworks.c | 134 ctlr->r_rid2 = PCIR_BAR(5);
|
/freebsd-11-stable/sys/dev/gem/ |
H A D | if_gem_pci.c | 136 { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE }, /* GEM_RES_BANK1 */
|
/freebsd-11-stable/sys/dev/firewire/ |
H A D | fwohcireg.h | 37 #define PCI_CBMEM PCIR_BAR(0)
|
/freebsd-11-stable/sys/dev/mps/ |
H A D | mps_pci.c | 201 sc->mps_regs_rid = PCIR_BAR(1);
|
/freebsd-11-stable/sys/dev/aic7xxx/ |
H A D | aic79xx.h | 1366 #define AHD_PCI_IOADDR0 PCIR_BAR(0) /* I/O BAR*/ 1367 #define AHD_PCI_MEMADDR PCIR_BAR(1) /* Memory BAR */ 1368 #define AHD_PCI_IOADDR1 PCIR_BAR(3) /* Second I/O BAR */
|
/freebsd-11-stable/sys/dev/drm2/radeon/ |
H A D | radeon_device.c | 1099 rdev->rmmio_rid = PCIR_BAR(2); 1114 data = pci_read_config(rdev->dev, PCIR_BAR(i), 4); 1116 rdev->rio_rid = PCIR_BAR(i);
|
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | pci_passthru.c | 546 bar.pbi_reg = PCIR_BAR(i); 746 if (coff >= PCIR_BAR(0) && coff < PCIR_BAR(PCI_BARMAX + 1))
|
H A D | pci_emul.c | 655 pci_set_cfgdata32(pdi, PCIR_BAR(idx), bar); 660 pci_set_cfgdata32(pdi, PCIR_BAR(idx + 1), bar >> 32); 1805 if (coff >= PCIR_BAR(0) && coff < PCIR_BAR(PCI_BARMAX + 1)) { 1812 idx = (coff - PCIR_BAR(0)) / 4;
|
/freebsd-11-stable/usr.sbin/pciconf/ |
H A D | cap.c | 365 PCIM_DEBUG_PORT_OFFSET, PCIR_BAR(debug_port >> 13)); 550 table_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK); 554 pba_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK);
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | pci.h | 257 bar = PCIR_BAR(bar); 307 pm = pci_find_bar(pdev->dev.bsddev, PCIR_BAR(bar)); 401 rid = PCIR_BAR(bar);
|
/freebsd-11-stable/sys/dev/ce/ |
H A D | if_ce.c | 92 #ifndef PCIR_BAR 93 #define PCIR_BAR(x) (PCIR_MAPS + (x) * 4) macro 560 rid = PCIR_BAR(0); 585 bus_release_resource (dev, SYS_RES_MEMORY, PCIR_BAR(0), bd->ce_res); 600 bus_release_resource (dev, SYS_RES_MEMORY, PCIR_BAR(0), bd->ce_res); 622 PCIR_BAR(0), bd->ce_res); 835 bus_release_resource (dev, SYS_RES_MEMORY, PCIR_BAR(0), bd->ce_res);
|
/freebsd-11-stable/sys/dev/iir/ |
H A D | iir_pci.c | 68 #define PCI_DPMEM PCIR_BAR(0)
|
/freebsd-11-stable/sys/dev/isci/ |
H A D | isci.c | 140 pci_bar->resource_id = PCIR_BAR(i*2);
|
/freebsd-11-stable/sys/dev/en/ |
H A D | if_en_pci.c | 99 #define PCI_CBMA PCIR_BAR(0)
|