/linux/drivers/gpu/drm/i915/gvt/ |
A D | cfg_space.c | 52 [PCI_BASE_ADDRESS_0 ... PCI_CARDBUS_CIS - 1] = 0xff, 171 val = vgpu_cfg_space(vgpu)[PCI_BASE_ADDRESS_0]; in trap_gttmmio() 173 start = *(u64 *)(vgpu_cfg_space(vgpu) + PCI_BASE_ADDRESS_0); in trap_gttmmio() 175 start = *(u32 *)(vgpu_cfg_space(vgpu) + PCI_BASE_ADDRESS_0); in trap_gttmmio() 253 case PCI_BASE_ADDRESS_0: in emulate_pci_bar_write() 277 case PCI_BASE_ADDRESS_0: in emulate_pci_bar_write() 336 case PCI_BASE_ADDRESS_0 ... PCI_BASE_ADDRESS_5: in intel_vgpu_emulate_cfg_write()
|
/linux/arch/x86/pci/ |
A D | ce4100.c | 182 case PCI_BASE_ADDRESS_0: in bridge_read() 183 case PCI_BASE_ADDRESS_0 + 1: in bridge_read() 184 case PCI_BASE_ADDRESS_0 + 2: in bridge_read() 185 case PCI_BASE_ADDRESS_0 + 3: in bridge_read() 205 PCI_BASE_ADDRESS_0, 4, &av_bridge_base); in bridge_read() 307 ((reg & ~3) == PCI_BASE_ADDRESS_0)) in ce4100_conf_write()
|
A D | intel_mid_pci.c | 102 int bar = (reg - PCI_BASE_ADDRESS_0) >> 2; in pci_device_update_fixed() 201 (where >= PCI_BASE_ADDRESS_0 && where <= PCI_BASE_ADDRESS_5)) { in pci_write()
|
/linux/arch/mips/pci/ |
A D | pci-rt2880.c | 217 rt2880_pci_write_u32(PCI_BASE_ADDRESS_0, 0x08000000); in rt288x_pci_probe() 218 (void) rt2880_pci_read_u32(PCI_BASE_ADDRESS_0); in rt288x_pci_probe() 242 pci_bus_write_config_dword(dev->bus, 0, PCI_BASE_ADDRESS_0, in pcibios_plat_dev_init() 244 pci_bus_read_config_dword(dev->bus, 0, PCI_BASE_ADDRESS_0, in pcibios_plat_dev_init()
|
A D | pci-mt7620.c | 370 pci_config_write(dev->bus, 0, PCI_BASE_ADDRESS_0, 4, in pcibios_map_irq() 372 pci_config_read(dev->bus, 0, PCI_BASE_ADDRESS_0, 4, &val); in pcibios_map_irq()
|
A D | pci-ar724x.c | 149 if (where == PCI_BASE_ADDRESS_0 && size == 4 && in ar724x_pci_read() 175 if (soc_is_ar7240() && where == PCI_BASE_ADDRESS_0 && size == 4) { in ar724x_pci_write()
|
A D | pci-rt3883.c | 535 PCI_BASE_ADDRESS_0, in rt3883_pci_probe() 539 PCI_BASE_ADDRESS_0); in rt3883_pci_probe()
|
/linux/arch/x86/kernel/ |
A D | vsmp_64.c | 33 cfg = read_pci_config(0, 0x1f, 0, PCI_BASE_ADDRESS_0); in set_vsmp_ctl() 111 cfg = read_pci_config(0, 0x1f, 0, PCI_BASE_ADDRESS_0); in vsmp_cap_cpus()
|
/linux/drivers/net/wireless/ath/ath9k/ |
A D | ath9k_pci_owl_loader.c | 74 pci_read_config_dword(pdev, PCI_BASE_ADDRESS_0, &bar0); in ath9k_pci_fixup() 75 pci_write_config_dword(pdev, PCI_BASE_ADDRESS_0, in ath9k_pci_fixup() 105 pci_write_config_dword(pdev, PCI_BASE_ADDRESS_0, bar0); in ath9k_pci_fixup()
|
/linux/drivers/xen/xen-pciback/ |
A D | conf_space_header.c | 178 unsigned int pos = (offset - PCI_BASE_ADDRESS_0) / 4; in bar_write() 237 pos = (offset - PCI_BASE_ADDRESS_0) / 4; in bar_init() 388 CFG_FIELD_BAR(PCI_BASE_ADDRESS_0), 399 CFG_FIELD_BAR(PCI_BASE_ADDRESS_0),
|
/linux/drivers/usb/early/ |
A D | xhci-dbc.c | 45 val = read_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0); in xdbc_map_pci_mmio() 46 write_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0, ~0); in xdbc_map_pci_mmio() 47 sz = read_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0); in xdbc_map_pci_mmio() 48 write_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0, val); in xdbc_map_pci_mmio() 60 val = read_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0 + 4); in xdbc_map_pci_mmio() 61 write_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0 + 4, ~0); in xdbc_map_pci_mmio() 62 sz = read_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0 + 4); in xdbc_map_pci_mmio() 63 write_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0 + 4, val); in xdbc_map_pci_mmio()
|
/linux/drivers/mtd/devices/ |
A D | pmc551.c | 409 pci_read_config_dword(dev, PCI_BASE_ADDRESS_0, &cfg); in fixup_pmc551() 411 pci_write_config_dword(dev, PCI_BASE_ADDRESS_0, ~0); in fixup_pmc551() 412 pci_read_config_dword(dev, PCI_BASE_ADDRESS_0, &size); in fixup_pmc551() 415 pci_write_config_dword(dev, PCI_BASE_ADDRESS_0, cfg); in fixup_pmc551()
|
/linux/drivers/pci/controller/dwc/ |
A D | pci-keystone.c | 404 dw_pcie_writel_dbi(pci, PCI_BASE_ADDRESS_0, 0); in ks_pcie_setup_rc_app_regs() 470 dw_pcie_writel_dbi(pci, PCI_BASE_ADDRESS_0, 1); in ks_pcie_v3_65_add_bus() 471 dw_pcie_writel_dbi(pci, PCI_BASE_ADDRESS_0, SZ_4K - 1); in ks_pcie_v3_65_add_bus() 479 dw_pcie_writel_dbi(pci, PCI_BASE_ADDRESS_0, ks_pcie->app.start); in ks_pcie_v3_65_add_bus() 874 dw_pcie_writel_dbi2(pci, PCI_BASE_ADDRESS_0, APP_ADDR_SPACE_0 - 1); in ks_pcie_am654_ep_init() 875 dw_pcie_writel_dbi(pci, PCI_BASE_ADDRESS_0, flags); in ks_pcie_am654_ep_init()
|
/linux/arch/powerpc/kernel/ |
A D | pci_of_scan.c | 150 if (PCI_BASE_ADDRESS_0 <= i && i <= PCI_BASE_ADDRESS_5) { in of_pci_parse_addrs() 151 res = &dev->resource[(i - PCI_BASE_ADDRESS_0) >> 2]; in of_pci_parse_addrs()
|
/linux/arch/sparc/kernel/ |
A D | leon_pci_grpci1.c | 442 grpci1_cfg_w32(priv, TGT, 0, PCI_BASE_ADDRESS_0, 0xffffffff); in grpci1_hw_init() 443 grpci1_cfg_r32(priv, TGT, 0, PCI_BASE_ADDRESS_0, &bar_sz); in grpci1_hw_init() 446 grpci1_cfg_w32(priv, TGT, 0, PCI_BASE_ADDRESS_0, pciadr); in grpci1_hw_init()
|
/linux/drivers/pci/controller/ |
A D | pci-versatile.c | 132 writel(__pa(PAGE_OFFSET), local_pci_cfg_base + PCI_BASE_ADDRESS_0); in versatile_pci_probe()
|
A D | pci-xgene.c | 146 if (pci_is_root_bus(bus) && ((offset == PCI_BASE_ADDRESS_0) || in xgene_pcie_hide_rc_bars() 510 bar_addr = cfg_base + PCI_BASE_ADDRESS_0; in xgene_pcie_setup_ib_reg()
|
/linux/arch/arm/kernel/ |
A D | bios32.c | 84 pci_write_config_dword(dev, PCI_BASE_ADDRESS_0, PCI_BASE_ADDRESS_SPACE_MEMORY); in pci_fixup_83c553() 218 pci_write_config_dword(dev, PCI_BASE_ADDRESS_0, in pci_fixup_cy82c693()
|
/linux/drivers/vfio/pci/ |
A D | vfio_pci_config.c | 35 ((offset >= PCI_BASE_ADDRESS_0 && offset < PCI_BASE_ADDRESS_5 + 4) || \ 428 for (i = PCI_BASE_ADDRESS_0; i <= PCI_BASE_ADDRESS_5; i += 4, rbar++) in vfio_bar_restore() 473 vbar = (__le32 *)&vdev->vconfig[PCI_BASE_ADDRESS_0]; in vfio_bar_fixup() 541 int i = 0, pos = PCI_BASE_ADDRESS_0, ret; in vfio_need_bar_restore() 675 p_setd(perm, PCI_BASE_ADDRESS_0, ALL_VIRT, ALL_WRITE); in init_pci_cap_basic_perm() 1713 vdev->rbar[0] = le32_to_cpu(*(__le32 *)&vconfig[PCI_BASE_ADDRESS_0]); in vfio_config_init()
|
/linux/arch/powerpc/sysdev/ |
A D | fsl_pci.c | 299 early_write_config_dword(hose, 0, 0, PCI_BASE_ADDRESS_0, 0xffffffff); in setup_pci_atmu() 300 early_read_config_dword(hose, 0, 0, PCI_BASE_ADDRESS_0, &pcicsrbar_sz); in setup_pci_atmu() 308 early_write_config_dword(hose, 0, 0, PCI_BASE_ADDRESS_0, pcicsrbar); in setup_pci_atmu() 916 PCI_DEVFN(0, 0), PCI_BASE_ADDRESS_0, &base); in fsl_pci_immrbar_base()
|
/linux/drivers/net/wan/ |
A D | pc300too.c | 335 pci_write_config_dword(pdev, PCI_BASE_ADDRESS_0, scaphys); in pc300_pci_init_one() 337 pci_write_config_dword(pdev, PCI_BASE_ADDRESS_0, plxphys); in pc300_pci_init_one()
|
/linux/drivers/firewire/ |
A D | init_ohci1394_dma.c | 243 ohci_base = read_pci_config(num, slot, func, PCI_BASE_ADDRESS_0+(0<<2)) in init_ohci1394_controller()
|
/linux/drivers/pci/hotplug/ |
A D | ibmphp_pci.c | 333 PCI_BASE_ADDRESS_0, in configure_device() 568 PCI_BASE_ADDRESS_0, in configure_bridge() 1057 PCI_BASE_ADDRESS_0, in scan_behind_bridge() 1186 PCI_BASE_ADDRESS_0, in unconfigure_boot_device() 1314 PCI_BASE_ADDRESS_0, in unconfigure_boot_bridge()
|
/linux/arch/xtensa/lib/ |
A D | pci-auto.c | 68 for (bar = PCI_BASE_ADDRESS_0, bar_nr = 0; in pciauto_setup_bars()
|
/linux/arch/powerpc/platforms/powermac/ |
A D | pci.c | 1132 pci_write_config_dword(dev, PCI_BASE_ADDRESS_0, 0); in pmac_pci_fixup_pciata() 1158 pci_write_config_dword(dev, PCI_BASE_ADDRESS_0 + 4 * i, in fixup_k2_sata() 1168 pci_write_config_dword(dev, PCI_BASE_ADDRESS_0 + 4 * i, in fixup_k2_sata()
|