/freebsd-11-stable/sys/dev/bhnd/bhndb/ |
H A D | bhndb_pci_hwdata.c | 86 { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE }, 99 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 117 { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE }, 130 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 145 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 282 { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE }, 295 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 303 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 318 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 332 { SYS_RES_MEMORY, PCIR_BAR( [all...] |
/freebsd-11-stable/sys/dev/si/ |
H A D | sireg.h | 65 #define SIPCIBADR PCIR_BAR(0) /* Which BADR to map in RAM */ 72 #define SIJETBADR PCIR_BAR(2) /* Which BADR to map in RAM */
|
/freebsd-11-stable/sys/dev/mpt/ |
H A D | mpt_pci.c | 421 val = pci_read_config(dev, PCIR_BAR(0), 4); 437 mpt_io_bar = PCIR_BAR(mpt_io_bar); 450 mpt_mem_bar = PCIR_BAR(mpt_mem_bar); 739 mpt->pci_cfg.IO_BAR = pci_read_config(mpt->dev, PCIR_BAR(0), 4); 740 mpt->pci_cfg.Mem0_BAR[0] = pci_read_config(mpt->dev, PCIR_BAR(1), 4); 741 mpt->pci_cfg.Mem0_BAR[1] = pci_read_config(mpt->dev, PCIR_BAR(2), 4); 742 mpt->pci_cfg.Mem1_BAR[0] = pci_read_config(mpt->dev, PCIR_BAR(3), 4); 743 mpt->pci_cfg.Mem1_BAR[1] = pci_read_config(mpt->dev, PCIR_BAR(4), 4); 766 MPT_CHECK(IO_BAR, PCIR_BAR(0), 4); 767 MPT_CHECK(Mem0_BAR[0], PCIR_BAR( [all...] |
/freebsd-11-stable/sys/dev/liquidio/ |
H A D | lio_main.h | 75 PCIR_BAR(baridx * 2), 89 int rid = PCIR_BAR(baridx * 2);
|
/freebsd-11-stable/sys/dev/pst/ |
H A D | pst-pci.c | 77 rid = PCIR_BAR(0); 112 bus_release_resource(dev, SYS_RES_MEMORY, PCIR_BAR(0), sc->r_mem);
|
/freebsd-11-stable/sys/dev/ed/ |
H A D | if_ed_pci.c | 99 error = ed_probe_RTL80x9(dev, PCIR_BAR(0), 0); 101 error = ed_probe_Novell(dev, PCIR_BAR(0),
|
/freebsd-11-stable/sys/dev/oce/ |
H A D | oce_hw.c | 167 PCIR_BAR(pci_cfg_barnum), sc->devcfg_res); 177 PCIR_BAR(OCE_PCI_CSR_BAR), sc->csr_res); 187 PCIR_BAR(OCE_PCI_DB_BAR), sc->db_res); 264 rr = PCIR_BAR(pci_cfg_barnum); 307 rr = PCIR_BAR(OCE_PCI_CSR_BAR); 317 rr = PCIR_BAR(OCE_PCI_DB_BAR);
|
/freebsd-11-stable/sys/dev/dpt/ |
H A D | dpt_pci.c | 55 #define DPT_PCI_IOADDR PCIR_BAR(0) /* I/O Address */ 56 #define DPT_PCI_MEMADDR PCIR_BAR(1) /* Mem I/O Address */
|
/freebsd-11-stable/sys/dev/aacraid/ |
H A D | aacraid_pci.c | 203 sc->aac_regs_rid0 = PCIR_BAR(0); 213 sc->aac_regs_rid1 = PCIR_BAR(2);
|
/freebsd-11-stable/sys/dev/buslogic/ |
H A D | bt_pci.c | 50 #define BT_PCI_IOADDR PCIR_BAR(0) 51 #define BT_PCI_MEMADDR PCIR_BAR(1)
|
/freebsd-11-stable/sys/dev/stg/ |
H A D | tmc18c30_pci.c | 94 sc->port_rid = PCIR_BAR(0);
|
/freebsd-11-stable/sys/dev/an/ |
H A D | if_an_pci.c | 161 sc->port_rid = PCIR_BAR(0); 175 sc->mem_rid = PCIR_BAR(1); 183 sc->mem_aux_rid = PCIR_BAR(2);
|
/freebsd-11-stable/sys/dev/ipmi/ |
H A D | ipmi_pci.c | 128 sc->ipmi_io_rid = PCIR_BAR(0); 224 sc->ipmi_io_rid = PCIR_BAR(0); 225 if (PCI_BAR_IO(pci_read_config(dev, PCIR_BAR(0), 4)))
|
/freebsd-11-stable/sys/dev/ips/ |
H A D | ips_pci.c | 94 sc->rid = PCIR_BAR(1); 96 sc->rid = PCIR_BAR(0); 102 sc->rid = PCIR_BAR(0);
|
/freebsd-11-stable/sys/dev/ata/ |
H A D | ata-pci.c | 91 if (ctlr->legacy || pci_read_config(dev, PCIR_BAR(2), 4) & IOMASK) 238 myrid = PCIR_BAR(0) + (unit << 3); 250 myrid = PCIR_BAR(1) + (unit << 3); 293 PCIR_BAR(0) + (unit << 3), r); 297 PCIR_BAR(1) + (unit << 3), r); 785 (!pci_read_config(dev, PCIR_BAR(0), 4) && 786 !pci_read_config(dev, PCIR_BAR(1), 4) && 787 !pci_read_config(dev, PCIR_BAR(2), 4) && 788 !pci_read_config(dev, PCIR_BAR(3), 4) && 789 !pci_read_config(dev, PCIR_BAR( [all...] |
/freebsd-11-stable/sys/dev/sound/pci/ |
H A D | solo.c | 842 bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(0), sc->io); 847 bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(1), sc->sb); 852 bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(2), sc->vc); 857 bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(3), sc->mpu); 862 bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(4), sc->gp); 886 rid = PCIR_BAR(0); 889 rid = PCIR_BAR(1); 892 rid = PCIR_BAR(2); 895 rid = PCIR_BAR(3); 898 rid = PCIR_BAR( [all...] |
/freebsd-11-stable/sys/dev/proto/ |
H A D | proto_bus_pci.c | 96 rid = PCIR_BAR(bar);
|
/freebsd-11-stable/sys/dev/ntb/ntb_hw/ |
H A D | ntb_hw_plx.c | 184 PNTX_WRITE(sc, PCIR_BAR(0), val64); 185 PNTX_WRITE(sc, PCIR_BAR(0) + 4, val64 >> 32); 189 PNTX_WRITE(sc, PCIR_BAR(0), val); 334 sc->conf_rid = PCIR_BAR(0); 357 mw->mw_rid = PCIR_BAR(mw->mw_bar); 370 val = pci_read_config(dev, PCIR_BAR(mw->mw_bar), 4); 704 PNTX_WRITE(sc, PCIR_BAR(mw->mw_bar), val64); 705 PNTX_WRITE(sc, PCIR_BAR(mw->mw_bar) + 4, val64 >> 32); 713 PNTX_WRITE(sc, PCIR_BAR(mw->mw_bar), val64);
|
/freebsd-11-stable/sys/dev/advansys/ |
H A D | adv_pci.c | 81 #define PCI_BASEADR0 PCIR_BAR(0) /* I/O Address */ 82 #define PCI_BASEADR1 PCIR_BAR(1) /* Mem I/O Address */
|
H A D | adw_pci.c | 62 #define ADW_PCI_IOBASE PCIR_BAR(0) /* I/O Address */ 63 #define ADW_PCI_MEMBASE PCIR_BAR(1) /* Mem I/O Address */
|
/freebsd-11-stable/sys/dev/ida/ |
H A D | ida_pci.c | 54 #define IDA_PCI_MEMADDR PCIR_BAR(1) /* Mem I/O Address */ 251 ida->regs_res_id = PCIR_BAR(0);
|
/freebsd-11-stable/sys/dev/tx/ |
H A D | if_txreg.h | 32 #define PCIR_BASEIO PCIR_BAR(0) /* Base IO Address */ 33 #define PCIR_BASEMEM PCIR_BAR(1) /* Base Memory Address */
|
/freebsd-11-stable/sys/dev/malo/ |
H A D | if_malo_pci.c | 114 { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE }, 115 { SYS_RES_MEMORY, PCIR_BAR(1), RF_ACTIVE },
|
/freebsd-11-stable/sys/dev/rp/ |
H A D | rp_pci.c | 180 ctlp->io_rid[0] = PCIR_BAR(2); 183 ctlp->io_rid[0] = PCIR_BAR(0);
|
/freebsd-11-stable/sys/dev/pms/freebsd/driver/common/ |
H A D | lxcommon.h | 229 #define PCI_BASE_ADDRESS_0 PCIR_BAR(0) 230 #define PCI_BASE_ADDRESS_1 PCIR_BAR(1) 231 #define PCI_BASE_ADDRESS_2 PCIR_BAR(2) 232 #define PCI_BASE_ADDRESS_3 PCIR_BAR(3) 233 #define PCI_BASE_ADDRESS_4 PCIR_BAR(4)
|