Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kernel/
Daperture_64.c179 aper_low = read_pci_config(bus, slot, func, 0x10); in read_agp()
180 aper_hi = read_pci_config(bus, slot, func, 0x14); in read_agp()
228 class = read_pci_config(bus, slot, func, in search_agp_bridge()
305 if (!early_is_amd_nb(read_pci_config(bus, slot, 3, 0x00))) in early_gart_iommu_check()
308 ctl = read_pci_config(bus, slot, 3, AMD64_GARTAPERTURECTL); in early_gart_iommu_check()
312 aper_base = read_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE) & 0x7fff; in early_gart_iommu_check()
361 if (!early_is_amd_nb(read_pci_config(bus, slot, 3, 0x00))) in early_gart_iommu_check()
364 ctl = read_pci_config(bus, slot, 3, AMD64_GARTAPERTURECTL); in early_gart_iommu_check()
406 if (!early_is_amd_nb(read_pci_config(bus, slot, 3, 0x00))) in gart_iommu_hole_init()
413 ctl = read_pci_config(bus, slot, 3, in gart_iommu_hole_init()
[all …]
Dearly-quirks.c40 htcfg = read_pci_config(num, slot, func, 0x68); in fix_hypertransport_config()
125 d = read_pci_config(num, slot, func, 0x70); in ati_ixp4x0_rev()
129 d = read_pci_config(num, slot, func, 0x8); in ati_ixp4x0_rev()
164 d = read_pci_config(num, slot, func, 0x8); in ati_sbx00_rev()
190 d = read_pci_config(num, slot, func, 0x64); in ati_bugs_contd()
336 bsm = read_pci_config(num, slot, func, INTEL_BSM); in gen3_stolen_base()
346 bsm = read_pci_config(num, slot, func, INTEL_GEN11_BSM_DW0); in gen11_stolen_base()
348 bsm |= (u64)read_pci_config(num, slot, func, INTEL_GEN11_BSM_DW1) << 32; in gen11_stolen_base()
642 addr = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0); in apple_airport_reset()
643 addr |= (u64)read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_1) << 32; in apple_airport_reset()
Dvsmp_64.c93 cfg = read_pci_config(0, 0x1f, 0, PCI_BASE_ADDRESS_0); in set_vsmp_pv_ops()
144 if (read_pci_config(0, 0x1f, 0, PCI_VENDOR_ID) == in detect_vsmp_box()
184 cfg = read_pci_config(0, 0x1f, 0, PCI_BASE_ADDRESS_0); in vsmp_cap_cpus()
Dmmconf-fam10h_64.c83 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()
Dearly_printk.c258 cmdreg = read_pci_config(bus, slot, func, PCI_COMMAND); in early_pci_serial_init()
259 classcode = read_pci_config(bus, slot, func, PCI_CLASS_REVISION); in early_pci_serial_init()
260 bar0 = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0); in early_pci_serial_init()
Dpci-calgary_64.c1300 val = read_pci_config(bus, dev, 0, 0); in calgary_bus_has_devices()
1340 val = read_pci_config(bus, 0, 0, 0); in get_tce_space_from_tar()
1441 val = read_pci_config(bus, 0, 0, 0); in detect_calgary()
/Linux-v4.19/arch/x86/pci/
Damd_bus.c92 id = read_pci_config(bus, slot, 0, PCI_VENDOR_ID); in early_root_info_init()
116 reg = read_pci_config(bus, slot, 1, in early_root_info_init()
143 reg = read_pci_config(bus, slot, 0, AMD_NB_F0_NODE_ID); in early_root_info_init()
145 reg = read_pci_config(bus, slot, 0, AMD_NB_F0_UNIT_ID); in early_root_info_init()
152 reg = read_pci_config(bus, slot, 1, 0xc0 + (i << 3)); in early_root_info_init()
157 reg = read_pci_config(bus, slot, 1, 0xc4 + (i << 3)); in early_root_info_init()
218 reg = read_pci_config(bus, slot, 1, 0x80 + (i << 3)); in early_root_info_init()
224 reg = read_pci_config(bus, slot, 1, 0x84 + (i << 3)); in early_root_info_init()
354 u32 val = read_pci_config(bus, slot, 3, 0); in pci_enable_pci_io_ecs()
359 val = read_pci_config(bus, slot, 3, 0x8c); in pci_enable_pci_io_ecs()
Dearly.c11 u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config() function
Dbroadcom_bus.c104 id = read_pci_config(bus, slot, 0, PCI_VENDOR_ID); in broadcom_postcore_init()
/Linux-v4.19/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()
75 reg = read_pci_config(0, nb, 0, 0x60); in amd_numa_init()
86 base = read_pci_config(0, nb, 1, 0x40 + i*8); in amd_numa_init()
87 limit = read_pci_config(0, nb, 1, 0x44 + i*8); in amd_numa_init()
/Linux-v4.19/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()
206 read_pci_config = rtas_token("read-pci-config"); in init_pci_config_tokens()
/Linux-v4.19/drivers/usb/early/
Dehci-dbgp.c399 class = read_pci_config(bus, slot, func, PCI_CLASS_REVISION); in __find_dbgp()
687 dword = read_pci_config(ehci_dev.bus, ehci_dev.slot, ehci_dev.func, in nvidia_set_debug_port()
700 vendorid = read_pci_config(ehci_dev.bus, ehci_dev.slot, ehci_dev.func, in detect_set_debug_port()
724 cap = read_pci_config(ehci_dev.bus, ehci_dev.slot, in early_ehci_bios_handoff()
739 cap = read_pci_config(ehci_dev.bus, ehci_dev.slot, in early_ehci_bios_handoff()
856 debug_port = read_pci_config(bus, slot, func, cap); in early_dbgp_init()
867 bar_val = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0); in early_dbgp_init()
Dxhci-dbc.c45 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-v4.19/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-v4.19/arch/x86/include/asm/
Dpci-direct.h10 extern u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset);
/Linux-v4.19/arch/x86/kernel/cpu/
Damd.c671 val = read_pci_config(0, 24, 0, 0x68); in early_init_amd()