Searched refs:PCIR_BAR (Results 51 - 75 of 198) sorted by relevance

12345678

/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_freebsd.c838 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 Dpci.c903 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 Dcardbus_cis.c317 bar = PCIR_BAR(bar - 1);
467 *rid = PCIR_BAR(space - PCIM_CIS_ASI_BAR0);
H A Dcardbus.c161 pci_write_config(dev, PCIR_BAR(i), 0, 4);
/freebsd-11-stable/sys/dev/nfsmb/
H A Dnfsmb.c74 #define NF2PCI_SMBASE_1 PCIR_BAR(4)
75 #define NF2PCI_SMBASE_2 PCIR_BAR(5)
/freebsd-11-stable/sys/sparc64/ebus/
H A Debus.c337 rid = PCIR_BAR(rnum);
375 PCIR_BAR(rnum), eri->eri_res);
/freebsd-11-stable/sys/dev/sound/pci/
H A Dfm801.c588 fm801->regid = PCIR_BAR(i);
727 if (type == SYS_RES_IOPORT && *rid == PCIR_BAR(0))
H A Dneomagic.c619 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 Dif_bwireg.h347 #define BWI_PCIR_BAR PCIR_BAR(0)
/freebsd-11-stable/sys/dev/ata/chipsets/
H A Data-sis.c185 ctlr->r_rid2 = PCIR_BAR(5);
H A Data-intel.c228 ctlr->r_rid2 = PCIR_BAR(0);
268 ctlr->r_rid2 = PCIR_BAR(5);
283 ctlr->r_rid2 = PCIR_BAR(5);
H A Data-serverworks.c134 ctlr->r_rid2 = PCIR_BAR(5);
/freebsd-11-stable/sys/dev/gem/
H A Dif_gem_pci.c136 { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE }, /* GEM_RES_BANK1 */
/freebsd-11-stable/sys/dev/firewire/
H A Dfwohcireg.h37 #define PCI_CBMEM PCIR_BAR(0)
/freebsd-11-stable/sys/dev/mps/
H A Dmps_pci.c201 sc->mps_regs_rid = PCIR_BAR(1);
/freebsd-11-stable/sys/dev/aic7xxx/
H A Daic79xx.h1366 #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 Dradeon_device.c1099 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 Dpci_passthru.c546 bar.pbi_reg = PCIR_BAR(i);
746 if (coff >= PCIR_BAR(0) && coff < PCIR_BAR(PCI_BARMAX + 1))
H A Dpci_emul.c655 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 Dcap.c365 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 Dpci.h257 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 Dif_ce.c92 #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 Diir_pci.c68 #define PCI_DPMEM PCIR_BAR(0)
/freebsd-11-stable/sys/dev/isci/
H A Disci.c140 pci_bar->resource_id = PCIR_BAR(i*2);
/freebsd-11-stable/sys/dev/en/
H A Dif_en_pci.c99 #define PCI_CBMA PCIR_BAR(0)

Completed in 210 milliseconds

12345678