Home
last modified time | relevance | path

Searched refs:read_pci_config (Results 1 – 16 of 16) sorted by relevance

/linux-4.4.14/arch/x86/kernel/
Daperture_64.c150 aper_low = read_pci_config(bus, slot, func, 0x10); in read_agp()
151 aper_hi = read_pci_config(bus, slot, func, 0x14); in read_agp()
199 class = read_pci_config(bus, slot, func, in search_agp_bridge()
284 if (!early_is_amd_nb(read_pci_config(bus, slot, 3, 0x00))) in early_gart_iommu_check()
287 ctl = read_pci_config(bus, slot, 3, AMD64_GARTAPERTURECTL); in early_gart_iommu_check()
291 aper_base = read_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE) & 0x7fff; in early_gart_iommu_check()
340 if (!early_is_amd_nb(read_pci_config(bus, slot, 3, 0x00))) in early_gart_iommu_check()
343 ctl = read_pci_config(bus, slot, 3, AMD64_GARTAPERTURECTL); in early_gart_iommu_check()
385 if (!early_is_amd_nb(read_pci_config(bus, slot, 3, 0x00))) in gart_iommu_hole_init()
392 ctl = read_pci_config(bus, slot, 3, in gart_iommu_hole_init()
[all …]
Dvsmp_64.c96 cfg = read_pci_config(0, 0x1f, 0, PCI_BASE_ADDRESS_0); in set_vsmp_pv_ops()
150 if (read_pci_config(0, 0x1f, 0, PCI_VENDOR_ID) == in detect_vsmp_box()
190 cfg = read_pci_config(0, 0x1f, 0, PCI_BASE_ADDRESS_0); in vsmp_cap_cpus()
Dmmconf-fam10h_64.c82 id = read_pci_config(bus, slot, 0, PCI_VENDOR_ID); in get_fam10h_pci_mmconf_base()
122 reg = read_pci_config(bus, slot, 1, 0x80 + (i << 3)); in get_fam10h_pci_mmconf_base()
127 reg = read_pci_config(bus, slot, 1, 0x84 + (i << 3)); in get_fam10h_pci_mmconf_base()
Dearly-quirks.c34 htcfg = read_pci_config(num, slot, func, 0x68); in fix_hypertransport_config()
112 d = read_pci_config(num, slot, func, 0x70); in ati_ixp4x0_rev()
116 d = read_pci_config(num, slot, func, 0x8); in ati_ixp4x0_rev()
151 d = read_pci_config(num, slot, func, 0x8); in ati_sbx00_rev()
177 d = read_pci_config(num, slot, func, 0x64); in ati_bugs_contd()
238 base = read_pci_config(num, slot, func, 0x5c); in intel_stolen_base()
Dearly_printk.c256 cmdreg = read_pci_config(bus, slot, func, PCI_COMMAND); in early_pci_serial_init()
257 classcode = read_pci_config(bus, slot, func, PCI_CLASS_REVISION); in early_pci_serial_init()
258 bar0 = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0); in early_pci_serial_init()
Dpci-calgary_64.c1295 val = read_pci_config(bus, dev, 0, 0); in calgary_bus_has_devices()
1335 val = read_pci_config(bus, 0, 0, 0); in get_tce_space_from_tar()
1436 val = read_pci_config(bus, 0, 0, 0); in detect_calgary()
/linux-4.4.14/arch/x86/pci/
Damd_bus.c91 id = read_pci_config(bus, slot, 0, PCI_VENDOR_ID); in early_root_info_init()
115 reg = read_pci_config(bus, slot, 1, in early_root_info_init()
142 reg = read_pci_config(bus, slot, 0, AMD_NB_F0_NODE_ID); in early_root_info_init()
144 reg = read_pci_config(bus, slot, 0, AMD_NB_F0_UNIT_ID); in early_root_info_init()
151 reg = read_pci_config(bus, slot, 1, 0xc0 + (i << 3)); in early_root_info_init()
156 reg = read_pci_config(bus, slot, 1, 0xc4 + (i << 3)); in early_root_info_init()
217 reg = read_pci_config(bus, slot, 1, 0x80 + (i << 3)); in early_root_info_init()
223 reg = read_pci_config(bus, slot, 1, 0x84 + (i << 3)); in early_root_info_init()
370 u32 val = read_pci_config(bus, slot, 3, 0); in pci_enable_pci_io_ecs()
375 val = read_pci_config(bus, slot, 3, 0x8c); in pci_enable_pci_io_ecs()
Dearly.c10 u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config() function
72 val = read_pci_config(bus, slot, func, i); in early_dump_pci_device()
94 class = read_pci_config(bus, slot, func, in early_dump_pci_devices()
Dbroadcom_bus.c104 id = read_pci_config(bus, slot, 0, PCI_VENDOR_ID); in broadcom_postcore_init()
/linux-4.4.14/arch/x86/mm/
Damdtopology.c39 header = read_pci_config(0, num, 0, 0x00); in find_northbridge()
45 header = read_pci_config(0, num, 1, 0x00); in find_northbridge()
90 reg = read_pci_config(0, nb, 0, 0x60); in amd_numa_init()
101 base = read_pci_config(0, nb, 1, 0x40 + i*8); in amd_numa_init()
102 limit = read_pci_config(0, nb, 1, 0x44 + i*8); in amd_numa_init()
/linux-4.4.14/arch/powerpc/kernel/
Drtas_pci.c43 static int read_pci_config; variable
80 ret = rtas_call(read_pci_config, 2, 2, &returnval, addr, size); in rtas_read_config()
231 read_pci_config = rtas_token("read-pci-config"); in init_pci_config_tokens()
/linux-4.4.14/drivers/usb/early/
Dehci-dbgp.c399 class = read_pci_config(bus, slot, func, PCI_CLASS_REVISION); in __find_dbgp()
688 dword = read_pci_config(ehci_dev.bus, ehci_dev.slot, ehci_dev.func, in nvidia_set_debug_port()
701 vendorid = read_pci_config(ehci_dev.bus, ehci_dev.slot, ehci_dev.func, in detect_set_debug_port()
725 cap = read_pci_config(ehci_dev.bus, ehci_dev.slot, in early_ehci_bios_handoff()
740 cap = read_pci_config(ehci_dev.bus, ehci_dev.slot, in early_ehci_bios_handoff()
857 debug_port = read_pci_config(bus, slot, func, cap); in early_dbgp_init()
868 bar_val = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0); in early_dbgp_init()
/linux-4.4.14/drivers/firewire/
Dinit_ohci1394_dma.c256 ohci_base = read_pci_config(num, slot, func, PCI_BASE_ADDRESS_0+(0<<2)) in init_ohci1394_controller()
282 class = read_pci_config(num, slot, func, in init_ohci1394_dma_on_all_controllers()
/linux-4.4.14/arch/x86/include/asm/
Dpci-direct.h9 extern u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset);
/linux-4.4.14/arch/x86/lguest/
Dboot.c1249 if (read_pci_config(0, 1, 0, 0) != 0x10431AF4) { in probe_pci_console()
1251 read_pci_config(0, 1, 0, 0)); in probe_pci_console()
1267 offset = read_pci_config(0, 1, 0, in probe_pci_console()
1269 length = read_pci_config(0, 1, 0, in probe_pci_console()
/linux-4.4.14/arch/x86/kernel/cpu/
Damd.c564 val = read_pci_config(0, 24, 0, 0x68); in early_init_amd()