Symbol: PCI_BAR
sys/arch/sparc/sparc/pci_fixup.c
166
saved = pci_conf_read(NULL, tag, PCI_BAR(i));
sys/arch/sparc/sparc/pci_fixup.c
167
pci_conf_write(NULL, tag, PCI_BAR(i), (pcireg_t) ~0x0);
sys/arch/sparc/sparc/pci_fixup.c
168
val = pci_conf_read(NULL, tag, PCI_BAR(i));
sys/arch/sparc/sparc/pci_fixup.c
169
pci_conf_write(NULL, tag, PCI_BAR(i), saved);
sys/arch/sparc/sparc/pci_fixup.c
175
PCI_BAR(i), saved, val);
sys/arch/sparc/sparc/pci_fixup.c
394
pci_conf_write(NULL, tag, PCI_BAR(j),
sys/arch/sparc/sparc/pci_fixup.c
396
val = pci_conf_read(NULL, tag, PCI_BAR(j));
sys/arch/sparc/sparc/pci_fixup.c
405
pci_conf_write(NULL, tag, PCI_BAR(j),
sys/arch/sparc/sparc/pci_fixup.c
409
"mask %08x (io)\n", PCI_BAR(j),
sys/arch/sparc/sparc/pci_fixup.c
423
pci_conf_write(NULL, tag, PCI_BAR(j),
sys/arch/sparc/sparc/pci_fixup.c
427
"mask %08x (mem)\n", PCI_BAR(j),
sys/arch/x86/pci/pci_ranges.c
351
basebar = pci_conf_read(pc, tag, PCI_BAR(bar));
sys/arch/x86/pci/pci_ranges.c
352
pci_conf_write(pc, tag, PCI_BAR(bar), 0xffffffff);
sys/arch/x86/pci/pci_ranges.c
353
sizebar = pci_conf_read(pc, tag, PCI_BAR(bar));
sys/arch/x86/pci/pci_ranges.c
354
pci_conf_write(pc, tag, PCI_BAR(bar), basebar);
sys/arch/x86/pci/pci_ranges.c
362
PCI_BAR(bar), basebar, sizebar);
sys/arch/x86/pci/pci_ranges.c
674
basebar = pci_conf_read(pc, tag, PCI_BAR(bar));
sys/arch/x86/pci/pci_ranges.c
675
pci_conf_write(pc, tag, PCI_BAR(bar), 0xffffffff);
sys/arch/x86/pci/pci_ranges.c
676
sizebar = pci_conf_read(pc, tag, PCI_BAR(bar));
sys/arch/x86/pci/pci_ranges.c
677
pci_conf_write(pc, tag, PCI_BAR(bar), basebar);
sys/arch/x86/pci/pci_ranges.c
685
PCI_BAR(bar), basebar, sizebar);
sys/dev/cardbus/if_ath_cardbus.c
83
#define ATH_PCI_MMBA PCI_BAR(0) /* memory mapped base */
sys/dev/cardbus/if_athn_cardbus.c
61
#define ATHN_PCI_MMBA PCI_BAR(0) /* memory mapped base */
sys/dev/cardbus/if_atw_cardbus.c
87
#define ATW_PCI_IOBA PCI_BAR(0) /* i/o mapped base */
sys/dev/cardbus/if_atw_cardbus.c
88
#define ATW_PCI_MMBA PCI_BAR(1) /* memory mapped base */
sys/dev/cardbus/if_rtw_cardbus.c
107
#define RTW_PCI_IOBA PCI_BAR(0) /* i/o mapped base */
sys/dev/cardbus/if_rtw_cardbus.c
108
#define RTW_PCI_MMBA PCI_BAR(1) /* memory mapped base */
sys/dev/cardbus/if_tlp_cardbus.c
84
#define TULIP_PCI_IOBA PCI_BAR(0) /* i/o mapped base */
sys/dev/cardbus/if_tlp_cardbus.c
85
#define TULIP_PCI_MMBA PCI_BAR(1) /* memory mapped base */
sys/dev/pci/cx23885reg.h
34
#define CX23885_MMBASE PCI_BAR(0)
sys/dev/pci/genfb_pci.c
238
PCI_BAR(i), sc->sc_bars[i]);
sys/dev/pci/if_an_pci.c
72
#define AN_PCI_IOBA PCI_BAR(2) /* i/o base */
sys/dev/pci/if_aq.c
1739
bar = pci_conf_read(pc, tag, PCI_BAR(0));
sys/dev/pci/if_aq.c
1745
memtype = pci_mapreg_type(pc, tag, PCI_BAR(0));
sys/dev/pci/if_aq.c
1746
if (pci_mapreg_map(pa, PCI_BAR(0), memtype, 0, &sc->sc_iot, &sc->sc_ioh,
sys/dev/pci/if_ath_pci.c
91
#define ATH_PCI_MMBA PCI_BAR(0) /* memory mapped base */
sys/dev/pci/if_athn_pci.c
60
#define ATHN_PCI_MMBA PCI_BAR(0) /* memory mapped base */
sys/dev/pci/if_atw_pci.c
77
#define ATW_PCI_IOBA PCI_BAR(0) /* i/o mapped base */
sys/dev/pci/if_atw_pci.c
78
#define ATW_PCI_MMBA PCI_BAR(1) /* memory mapped base */
sys/dev/pci/if_bwi_pci.c
56
#define BWI_PCI_BAR0 PCI_BAR(0)
sys/dev/pci/if_enavar.h
68
#define ENA_REG_BAR PCI_BAR(0)
sys/dev/pci/if_enavar.h
69
#define ENA_MEM_BAR PCI_BAR(2)
sys/dev/pci/if_ep_pci.c
98
#define PCI_CBIO PCI_BAR(0) /* Configuration Base IO Address */
sys/dev/pci/if_epic_pci.c
70
#define EPIC_PCI_IOBA PCI_BAR(0) /* i/o mapped base */
sys/dev/pci/if_epic_pci.c
71
#define EPIC_PCI_MMBA PCI_BAR(1) /* memory mapped base */
sys/dev/pci/if_ex_pci.c
84
#define PCI_CBIO PCI_BAR(0) /* Configuration Base IO Address */
sys/dev/pci/if_ex_pci.c
86
#define PCI_FUNCMEM PCI_BAR(2)
sys/dev/pci/if_hme_pci.c
58
#define PCI_HME_BASEADDR PCI_BAR(0)
sys/dev/pci/if_mtd_pci.c
57
#define PCI_IO_MAP_REG PCI_BAR(0)
sys/dev/pci/if_mtd_pci.c
58
#define PCI_MEM_MAP_REG PCI_BAR(1)
sys/dev/pci/if_ne_pci.c
154
#define PCI_CBIO PCI_BAR(0) /* Configuration Base IO Address */
sys/dev/pci/if_ntwoc_pci.c
100
#define PCI_CBMA_SCA PCI_BAR(2)
sys/dev/pci/if_ntwoc_pci.c
99
#define PCI_CBMA_ASIC PCI_BAR(0) /* Configuration Base Memory Address */
sys/dev/pci/if_ral_pci.c
95
#define RAL_PCI_BAR0 PCI_BAR(0)
sys/dev/pci/if_rtw_pci.c
104
#define RTW_PCI_IOBA PCI_BAR(0) /* i/o mapped base */
sys/dev/pci/if_rtw_pci.c
105
#define RTW_PCI_MMBA PCI_BAR(1) /* memory mapped base */
sys/dev/pci/if_tlp_pci.c
74
#define TULIP_PCI_IOBA PCI_BAR(0) /* i/o mapped base */
sys/dev/pci/if_tlp_pci.c
75
#define TULIP_PCI_MMBA PCI_BAR(1) /* memory mapped base */
sys/dev/pci/if_vmx.c
705
memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_BAR(0));
sys/dev/pci/if_vmx.c
706
if (pci_mapreg_map(pa, PCI_BAR(0), memtype, 0, &sc->vmx_iot0, &sc->vmx_ioh0,
sys/dev/pci/if_vmx.c
711
memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_BAR(1));
sys/dev/pci/if_vmx.c
712
if (pci_mapreg_map(pa, PCI_BAR(1), memtype, 0, &sc->vmx_iot1, &sc->vmx_ioh1,
sys/dev/pci/if_wi_pci.c
69
#define WI_PCI_CBMA PCI_BAR(0) /* Configuration Base Memory Address */
sys/dev/pci/if_wi_pci.c
71
#define WI_PCI_PLX_LOIO PCI_BAR(1) /* PLX chip iobase */
sys/dev/pci/if_wi_pci.c
72
#define WI_PCI_LOMEM PCI_BAR(2) /* ISA membase */
sys/dev/pci/if_wi_pci.c
73
#define WI_PCI_LOIO PCI_BAR(3) /* ISA iobase */
sys/dev/pci/ixgbe/ixgbe.c
3607
memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_BAR(0));
sys/dev/pci/ixgbe/ixgbe.c
3612
if (pci_mapreg_info(pa->pa_pc, pa->pa_tag, PCI_BAR(0),
sys/dev/pci/ixgbe/ixv.c
1512
memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_BAR(0));
sys/dev/pci/ixgbe/ixv.c
1517
if (pci_mapreg_info(pa->pa_pc, pa->pa_tag, PCI_BAR(0),
sys/dev/pci/pci_resource.c
1052
PCI_BAR(pi->pi_bar),
sys/dev/pci/pci_resource.c
1057
PCI_BAR(pi->pi_bar));
sys/dev/pci/pci_resource.c
1061
PCI_BAR(pi->pi_bar), base);
sys/dev/pci/pci_resource.c
1066
PCI_BAR(pi->pi_bar + 1), base);
sys/dev/pci/pci_resource.c
769
PCI_BAR(pi->pi_bar), 0);
sys/dev/pci/puc.c
188
bar = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_BAR(i));
sys/dev/pci/puc.c
206
PCI_BAR(i), type, 0,
sys/dev/pci/viaide.c
1213
if (pci_mapreg_map(pa, PCI_BAR(5), PCI_MAPREG_TYPE_IO, 0,
sys/dev/pci/viaide.c
1300
if (pci_mapreg_map(pa, PCI_BAR(wdc_cp->ch_channel),
sys/dev/pci/virtio_pci.c
484
reg = PCI_BAR(i);