/freebsd-9.3-release/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 */
|
H A D | si_pci.c | 115 rid = PCIR_BAR(0);
|
/freebsd-9.3-release/sys/dev/mpt/ |
H A D | mpt_pci.c | 426 val = pci_read_config(dev, PCIR_BAR(0), 4); 442 mpt_io_bar = PCIR_BAR(mpt_io_bar); 455 mpt_mem_bar = PCIR_BAR(mpt_mem_bar); 748 mpt->pci_cfg.IO_BAR = pci_read_config(mpt->dev, PCIR_BAR(0), 4); 749 mpt->pci_cfg.Mem0_BAR[0] = pci_read_config(mpt->dev, PCIR_BAR(1), 4); 750 mpt->pci_cfg.Mem0_BAR[1] = pci_read_config(mpt->dev, PCIR_BAR(2), 4); 751 mpt->pci_cfg.Mem1_BAR[0] = pci_read_config(mpt->dev, PCIR_BAR(3), 4); 752 mpt->pci_cfg.Mem1_BAR[1] = pci_read_config(mpt->dev, PCIR_BAR(4), 4); 775 MPT_CHECK(IO_BAR, PCIR_BAR(0), 4); 776 MPT_CHECK(Mem0_BAR[0], PCIR_BAR( [all...] |
/freebsd-9.3-release/sys/dev/an/ |
H A D | if_an_pci.c | 153 sc->port_rid = PCIR_BAR(0); 167 sc->mem_rid = PCIR_BAR(1); 175 sc->mem_aux_rid = PCIR_BAR(2);
|
/freebsd-9.3-release/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-9.3-release/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); 308 rr = PCIR_BAR(OCE_PCI_CSR_BAR); 318 rr = PCIR_BAR(OCE_PCI_DB_BAR);
|
/freebsd-9.3-release/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-9.3-release/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-9.3-release/sys/dev/stg/ |
H A D | tmc18c30_pci.c | 95 sc->port_rid = PCIR_BAR(0);
|
/freebsd-9.3-release/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-9.3-release/sys/dev/ips/ |
H A D | ips_pci.c | 102 sc->rid = PCIR_BAR(1); 104 sc->rid = PCIR_BAR(0); 110 sc->rid = PCIR_BAR(0);
|
/freebsd-9.3-release/sys/dev/ata/ |
H A D | ata-pci.c | 92 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); 803 (!pci_read_config(dev, PCIR_BAR(0), 4) && 804 !pci_read_config(dev, PCIR_BAR(1), 4) && 805 !pci_read_config(dev, PCIR_BAR(2), 4) && 806 !pci_read_config(dev, PCIR_BAR(3), 4) && 807 !pci_read_config(dev, PCIR_BAR( [all...] |
/freebsd-9.3-release/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-9.3-release/sys/dev/aacraid/ |
H A D | aacraid_pci.c | 207 sc->aac_regs_rid0 = PCIR_BAR(0); 217 sc->aac_regs_rid1 = PCIR_BAR(2);
|
/freebsd-9.3-release/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-9.3-release/sys/dev/ida/ |
H A D | ida_pci.c | 54 #define IDA_PCI_MEMADDR PCIR_BAR(1) /* Mem I/O Address */ 249 ida->regs_res_id = PCIR_BAR(0);
|
/freebsd-9.3-release/sys/dev/malo/ |
H A D | if_malo_pci.c | 112 { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE }, 113 { SYS_RES_MEMORY, PCIR_BAR(1), RF_ACTIVE },
|
/freebsd-9.3-release/sys/dev/rp/ |
H A D | rp_pci.c | 179 ctlp->io_rid[0] = PCIR_BAR(2); 182 ctlp->io_rid[0] = PCIR_BAR(0);
|
/freebsd-9.3-release/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-9.3-release/sys/mips/cavium/ |
H A D | octopci.c | 477 octopci_write_config(dev, b, s, f, PCIR_BAR(barnum), 0xffffffff, 4); 478 bar = octopci_read_config(dev, b, s, f, PCIR_BAR(barnum), 4); 494 octopci_write_config(dev, b, s, f, PCIR_BAR(barnum), 505 if (PCIR_BAR(barnum) == PCIR_BIOS) { 517 octopci_write_config(dev, b, s, f, PCIR_BAR(barnum + 1), 0, 4); 534 octopci_write_config(dev, b, s, f, PCIR_BAR(barnum), 621 PCIR_BAR(3), 4);
|
/freebsd-9.3-release/sys/dev/ata/chipsets/ |
H A D | ata-acerlabs.c | 129 rid = PCIR_BAR(i); 136 PCIR_BAR(i), res->bars[i]); 189 PCIR_BAR(i), res->bars[i]);
|
/freebsd-9.3-release/sys/mips/atheros/ |
H A D | ar724x_pci.c | 155 if (reg == PCIR_BAR(0) && bytes == 4 && ar71xx_soc == AR71XX_SOC_AR7240) 271 bar0 = ar724x_pci_read_config(dev, 0, 0, 0, PCIR_BAR(0), 4); 294 ar724x_pci_write_config(dev, 0, 0, 0, PCIR_BAR(0), bar0, 4);
|
/freebsd-9.3-release/sys/dev/sbni/ |
H A D | if_sbni_pci.c | 97 sc->io_rid = PCIR_BAR(0);
|
/freebsd-9.3-release/sys/dev/vx/ |
H A D | if_vx_pci.c | 132 rid = PCIR_BAR(0);
|