/freebsd-13-stable/sys/dev/bhnd/bhndb/ |
H A D | bhndb_pci_hwdata.c | 88 { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE }, 101 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 121 { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE }, 134 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 149 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 287 { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE }, 300 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 308 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 329 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 345 .res = { SYS_RES_MEMORY, PCIR_BAR( [all...] |
/freebsd-13-stable/sys/dev/mpt/ |
H A D | mpt_pci.c | 419 val = pci_read_config(dev, PCIR_BAR(0), 4); 435 mpt_io_bar = PCIR_BAR(mpt_io_bar); 448 mpt_mem_bar = PCIR_BAR(mpt_mem_bar); 737 mpt->pci_cfg.IO_BAR = pci_read_config(mpt->dev, PCIR_BAR(0), 4); 738 mpt->pci_cfg.Mem0_BAR[0] = pci_read_config(mpt->dev, PCIR_BAR(1), 4); 739 mpt->pci_cfg.Mem0_BAR[1] = pci_read_config(mpt->dev, PCIR_BAR(2), 4); 740 mpt->pci_cfg.Mem1_BAR[0] = pci_read_config(mpt->dev, PCIR_BAR(3), 4); 741 mpt->pci_cfg.Mem1_BAR[1] = pci_read_config(mpt->dev, PCIR_BAR(4), 4); 764 MPT_CHECK(IO_BAR, PCIR_BAR(0), 4); 765 MPT_CHECK(Mem0_BAR[0], PCIR_BAR( [all...] |
/freebsd-13-stable/sys/dev/liquidio/ |
H A D | lio_main.h | 75 PCIR_BAR(baridx * 2), 89 int rid = PCIR_BAR(baridx * 2);
|
/freebsd-13-stable/sys/dev/pst/ |
H A D | pst-pci.c | 79 rid = PCIR_BAR(0); 114 bus_release_resource(dev, SYS_RES_MEMORY, PCIR_BAR(0), sc->r_mem);
|
/freebsd-13-stable/sys/dev/oce/ |
H A D | oce_hw.c | 163 PCIR_BAR(pci_cfg_barnum), sc->devcfg_res); 173 PCIR_BAR(OCE_PCI_CSR_BAR), sc->csr_res); 183 PCIR_BAR(OCE_PCI_DB_BAR), sc->db_res); 253 rr = PCIR_BAR(pci_cfg_barnum); 296 rr = PCIR_BAR(OCE_PCI_CSR_BAR); 306 rr = PCIR_BAR(OCE_PCI_DB_BAR);
|
/freebsd-13-stable/sys/dev/an/ |
H A D | if_an_pci.c | 163 sc->port_rid = PCIR_BAR(0); 177 sc->mem_rid = PCIR_BAR(1); 185 sc->mem_aux_rid = PCIR_BAR(2);
|
/freebsd-13-stable/sys/dev/ipmi/ |
H A D | ipmi_pci.c | 130 sc->ipmi_io_rid = PCIR_BAR(0); 226 sc->ipmi_io_rid = PCIR_BAR(0); 227 if (PCI_BAR_IO(pci_read_config(dev, PCIR_BAR(0), 4)))
|
/freebsd-13-stable/sys/dev/ips/ |
H A D | ips_pci.c | 96 sc->rid = PCIR_BAR(1); 98 sc->rid = PCIR_BAR(0); 104 sc->rid = PCIR_BAR(0);
|
/freebsd-13-stable/sys/dev/ata/ |
H A D | ata-pci.c | 93 if (ctlr->legacy || pci_read_config(dev, PCIR_BAR(2), 4) & IOMASK) 236 myrid = PCIR_BAR(0) + (unit << 3); 248 myrid = PCIR_BAR(1) + (unit << 3); 291 PCIR_BAR(0) + (unit << 3), r); 295 PCIR_BAR(1) + (unit << 3), r); 783 (!pci_read_config(dev, PCIR_BAR(0), 4) && 784 !pci_read_config(dev, PCIR_BAR(1), 4) && 785 !pci_read_config(dev, PCIR_BAR(2), 4) && 786 !pci_read_config(dev, PCIR_BAR(3), 4) && 787 !pci_read_config(dev, PCIR_BAR( [all...] |
/freebsd-13-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-13-stable/sys/dev/proto/ |
H A D | proto_bus_pci.c | 96 rid = PCIR_BAR(bar);
|
/freebsd-13-stable/sys/dev/nvme/ |
H A D | nvme_pci.c | 152 ctrlr->resource_id = PCIR_BAR(0); 173 ctrlr->bar4_resource_id = PCIR_BAR(4);
|
/freebsd-13-stable/sys/dev/aacraid/ |
H A D | aacraid_pci.c | 208 sc->aac_regs_rid0 = PCIR_BAR(0); 218 sc->aac_regs_rid1 = PCIR_BAR(2);
|
/freebsd-13-stable/sys/dev/ida/ |
H A D | ida_pci.c | 58 #define IDA_PCI_MEMADDR PCIR_BAR(1) /* Mem I/O Address */ 255 ida->regs_res_id = PCIR_BAR(0);
|
/freebsd-13-stable/sys/dev/malo/ |
H A D | if_malo_pci.c | 116 { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE }, 117 { SYS_RES_MEMORY, PCIR_BAR(1), RF_ACTIVE },
|
/freebsd-13-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)
|
/freebsd-13-stable/sys/mips/cavium/ |
H A D | octopci.c | 481 octopci_write_config(dev, b, s, f, PCIR_BAR(barnum), 0xffffffff, 4); 482 bar = octopci_read_config(dev, b, s, f, PCIR_BAR(barnum), 4); 498 octopci_write_config(dev, b, s, f, PCIR_BAR(barnum), 509 if (PCIR_BAR(barnum) == PCIR_BIOS) { 521 octopci_write_config(dev, b, s, f, PCIR_BAR(barnum + 1), 0, 4); 538 octopci_write_config(dev, b, s, f, PCIR_BAR(barnum), 625 PCIR_BAR(3), 4);
|
/freebsd-13-stable/sys/dev/ntb/ntb_hw/ |
H A D | ntb_hw_plx.c | 187 PNTX_WRITE(sc, PCIR_BAR(0), val64); 188 PNTX_WRITE(sc, PCIR_BAR(0) + 4, val64 >> 32); 192 PNTX_WRITE(sc, PCIR_BAR(0), val); 337 sc->conf_rid = PCIR_BAR(0); 366 mw->mw_rid = PCIR_BAR(mw->mw_bar); 379 val = pci_read_config(dev, PCIR_BAR(mw->mw_bar), 4); 750 PNTX_WRITE(sc, PCIR_BAR(mw->mw_bar), val64); 751 PNTX_WRITE(sc, PCIR_BAR(mw->mw_bar) + 4, val64 >> 32); 759 PNTX_WRITE(sc, PCIR_BAR(mw->mw_bar), val64);
|
/freebsd-13-stable/sys/dev/ata/chipsets/ |
H A D | ata-acerlabs.c | 125 rid = PCIR_BAR(i); 132 PCIR_BAR(i), res->bars[i]); 185 PCIR_BAR(i), res->bars[i]);
|
/freebsd-13-stable/sys/arm/versatile/ |
H A D | versatile_pci.c | 218 versatile_pci_write_4((slot << 11) + PCIR_BAR(0), 0); 219 versatile_pci_write_4((slot << 11) + PCIR_BAR(1), 0); 220 versatile_pci_write_4((slot << 11) + PCIR_BAR(2), 0);
|
/freebsd-13-stable/sys/dev/virtio/pci/ |
H A D | virtio_pci_legacy.c | 563 if (rid != PCIR_BAR(0)) { 571 if (rid != table_rid && rid != PCIR_BAR(0)) { 616 rid = PCIR_BAR(0); 637 bus_release_resource(dev, sc->vtpci_res_type, PCIR_BAR(0),
|
/freebsd-13-stable/sys/dev/vmware/vmci/ |
H A D | vmci.c | 309 rid = PCIR_BAR(0); 322 rid = PCIR_BAR(1); 358 rid = PCIR_BAR(0); 365 rid = PCIR_BAR(1);
|
/freebsd-13-stable/sys/mips/atheros/ |
H A D | ar724x_pci.c | 178 if (reg == PCIR_BAR(0) && bytes == 4 292 bar0 = ar724x_pci_read_config(dev, 0, 0, 0, PCIR_BAR(0), 4); 296 ar724x_pci_write_config(dev, 0, 0, 0, PCIR_BAR(0), 323 ar724x_pci_write_config(dev, 0, 0, 0, PCIR_BAR(0), bar0, 4);
|
/freebsd-13-stable/sys/dev/sbni/ |
H A D | if_sbni_pci.c | 97 sc->io_rid = PCIR_BAR(0);
|
/freebsd-13-stable/sys/dev/hifn/ |
H A D | hifn7751reg.h | 54 #define HIFN_BAR0 PCIR_BAR(0) /* PUC register map */ 55 #define HIFN_BAR1 PCIR_BAR(1) /* DMA register map */
|