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

12345678

/freebsd-13-stable/sys/dev/bhnd/bhndb/
H A Dbhndb_pci_hwdata.c88 { 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 Dmpt_pci.c419 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 Dlio_main.h75 PCIR_BAR(baridx * 2),
89 int rid = PCIR_BAR(baridx * 2);
/freebsd-13-stable/sys/dev/pst/
H A Dpst-pci.c79 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 Doce_hw.c163 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 Dif_an_pci.c163 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 Dipmi_pci.c130 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 Dips_pci.c96 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 Data-pci.c93 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 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-13-stable/sys/dev/proto/
H A Dproto_bus_pci.c96 rid = PCIR_BAR(bar);
/freebsd-13-stable/sys/dev/nvme/
H A Dnvme_pci.c152 ctrlr->resource_id = PCIR_BAR(0);
173 ctrlr->bar4_resource_id = PCIR_BAR(4);
/freebsd-13-stable/sys/dev/aacraid/
H A Daacraid_pci.c208 sc->aac_regs_rid0 = PCIR_BAR(0);
218 sc->aac_regs_rid1 = PCIR_BAR(2);
/freebsd-13-stable/sys/dev/ida/
H A Dida_pci.c58 #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 Dif_malo_pci.c116 { 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 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)
/freebsd-13-stable/sys/mips/cavium/
H A Doctopci.c481 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 Dntb_hw_plx.c187 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 Data-acerlabs.c125 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 Dversatile_pci.c218 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 Dvirtio_pci_legacy.c563 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 Dvmci.c309 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 Dar724x_pci.c178 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 Dif_sbni_pci.c97 sc->io_rid = PCIR_BAR(0);
/freebsd-13-stable/sys/dev/hifn/
H A Dhifn7751reg.h54 #define HIFN_BAR0 PCIR_BAR(0) /* PUC register map */
55 #define HIFN_BAR1 PCIR_BAR(1) /* DMA register map */

Completed in 243 milliseconds

12345678