Searched refs:PCIR_BAR (Results 1 - 25 of 198) sorted by relevance

12345678

/freebsd-11-stable/sys/dev/bhnd/bhndb/
H A Dbhndb_pci_hwdata.c86 { 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 Dsireg.h65 #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 Dmpt_pci.c421 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 Dlio_main.h75 PCIR_BAR(baridx * 2),
89 int rid = PCIR_BAR(baridx * 2);
/freebsd-11-stable/sys/dev/pst/
H A Dpst-pci.c77 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 Dif_ed_pci.c99 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 Doce_hw.c167 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 Ddpt_pci.c55 #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 Daacraid_pci.c203 sc->aac_regs_rid0 = PCIR_BAR(0);
213 sc->aac_regs_rid1 = PCIR_BAR(2);
/freebsd-11-stable/sys/dev/buslogic/
H A Dbt_pci.c50 #define BT_PCI_IOADDR PCIR_BAR(0)
51 #define BT_PCI_MEMADDR PCIR_BAR(1)
/freebsd-11-stable/sys/dev/stg/
H A Dtmc18c30_pci.c94 sc->port_rid = PCIR_BAR(0);
/freebsd-11-stable/sys/dev/an/
H A Dif_an_pci.c161 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 Dipmi_pci.c128 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 Dips_pci.c94 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 Data-pci.c91 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 Dsolo.c842 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 Dproto_bus_pci.c96 rid = PCIR_BAR(bar);
/freebsd-11-stable/sys/dev/ntb/ntb_hw/
H A Dntb_hw_plx.c184 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 Dadv_pci.c81 #define PCI_BASEADR0 PCIR_BAR(0) /* I/O Address */
82 #define PCI_BASEADR1 PCIR_BAR(1) /* Mem I/O Address */
H A Dadw_pci.c62 #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 Dida_pci.c54 #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 Dif_txreg.h32 #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 Dif_malo_pci.c114 { 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 Drp_pci.c180 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 Dlxcommon.h229 #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)

Completed in 317 milliseconds

12345678