Searched refs:PCIR_BAR (Results 26 - 50 of 198) sorted by relevance

12345678

/freebsd-11-stable/sys/mips/cavium/
H A Doctopci.c479 octopci_write_config(dev, b, s, f, PCIR_BAR(barnum), 0xffffffff, 4);
480 bar = octopci_read_config(dev, b, s, f, PCIR_BAR(barnum), 4);
496 octopci_write_config(dev, b, s, f, PCIR_BAR(barnum),
507 if (PCIR_BAR(barnum) == PCIR_BIOS) {
519 octopci_write_config(dev, b, s, f, PCIR_BAR(barnum + 1), 0, 4);
536 octopci_write_config(dev, b, s, f, PCIR_BAR(barnum),
623 PCIR_BAR(3), 4);
/freebsd-11-stable/sys/dev/ata/chipsets/
H A Data-acerlabs.c123 rid = PCIR_BAR(i);
130 PCIR_BAR(i), res->bars[i]);
183 PCIR_BAR(i), res->bars[i]);
H A Data-via.c164 ctlr->r_rid2 = PCIR_BAR(5);
220 rid = PCIR_BAR(ch->unit);
274 rid = PCIR_BAR(ch->unit);
H A Data-nvidia.c200 if (pci_read_config(dev, PCIR_BAR(5), 1) & 1)
204 ctlr->r_rid2 = PCIR_BAR(5);
/freebsd-11-stable/sys/arm/versatile/
H A Dversatile_pci.c217 versatile_pci_write_4((slot << 11) + PCIR_BAR(0), 0);
218 versatile_pci_write_4((slot << 11) + PCIR_BAR(1), 0);
219 versatile_pci_write_4((slot << 11) + PCIR_BAR(2), 0);
/freebsd-11-stable/sys/mips/atheros/
H A Dar724x_pci.c170 if (reg == PCIR_BAR(0) && bytes == 4
284 bar0 = ar724x_pci_read_config(dev, 0, 0, 0, PCIR_BAR(0), 4);
287 ar724x_pci_write_config(dev, 0, 0, 0, PCIR_BAR(0),
314 ar724x_pci_write_config(dev, 0, 0, 0, PCIR_BAR(0), bar0, 4);
H A Dar71xx_pci.c301 bar0 = ar71xx_pci_read_config(dev, bus, slot, func, PCIR_BAR(0), 4);
302 ar71xx_pci_write_config(dev, bus, slot, func, PCIR_BAR(0),
327 ar71xx_pci_write_config(dev, bus, slot, func, PCIR_BAR(0), bar0, 4);
/freebsd-11-stable/sys/dev/vx/
H A Dif_vx_pci.c133 rid = PCIR_BAR(0);
/freebsd-11-stable/sys/dev/sbni/
H A Dif_sbni_pci.c97 sc->io_rid = PCIR_BAR(0);
/freebsd-11-stable/sys/dev/si/
H A Dsi_pci.c115 rid = PCIR_BAR(0);
/freebsd-11-stable/sys/dev/hifn/
H A Dhifn7751reg.h52 #define HIFN_BAR0 PCIR_BAR(0) /* PUC register map */
53 #define HIFN_BAR1 PCIR_BAR(1) /* DMA register map */
/freebsd-11-stable/sys/dev/sound/pci/
H A Dhdspe.c130 sc->csid = PCIR_BAR(0);
375 bus_release_resource(dev, SYS_RES_MEMORY, PCIR_BAR(0), sc->cs);
H A Dcsa.c263 resp->io_rid = PCIR_BAR(0);
268 resp->mem_rid = PCIR_BAR(1);
417 case PCIR_BAR(0):
420 case PCIR_BAR(1):
H A Dcsamidi.c215 scp->io_rid = PCIR_BAR(0);
/freebsd-11-stable/sys/dev/mfi/
H A Dmfi_pci.c215 sc->mfi_regs_rid = PCIR_BAR(0);
221 sc->mfi_regs_rid = PCIR_BAR(1);
/freebsd-11-stable/sys/dev/aac/
H A Daac_pci.c398 rid = PCIR_BAR(0);
408 rid = PCIR_BAR(1);
/freebsd-11-stable/sys/dev/adlink/
H A Dadlink.c358 { SYS_RES_IOPORT, PCIR_BAR(0), RF_ACTIVE},
359 { SYS_RES_IOPORT, PCIR_BAR(1), RF_ACTIVE},
/freebsd-11-stable/sys/dev/amr/
H A Damr_pci.c221 rid = PCIR_BAR(0);
520 PCIR_BAR(0), sc->amr_reg);
/freebsd-11-stable/sys/dev/hme/
H A Dif_hme_pci.c172 i = PCIR_BAR(0);
272 i = PCIR_BAR(0);
/freebsd-11-stable/sys/dev/agp/
H A Dagpreg.h35 #define AGP_APBASE PCIR_BAR(0)
/freebsd-11-stable/sys/i386/i386/
H A Dgeode.c296 gpio = pci_read_config(self, PCIR_BAR(0), 4);
/freebsd-11-stable/sys/dev/virtio/pci/
H A Dvirtio_pci.c270 rid = PCIR_BAR(0);
282 rid = PCIR_BAR(1);
327 bus_release_resource(dev, SYS_RES_MEMORY, PCIR_BAR(1),
333 bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(0),
/freebsd-11-stable/sys/dev/ichiic/
H A Dig4_pci.c152 sc->regs_rid = PCIR_BAR(0);
/freebsd-11-stable/sys/dev/ral/
H A Dif_ral_pci.c220 rid = PCIR_BAR(0);
/freebsd-11-stable/sys/dev/ahci/
H A Dahci_pci.c458 *table_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK);
461 *pba_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK);
500 ctlr->r_rid = PCIR_BAR(0);
502 ctlr->r_rid = PCIR_BAR(5);

Completed in 146 milliseconds

12345678