/linux-6.3-rc2/arch/x86/pci/ |
A D | amd_bus.c | 92 id = read_pci_config(bus, slot, 0, PCI_VENDOR_ID); in early_root_info_init() 117 reg = read_pci_config(bus, slot, 1, in early_root_info_init() 144 reg = read_pci_config(bus, slot, 0, AMD_NB_F0_NODE_ID); in early_root_info_init() 146 reg = read_pci_config(bus, slot, 0, AMD_NB_F0_UNIT_ID); in early_root_info_init() 153 reg = read_pci_config(bus, slot, 1, 0xc0 + (i << 3)); in early_root_info_init() 158 reg = read_pci_config(bus, slot, 1, 0xc4 + (i << 3)); in early_root_info_init() 219 reg = read_pci_config(bus, slot, 1, 0x80 + (i << 3)); in early_root_info_init() 225 reg = read_pci_config(bus, slot, 1, 0x84 + (i << 3)); in early_root_info_init() 355 u32 val = read_pci_config(bus, slot, 3, 0); in pci_enable_pci_io_ecs() 360 val = read_pci_config(bus, slot, 3, 0x8c); in pci_enable_pci_io_ecs()
|
A D | early.c | 11 u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config() function
|
A D | broadcom_bus.c | 100 id = read_pci_config(bus, slot, 0, PCI_VENDOR_ID); in broadcom_postcore_init()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | aperture_64.c | 195 aper_low = read_pci_config(bus, slot, func, 0x10); in read_agp() 196 aper_hi = read_pci_config(bus, slot, func, 0x14); in read_agp() 244 class = read_pci_config(bus, slot, func, in search_agp_bridge() 326 if (!early_is_amd_nb(read_pci_config(bus, slot, 3, 0x00))) in early_gart_iommu_check() 329 ctl = read_pci_config(bus, slot, 3, AMD64_GARTAPERTURECTL); in early_gart_iommu_check() 333 aper_base = read_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE) & 0x7fff; in early_gart_iommu_check() 382 if (!early_is_amd_nb(read_pci_config(bus, slot, 3, 0x00))) in early_gart_iommu_check() 385 ctl = read_pci_config(bus, slot, 3, AMD64_GARTAPERTURECTL); in early_gart_iommu_check() 427 if (!early_is_amd_nb(read_pci_config(bus, slot, 3, 0x00))) in gart_iommu_hole_init() 434 ctl = read_pci_config(bus, slot, 3, in gart_iommu_hole_init() [all …]
|
A D | vsmp_64.c | 33 cfg = read_pci_config(0, 0x1f, 0, PCI_BASE_ADDRESS_0); in set_vsmp_ctl() 68 if (read_pci_config(0, 0x1f, 0, PCI_VENDOR_ID) == in detect_vsmp_box() 111 cfg = read_pci_config(0, 0x1f, 0, PCI_BASE_ADDRESS_0); in vsmp_cap_cpus()
|
A D | early-quirks.c | 41 htcfg = read_pci_config(num, slot, func, 0x68); in fix_hypertransport_config() 126 d = read_pci_config(num, slot, func, 0x70); in ati_ixp4x0_rev() 130 d = read_pci_config(num, slot, func, 0x8); in ati_ixp4x0_rev() 165 d = read_pci_config(num, slot, func, 0x8); in ati_sbx00_rev() 191 d = read_pci_config(num, slot, func, 0x64); in ati_bugs_contd() 337 bsm = read_pci_config(num, slot, func, INTEL_BSM); in gen3_stolen_base() 347 bsm = read_pci_config(num, slot, func, INTEL_GEN11_BSM_DW0); in gen11_stolen_base() 349 bsm |= (u64)read_pci_config(num, slot, func, INTEL_GEN11_BSM_DW1) << 32; in gen11_stolen_base() 661 addr = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0); in apple_airport_reset() 662 addr |= (u64)read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_1) << 32; in apple_airport_reset()
|
A D | mmconf-fam10h_64.c | 83 id = read_pci_config(bus, slot, 0, PCI_VENDOR_ID); in get_fam10h_pci_mmconf_base() 123 reg = read_pci_config(bus, slot, 1, 0x80 + (i << 3)); in get_fam10h_pci_mmconf_base() 128 reg = read_pci_config(bus, slot, 1, 0x84 + (i << 3)); in get_fam10h_pci_mmconf_base()
|
A D | early_printk.c | 262 cmdreg = read_pci_config(bus, slot, func, PCI_COMMAND); in early_pci_serial_init() 263 classcode = read_pci_config(bus, slot, func, PCI_CLASS_REVISION); in early_pci_serial_init() 264 bar0 = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0); in early_pci_serial_init()
|
/linux-6.3-rc2/arch/x86/mm/ |
A D | amdtopology.c | 38 header = read_pci_config(0, num, 0, 0x00); in find_northbridge() 44 header = read_pci_config(0, num, 1, 0x00); in find_northbridge() 74 reg = read_pci_config(0, nb, 0, 0x60); in amd_numa_init() 85 base = read_pci_config(0, nb, 1, 0x40 + i*8); in amd_numa_init() 86 limit = read_pci_config(0, nb, 1, 0x44 + i*8); in amd_numa_init()
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | rtas_pci.c | 31 static int read_pci_config; variable 68 ret = rtas_call(read_pci_config, 2, 2, &returnval, addr, size); in rtas_read_config() 194 read_pci_config = rtas_function_token(RTAS_FN_READ_PCI_CONFIG); in init_pci_config_tokens()
|
/linux-6.3-rc2/drivers/usb/early/ |
A D | ehci-dbgp.c | 394 class = read_pci_config(bus, slot, func, PCI_CLASS_REVISION); in __find_dbgp() 682 dword = read_pci_config(ehci_dev.bus, ehci_dev.slot, ehci_dev.func, in nvidia_set_debug_port() 695 vendorid = read_pci_config(ehci_dev.bus, ehci_dev.slot, ehci_dev.func, in detect_set_debug_port() 719 cap = read_pci_config(ehci_dev.bus, ehci_dev.slot, in early_ehci_bios_handoff() 734 cap = read_pci_config(ehci_dev.bus, ehci_dev.slot, in early_ehci_bios_handoff() 851 debug_port = read_pci_config(bus, slot, func, cap); in early_dbgp_init() 862 bar_val = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0); in early_dbgp_init()
|
A D | xhci-dbc.c | 45 val = read_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0); in xdbc_map_pci_mmio() 47 sz = read_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0); in xdbc_map_pci_mmio() 60 val = read_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0 + 4); in xdbc_map_pci_mmio() 62 sz = read_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0 + 4); in xdbc_map_pci_mmio() 115 class = read_pci_config(bus, dev, func, PCI_CLASS_REVISION); in xdbc_find_dbgp()
|
/linux-6.3-rc2/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() 269 class = read_pci_config(num, slot, func, in init_ohci1394_dma_on_all_controllers()
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | pci-direct.h | 10 extern u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset);
|
/linux-6.3-rc2/arch/x86/kernel/cpu/ |
A D | amd.c | 652 val = read_pci_config(0, 24, 0, 0x68); in early_init_amd()
|
/linux-6.3-rc2/drivers/iommu/amd/ |
A D | init.c | 3112 pci_id = read_pci_config(0, i, 0, 0); in detect_ivrs()
|