sys/bus/pci/pci.c
2710
if (pci_mapbase(pci_read_config(dev, PCIR_BAR(0), 4)) &&
sys/bus/pci/pci.c
2711
pci_mapbase(pci_read_config(dev, PCIR_BAR(2), 4))) {
sys/bus/pci/pci.c
2720
pci_add_map(pcib, bus, dev, b, s, f, PCIR_BAR(0), rl, force,
sys/bus/pci/pci.c
2722
pci_add_map(pcib, bus, dev, b, s, f, PCIR_BAR(1), rl, force,
sys/bus/pci/pci.c
2725
rid = PCIR_BAR(0);
sys/bus/pci/pci.c
2729
rid = PCIR_BAR(1);
sys/bus/pci/pci.c
2735
pci_add_map(pcib, bus, dev, b, s, f, PCIR_BAR(2), rl, force,
sys/bus/pci/pci.c
2737
pci_add_map(pcib, bus, dev, b, s, f, PCIR_BAR(3), rl, force,
sys/bus/pci/pci.c
2740
rid = PCIR_BAR(2);
sys/bus/pci/pci.c
2744
rid = PCIR_BAR(3);
sys/bus/pci/pci.c
2749
pci_add_map(pcib, bus, dev, b, s, f, PCIR_BAR(4), rl, force,
sys/bus/pci/pci.c
2751
pci_add_map(pcib, bus, dev, b, s, f, PCIR_BAR(5), rl, force,
sys/bus/pci/pci.c
2828
rid = PCIR_BAR(0);
sys/bus/pci/pci.c
2893
rid = PCIR_BAR(0);
sys/bus/pci/pci.c
2949
rid = PCIR_BAR(0);
sys/bus/pci/pci.c
3029
(!pci_read_config(dev, PCIR_BAR(0), 4) &&
sys/bus/pci/pci.c
3030
!pci_read_config(dev, PCIR_BAR(2), 4))) )
sys/bus/pci/pci.c
3034
i += pci_add_map(pcib, bus, dev, b, s, f, PCIR_BAR(i),
sys/bus/pci/pci.c
4047
if (*rid < PCIR_BAR(cfg->nummaps)) {
sys/bus/pci/pci.c
4244
pci_write_config(dev, PCIR_BAR(i), dinfo->cfg.bar[i], 4);
sys/bus/pci/pci.c
4280
dinfo->cfg.bar[i] = pci_read_config(dev, PCIR_BAR(i), 4);
sys/bus/pci/pci.c
742
msix->msix_table_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK);
sys/bus/pci/pci.c
746
msix->msix_pba_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK);
sys/bus/smbus/amdsmb/amdsmb.c
151
amdsmb_sc->rid = PCIR_BAR(0);
sys/bus/smbus/ichiic/ig4_pci.c
172
sc->regs_rid = PCIR_BAR(0);
sys/dev/disk/ahci/ahci_attach.c
312
sc->sc_rid_regs = PCIR_BAR(5);
sys/dev/disk/buslogic/bt_pci.c
44
#define BT_PCI_IOADDR PCIR_BAR(0)
sys/dev/disk/buslogic/bt_pci.c
45
#define BT_PCI_MEMADDR PCIR_BAR(1)
sys/dev/disk/mpt/mpt_pci.c
457
val = pci_read_config(dev, PCIR_BAR(0), 4);
sys/dev/disk/mpt/mpt_pci.c
473
mpt_io_bar = PCIR_BAR(mpt_io_bar);
sys/dev/disk/mpt/mpt_pci.c
486
mpt_mem_bar = PCIR_BAR(mpt_mem_bar);
sys/dev/disk/mpt/mpt_pci.c
787
mpt->pci_cfg.IO_BAR = pci_read_config(mpt->dev, PCIR_BAR(0), 4);
sys/dev/disk/mpt/mpt_pci.c
788
mpt->pci_cfg.Mem0_BAR[0] = pci_read_config(mpt->dev, PCIR_BAR(1), 4);
sys/dev/disk/mpt/mpt_pci.c
789
mpt->pci_cfg.Mem0_BAR[1] = pci_read_config(mpt->dev, PCIR_BAR(2), 4);
sys/dev/disk/mpt/mpt_pci.c
790
mpt->pci_cfg.Mem1_BAR[0] = pci_read_config(mpt->dev, PCIR_BAR(3), 4);
sys/dev/disk/mpt/mpt_pci.c
791
mpt->pci_cfg.Mem1_BAR[1] = pci_read_config(mpt->dev, PCIR_BAR(4), 4);
sys/dev/disk/mpt/mpt_pci.c
814
MPT_CHECK(IO_BAR, PCIR_BAR(0), 4);
sys/dev/disk/mpt/mpt_pci.c
815
MPT_CHECK(Mem0_BAR[0], PCIR_BAR(1), 4);
sys/dev/disk/mpt/mpt_pci.c
816
MPT_CHECK(Mem0_BAR[1], PCIR_BAR(2), 4);
sys/dev/disk/mpt/mpt_pci.c
817
MPT_CHECK(Mem1_BAR[0], PCIR_BAR(3), 4);
sys/dev/disk/mpt/mpt_pci.c
818
MPT_CHECK(Mem1_BAR[1], PCIR_BAR(4), 4);
sys/dev/disk/mpt/mpt_pci.c
828
pci_write_config(mpt->dev, PCIR_BAR(0), mpt->pci_cfg.IO_BAR, 4);
sys/dev/disk/mpt/mpt_pci.c
829
pci_write_config(mpt->dev, PCIR_BAR(1), mpt->pci_cfg.Mem0_BAR[0], 4);
sys/dev/disk/mpt/mpt_pci.c
830
pci_write_config(mpt->dev, PCIR_BAR(2), mpt->pci_cfg.Mem0_BAR[1], 4);
sys/dev/disk/mpt/mpt_pci.c
831
pci_write_config(mpt->dev, PCIR_BAR(3), mpt->pci_cfg.Mem1_BAR[0], 4);
sys/dev/disk/mpt/mpt_pci.c
832
pci_write_config(mpt->dev, PCIR_BAR(4), mpt->pci_cfg.Mem1_BAR[1], 4);
sys/dev/disk/nata/ata-pci.c
202
if (ctlr->legacy || pci_read_config(dev, PCIR_BAR(2), 4) & IOMASK)
sys/dev/disk/nata/ata-pci.c
296
myrid = PCIR_BAR(0) + (unit << 3);
sys/dev/disk/nata/ata-pci.c
308
myrid = PCIR_BAR(1) + (unit << 3);
sys/dev/disk/nata/ata-pci.c
342
PCIR_BAR(0) + (unit << 3), r);
sys/dev/disk/nata/ata-pci.c
348
PCIR_BAR(1) + (unit << 3), r);
sys/dev/disk/nata/ata-pci.c
570
(!pci_read_config(dev, PCIR_BAR(0), 4) &&
sys/dev/disk/nata/ata-pci.c
571
!pci_read_config(dev, PCIR_BAR(1), 4) &&
sys/dev/disk/nata/ata-pci.c
572
!pci_read_config(dev, PCIR_BAR(2), 4) &&
sys/dev/disk/nata/ata-pci.c
573
!pci_read_config(dev, PCIR_BAR(3), 4) &&
sys/dev/disk/nata/ata-pci.c
574
!pci_read_config(dev, PCIR_BAR(5), 4)));
sys/dev/disk/nata/chipsets/ata-acerlabs.c
152
rid = PCIR_BAR(0) + (unit01 ? 8 : 0);
sys/dev/disk/nata/chipsets/ata-acerlabs.c
157
rid = PCIR_BAR(1) + (unit01 ? 8 : 0);
sys/dev/disk/nata/chipsets/ata-ahci.c
79
ctlr->r_rid2 = PCIR_BAR(5);
sys/dev/disk/nata/chipsets/ata-intel.c
144
ctlr->r_rid2 = PCIR_BAR(0);
sys/dev/disk/nata/chipsets/ata-intel.c
184
ctlr->r_rid2 = PCIR_BAR(5);
sys/dev/disk/nata/chipsets/ata-marvell.c
161
ctlr->r_rid1 = PCIR_BAR(0);
sys/dev/disk/nata/chipsets/ata-nvidia.c
169
if (pci_read_config(dev, PCIR_BAR(5), 1) & 1)
sys/dev/disk/nata/chipsets/ata-nvidia.c
173
ctlr->r_rid2 = PCIR_BAR(5);
sys/dev/disk/nata/chipsets/ata-promise.c
218
ctlr->r_rid1 = PCIR_BAR(4);
sys/dev/disk/nata/chipsets/ata-promise.c
224
ctlr->r_rid2 = PCIR_BAR(3);
sys/dev/disk/nata/chipsets/ata-serverworks.c
82
ctlr->r_rid2 = PCIR_BAR(5);
sys/dev/disk/nata/chipsets/ata-siliconimage.c
101
ctlr->r_rid1 = PCIR_BAR(0);
sys/dev/disk/nata/chipsets/ata-siliconimage.c
108
ctlr->r_rid2 = PCIR_BAR(2);
sys/dev/disk/nata/chipsets/ata-siliconimage.c
134
ctlr->r_rid2 = PCIR_BAR(5);
sys/dev/disk/nata/chipsets/ata-sis.c
159
ctlr->r_rid2 = PCIR_BAR(5);
sys/dev/disk/nata/chipsets/ata-via.c
113
ctlr->r_rid2 = PCIR_BAR(5);
sys/dev/disk/nata/chipsets/ata-via.c
171
rid = PCIR_BAR(ch->unit);
sys/dev/disk/nvme/nvme_attach.c
119
sc->rid_regs = PCIR_BAR(0);
sys/dev/disk/nvme/nvme_attach.c
135
sc->rid_bar4 = PCIR_BAR(4);
sys/dev/disk/sdhci/sdhci_pci.c
386
rid = PCIR_BAR(bar + i);
sys/dev/disk/sili/sili_attach.c
159
sc->sc_rid_regs = PCIR_BAR(0);
sys/dev/disk/sili/sili_attach.c
170
sc->sc_rid_pregs = PCIR_BAR(2);
sys/dev/disk/sym/sym_hipd.c
1035
#define SYM_PCI_IO PCIR_BAR(0)
sys/dev/disk/sym/sym_hipd.c
1036
#define SYM_PCI_MMIO PCIR_BAR(1)
sys/dev/disk/sym/sym_hipd.c
1037
#define SYM_PCI_RAM PCIR_BAR(2)
sys/dev/disk/sym/sym_hipd.c
1038
#define SYM_PCI_RAM64 PCIR_BAR(3)
sys/dev/disk/trm/trm.c
3395
int rid = PCIR_BAR(0), i = 0, j = 0;
sys/dev/disk/trm/trm.c
3516
bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(0),
sys/dev/disk/trm/trm.c
3633
bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(0),
sys/dev/disk/trm/trm.c
3696
bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(0), pACB->iores);
sys/dev/drm/amd/amdgpu/amdgpu_device.c
2489
data = pci_read_config(adev->dev->bsddev, PCIR_BAR(i), 4);
sys/dev/drm/amd/amdgpu/amdgpu_device.c
2491
adev->rio_rid = PCIR_BAR(i);
sys/dev/drm/drm_dragonfly.c
213
rid = PCIR_BAR(resource);
sys/dev/drm/include/linux/pci.h
256
rle = resource_list_find(&dinfo->resources, SYS_RES_MEMORY, PCIR_BAR(bar));
sys/dev/drm/include/linux/pci.h
259
SYS_RES_IOPORT, PCIR_BAR(bar));
sys/dev/drm/include/linux/pci.h
277
rid = PCIR_BAR(bar);
sys/dev/drm/include/linux/pci.h
280
kprintf("pci_resource_start(0x%p, 0x%x) failed\n", pdev, PCIR_BAR(bar));
sys/dev/drm/radeon/radeon_device.c
1429
data = pci_read_config(rdev->dev->bsddev, PCIR_BAR(i), 4);
sys/dev/drm/radeon/radeon_device.c
1431
rdev->rio_rid = PCIR_BAR(i);
sys/dev/misc/ipmi/ipmi_pci.c
127
sc->ipmi_io_rid = PCIR_BAR(0);
sys/dev/misc/ipmi/ipmi_pci.c
223
sc->ipmi_io_rid = PCIR_BAR(0);
sys/dev/misc/ipmi/ipmi_pci.c
224
if (PCI_BAR_IO(pci_read_config(dev, PCIR_BAR(0), 4)))
sys/dev/netif/ae/if_ae.c
1270
sc->ae_mem_rid = PCIR_BAR(0);
sys/dev/netif/age/if_agereg.h
38
#define AGE_PCIR_BAR PCIR_BAR(0)
sys/dev/netif/alc/if_alc.c
1360
sc->alc_res_rid = PCIR_BAR(0);
sys/dev/netif/ale/if_alereg.h
33
#define ALE_PCIR_BAR PCIR_BAR(0)
sys/dev/netif/bce/if_bce.c
1097
bus_release_resource(dev, SYS_RES_MEMORY, PCIR_BAR(0),
sys/dev/netif/bce/if_bce.c
714
rid = PCIR_BAR(0);
sys/dev/netif/bge/if_bge.c
2306
rid = PCIR_BAR(2);
sys/dev/netif/bge/if_bge.c
2743
PCIR_BAR(2), sc->bge_res2);
sys/dev/netif/bnx/if_bnx.c
2064
rid = PCIR_BAR(2);
sys/dev/netif/bnx/if_bnx.c
2553
PCIR_BAR(2), sc->bnx_res2);
sys/dev/netif/bnx/if_bnx.c
5960
sc->bnx_msix_mem_rid = PCIR_BAR(4);
sys/dev/netif/bnx/if_bnx.c
5963
sc->bnx_msix_mem_rid = PCIR_BAR(2);
sys/dev/netif/bwn/siba/sibareg.h
40
#define SIBA_PCIR_BAR PCIR_BAR(0)
sys/dev/netif/de/if_de.c
4092
#define PCI_CBIO PCIR_BAR(0) /* Configuration Base IO Address */
sys/dev/netif/de/if_de.c
4093
#define PCI_CBMA PCIR_BAR(1) /* Configuration Base Memory Address */
sys/dev/netif/em/if_em.c
2441
for (rid = PCIR_BAR(0); rid < PCIR_CARDBUSCIS;) {
sys/dev/netif/em/if_em.h
180
#define EM_BAR_MEM PCIR_BAR(0)
sys/dev/netif/em/if_em.h
181
#define EM_BAR_FLASH PCIR_BAR(1)
sys/dev/netif/emx/if_emx.h
130
#define EMX_BAR_MEM PCIR_BAR(0)
sys/dev/netif/emx/if_emx.h
131
#define EMX_BAR_FLASH PCIR_BAR(1)
sys/dev/netif/et/if_etreg.h
55
#define ET_PCIR_BAR PCIR_BAR(0)
sys/dev/netif/fxp/if_fxp.c
808
sc->saved_maps[i] = pci_read_config(dev, PCIR_BAR(i), 4);
sys/dev/netif/fxp/if_fxp.c
838
pci_write_config(dev, PCIR_BAR(i), sc->saved_maps[i], 4);
sys/dev/netif/igb/if_igb.c
4537
sc->msix_mem_rid = PCIR_BAR(IGB_MSIX_BAR);
sys/dev/netif/igb/if_igb.c
4541
sc->msix_mem_rid = PCIR_BAR(IGB_MSIX_BAR_ALT);
sys/dev/netif/igb/if_igb.c
551
sc->mem_rid = PCIR_BAR(0);
sys/dev/netif/iwi/if_iwi.c
325
i = PCIR_BAR(0);
sys/dev/netif/iwm/if_iwm.c
6001
rid = PCIR_BAR(0);
sys/dev/netif/iwn/if_iwn.c
480
rid = PCIR_BAR(0);
sys/dev/netif/ix/if_ix.c
4587
sc->msix_mem_rid = PCIR_BAR(IX_MSIX_BAR_82598);
sys/dev/netif/ix/if_ix.c
4591
sc->msix_mem_rid = PCIR_BAR(IX_MSIX_BAR_82599);
sys/dev/netif/ix/if_ix.c
507
sc->mem_rid = PCIR_BAR(0);
sys/dev/netif/jme/if_jmereg.h
47
#define JME_PCIR_BAR PCIR_BAR(0)
sys/dev/netif/lnc/if_lnc_pci.c
323
lesc->sc_rrid = PCIR_BAR(0);
sys/dev/netif/msk/if_msk.c
1504
bar0 = pci_read_config(dev, PCIR_BAR(0), 4);
sys/dev/netif/msk/if_msk.c
1505
bar1 = pci_read_config(dev, PCIR_BAR(1), 4);
sys/dev/netif/msk/if_msk.c
1516
pci_write_config(dev, PCIR_BAR(0), bar0, 4);
sys/dev/netif/msk/if_msk.c
1517
pci_write_config(dev, PCIR_BAR(1), bar1, 4);
sys/dev/netif/msk/if_msk.c
1532
sc->msk_res_rid = PCIR_BAR(1);
sys/dev/netif/msk/if_msk.c
1535
sc->msk_res_rid = PCIR_BAR(0);
sys/dev/netif/msk/if_msk.c
1542
sc->msk_res_rid = PCIR_BAR(1);
sys/dev/netif/msk/if_msk.c
1545
sc->msk_res_rid = PCIR_BAR(0);
sys/dev/netif/mxge/if_mxge.c
4502
bus_release_resource(dev, SYS_RES_MEMORY, PCIR_BAR(2),
sys/dev/netif/mxge/if_mxge.c
4581
rid = PCIR_BAR(2);
sys/dev/netif/nfe/if_nfe.c
487
sc->sc_mem_rid = PCIR_BAR(0);
sys/dev/netif/oce/oce_hw.c
169
PCIR_BAR(pci_cfg_barnum), sc->devcfg_res);
sys/dev/netif/oce/oce_hw.c
179
PCIR_BAR(OCE_PCI_CSR_BAR), sc->csr_res);
sys/dev/netif/oce/oce_hw.c
189
PCIR_BAR(OCE_PCI_DB_BAR), sc->db_res);
sys/dev/netif/oce/oce_hw.c
262
rr = PCIR_BAR(pci_cfg_barnum);
sys/dev/netif/oce/oce_hw.c
306
rr = PCIR_BAR(OCE_PCI_CSR_BAR);
sys/dev/netif/oce/oce_hw.c
316
rr = PCIR_BAR(OCE_PCI_DB_BAR);
sys/dev/netif/ral/if_ral_pci.c
241
rid = PCIR_BAR(0);
sys/dev/netif/re/if_re.c
717
sc->re_res_rid = PCIR_BAR(2);
sys/dev/netif/re/if_re.c
720
sc->re_res_rid = PCIR_BAR(0);
sys/dev/netif/re/re.c
4923
sc->re_res_id = PCIR_BAR(1);
sys/dev/netif/re/re.c
4928
sc->re_res_id = PCIR_BAR(2);
sys/dev/netif/re/re.c
4930
sc->re_res_id = PCIR_BAR(0);
sys/dev/netif/re/re.c
4936
sc->re_res_id = PCIR_BAR(0);
sys/dev/netif/re/re.c
4988
rid = PCIR_BAR(4);
sys/dev/netif/re/re.c
5403
rid = PCIR_BAR(4);
sys/dev/netif/rl/if_rl.c
1639
sc->saved_maps[i] = pci_read_config(dev, PCIR_BAR(i), 4);
sys/dev/netif/rl/if_rl.c
1667
pci_write_config(dev, PCIR_BAR(i), sc->saved_maps[i], 4);
sys/dev/netif/stge/if_stgereg.h
92
#define STGE_PCIR_LOIO PCIR_BAR(0)
sys/dev/netif/stge/if_stgereg.h
93
#define STGE_PCIR_LOMEM PCIR_BAR(1)
sys/dev/netif/tx/if_tx.c
178
#define EPIC_RID PCIR_BAR(0)
sys/dev/netif/tx/if_tx.c
181
#define EPIC_RID PCIR_BAR(1)
sys/dev/netif/wpi/if_wpi.c
397
rid = PCIR_BAR(0);
sys/dev/pccard/cardbus/cardbus.c
149
pci_write_config(dev, PCIR_BAR(i), 0, 4);
sys/dev/powermng/alpm/alpm.c
100
#define SMBBA PCIR_BAR(1)
sys/dev/raid/aac/aac_pci.c
396
rid = PCIR_BAR(0);
sys/dev/raid/aac/aac_pci.c
406
rid = PCIR_BAR(1);
sys/dev/raid/amr/amr_pci.c
243
rid = PCIR_BAR(0);
sys/dev/raid/amr/amr_pci.c
526
PCIR_BAR(0), sc->amr_reg);
sys/dev/raid/arcmsr/arcmsr.c
4436
u_int32_t rid0 = PCIR_BAR(0);
sys/dev/raid/arcmsr/arcmsr.c
4465
u_int32_t rid[]={ PCIR_BAR(0), PCIR_BAR(2) };
sys/dev/raid/arcmsr/arcmsr.c
4514
u_int32_t rid0 = PCIR_BAR(1);
sys/dev/raid/arcmsr/arcmsr.c
4542
u_int32_t rid0 = PCIR_BAR(0);
sys/dev/raid/arcmsr/arcmsr.c
4571
u_int32_t rid0 = PCIR_BAR(1);
sys/dev/raid/asr/asr.c
2187
p = pci_read_config(dev, PCIR_BAR(rid), sizeof(p));
sys/dev/raid/asr/asr.c
2198
rid = PCIR_BAR(rid);
sys/dev/raid/asr/asr.c
2234
if ((rid += sizeof(u_int32_t)) >= PCIR_BAR(4)) {
sys/dev/raid/iir/iir_pci.c
62
#define PCI_DPMEM PCIR_BAR(0)
sys/dev/raid/ips/ips_pci.c
101
sc->rid = PCIR_BAR(1);
sys/dev/raid/ips/ips_pci.c
103
sc->rid = PCIR_BAR(0);
sys/dev/raid/ips/ips_pci.c
110
sc->rid = PCIR_BAR(0);
sys/dev/raid/mfi/mfi_pci.c
253
sc->mfi_regs_rid = PCIR_BAR(0);
sys/dev/raid/mfi/mfi_pci.c
258
sc->mfi_regs_rid = PCIR_BAR(1);
sys/dev/raid/mly/mly.c
367
sc->mly_regs_rid = PCIR_BAR(0); /* first base address register */
sys/dev/raid/mpr/mpr_pci.c
206
sc->mpr_regs_rid = PCIR_BAR(i);
sys/dev/raid/mps/mps_pci.c
210
sc->mps_regs_rid = PCIR_BAR(1);
sys/dev/sound/pci/als4000.c
766
sc->regid = PCIR_BAR(0);
sys/dev/sound/pci/atiixp.c
1208
sc->regid = PCIR_BAR(0);
sys/dev/sound/pci/aureal.c
582
regid[j] = PCIR_BAR(i);
sys/dev/sound/pci/cmi.c
947
sc->regid = PCIR_BAR(0);
sys/dev/sound/pci/cs4281.c
780
sc->regid = PCIR_BAR(0);
sys/dev/sound/pci/cs4281.c
796
sc->memid = PCIR_BAR(1);
sys/dev/sound/pci/emu10k1.c
2092
i = PCIR_BAR(0);
sys/dev/sound/pci/emu10k1.c
2151
if (sc->reg) bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(0), sc->reg);
sys/dev/sound/pci/emu10k1.c
2174
bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(0), sc->reg);
sys/dev/sound/pci/emu10kx.c
3194
i = PCIR_BAR(0);
sys/dev/sound/pci/emu10kx.c
3443
bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(0), sc->reg);
sys/dev/sound/pci/emu10kx.c
3525
bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(0), sc->reg);
sys/dev/sound/pci/es137x.c
1730
es->regid = PCIR_BAR(0);
sys/dev/sound/pci/fm801.c
588
fm801->regid = PCIR_BAR(i);
sys/dev/sound/pci/fm801.c
724
if (type == SYS_RES_IOPORT && *rid == PCIR_BAR(0))
sys/dev/sound/pci/hda/hdac.c
743
mem->mem_rid = PCIR_BAR(0);
sys/dev/sound/pci/hdspe.c
130
sc->csid = PCIR_BAR(0);
sys/dev/sound/pci/hdspe.c
371
bus_release_resource(dev, SYS_RES_MEMORY, PCIR_BAR(0), sc->cs);
sys/dev/sound/pci/maestro.c
1781
int regid = PCIR_BAR(0);
sys/dev/sound/pci/maestro.c
95
#ifndef PCIR_BAR
sys/dev/sound/pci/neomagic.c
619
sc->regid = PCIR_BAR(1);
sys/dev/sound/pci/neomagic.c
676
sc->bufid = PCIR_BAR(0);
sys/dev/sound/pci/neomagic.c
679
sc->regid = PCIR_BAR(1);
sys/dev/sound/pci/solo.c
842
bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(0), sc->io);
sys/dev/sound/pci/solo.c
847
bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(1), sc->sb);
sys/dev/sound/pci/solo.c
852
bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(2), sc->vc);
sys/dev/sound/pci/solo.c
857
bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(3), sc->mpu);
sys/dev/sound/pci/solo.c
862
bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(4), sc->gp);
sys/dev/sound/pci/solo.c
886
rid = PCIR_BAR(0);
sys/dev/sound/pci/solo.c
889
rid = PCIR_BAR(1);
sys/dev/sound/pci/solo.c
892
rid = PCIR_BAR(2);
sys/dev/sound/pci/solo.c
895
rid = PCIR_BAR(3);
sys/dev/sound/pci/solo.c
898
rid = PCIR_BAR(4);
sys/dev/sound/pci/t4dwave.c
862
tr->regid = PCIR_BAR(0);
sys/dev/sound/pci/via8233.c
1190
via->regid = PCIR_BAR(0);
sys/dev/sound/pci/via82c686.c
521
via->regid = PCIR_BAR(0);
sys/dev/video/bktr/bktr_os.c
227
bktr->mem_rid = PCIR_BAR(0);
sys/dev/virtual/amazon/ena/ena.c
276
rid = PCIR_BAR(ENA_REG_BAR);
sys/dev/virtual/amazon/ena/ena.c
296
PCIR_BAR(ENA_MEM_BAR), adapter->memory);
sys/dev/virtual/amazon/ena/ena.c
301
PCIR_BAR(ENA_REG_BAR), adapter->registers);
sys/dev/virtual/virtio/pci/virtio_pci.c
258
rid = PCIR_BAR(0);
sys/dev/virtual/virtio/pci/virtio_pci.c
269
rid = PCIR_BAR(val & PCIM_MSIX_BIR_MASK);
sys/dev/virtual/virtio/pci/virtio_pci.c
317
bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(0),
sys/dev/virtual/vmware/pvscsi/pvscsi.c
1630
rid = PCIR_BAR(barid);
sys/dev/virtual/vmware/vmxnet3/if_vmx.c
434
rid = PCIR_BAR(0);
sys/dev/virtual/vmware/vmxnet3/if_vmx.c
446
rid = PCIR_BAR(1);
sys/dev/virtual/vmware/vmxnet3/if_vmx.c
459
rid = PCIR_BAR(2);
sys/dev/virtual/vmware/vmxnet3/if_vmx.c
479
rid = PCIR_BAR(0);
sys/dev/virtual/vmware/vmxnet3/if_vmx.c
485
rid = PCIR_BAR(1);
sys/dev/virtual/vmware/vmxnet3/if_vmx.c
491
rid = PCIR_BAR(2);
usr.sbin/pciconf/cap.c
352
PCIM_DEBUG_PORT_OFFSET, PCIR_BAR(debug_port >> 13));
usr.sbin/pciconf/cap.c
494
table_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK);
usr.sbin/pciconf/cap.c
496
pba_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK);
usr.sbin/pciconf/pciconf.c
453
bar.pbi_reg = PCIR_BAR(i);
usr.sbin/pciconf/pciconf.c
481
PCIR_BAR(i), type, range, (uintmax_t)base);