Lines Matching +full:cpu +full:- +full:cfg
1 // SPDX-License-Identifier: GPL-2.0-only
8 * mmconfig.c - Low-level direct PCI config space access via MMCONFIG
29 struct pci_mmcfg_region *cfg = pci_mmconfig_lookup(seg, bus); in get_base_addr() local
31 if (cfg) in get_base_addr()
32 return cfg->address; in get_base_addr()
42 int cpu = smp_processor_id(); in pci_exp_set_dev_base() local
44 cpu != mmcfg_last_accessed_cpu) { in pci_exp_set_dev_base()
46 mmcfg_last_accessed_cpu = cpu; in pci_exp_set_dev_base()
58 err: *value = -1; in pci_mmcfg_read()
59 return -EINVAL; in pci_mmcfg_read()
97 return -EINVAL; in pci_mmcfg_write()
103 return -EINVAL; in pci_mmcfg_write()
143 int pci_mmcfg_arch_map(struct pci_mmcfg_region *cfg) in pci_mmcfg_arch_map() argument
148 void pci_mmcfg_arch_unmap(struct pci_mmcfg_region *cfg) in pci_mmcfg_arch_unmap() argument