Defined in 1 files as a variable:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 14 files:

Smatch caller information:

arch/x86/kernel/aperture_64.c early_gart_iommu_check() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-254
PARAM_VALUE 2 func 3
PARAM_VALUE 3 offset 0
CAPPED_DATA 1 slot 1
LOCK2 irq

arch/x86/kernel/aperture_64.c early_gart_iommu_check() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-254
PARAM_VALUE 2 func 3
PARAM_VALUE 3 offset 144
CAPPED_DATA 1 slot 1
LOCK2 irq

arch/x86/kernel/aperture_64.c early_gart_iommu_check() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-254
PARAM_VALUE 2 func 3
PARAM_VALUE 3 offset 148
CAPPED_DATA 1 slot 1
LOCK2 irq

arch/x86/kernel/aperture_64.c early_gart_iommu_check() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-254
PARAM_VALUE 2 func 3
PARAM_VALUE 3 offset 0
CAPPED_DATA 1 slot 1
LOCK2 irq

arch/x86/kernel/aperture_64.c early_gart_iommu_check() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-254
PARAM_VALUE 2 func 3
PARAM_VALUE 3 offset 144
CAPPED_DATA 1 slot 1
LOCK2 irq

arch/x86/kernel/aperture_64.c gart_iommu_hole_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-254
PARAM_VALUE 2 func 3
PARAM_VALUE 3 offset 0
CAPPED_DATA 1 slot 1
LOCK2 irq

arch/x86/kernel/aperture_64.c gart_iommu_hole_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-254
PARAM_VALUE 2 func 3
PARAM_VALUE 3 offset 144
CAPPED_DATA 1 slot 1
LOCK2 irq

arch/x86/kernel/aperture_64.c gart_iommu_hole_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-254
PARAM_VALUE 2 func 3
PARAM_VALUE 3 offset 148
CAPPED_DATA 1 slot 1
LOCK2 irq

arch/x86/kernel/aperture_64.c gart_iommu_hole_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-254
PARAM_VALUE 2 func 3
PARAM_VALUE 3 offset 0
CAPPED_DATA 1 slot 1
LOCK2 irq

arch/x86/kernel/aperture_64.c read_agp() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 16
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
LOCK2 irq

arch/x86/kernel/aperture_64.c read_agp() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 20
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
LOCK2 irq

arch/x86/kernel/aperture_64.c search_agp_bridge() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 8
LOCK2 irq

arch/x86/kernel/vsmp_64.c detect_vsmp_box() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 0 bus 0
PARAM_VALUE 1 slot 31
PARAM_VALUE 2 func 0
PARAM_VALUE 3 offset 0
LOCK2 irq

arch/x86/kernel/vsmp_64.c set_vsmp_ctl() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 0 bus 0
PARAM_VALUE 1 slot 31
PARAM_VALUE 2 func 0
PARAM_VALUE 3 offset 16
LOCK2 irq

arch/x86/kernel/mmconf-fam10h_64.c get_fam10h_pci_mmconf_base() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 2 func 0
PARAM_VALUE 3 offset 0

arch/x86/kernel/mmconf-fam10h_64.c get_fam10h_pci_mmconf_base() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 2 func 1
PARAM_VALUE 3 offset 128,136-184

arch/x86/kernel/mmconf-fam10h_64.c get_fam10h_pci_mmconf_base() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 2 func 1
PARAM_VALUE 3 offset 132,140-188

arch/x86/kernel/early_printk.c early_pci_serial_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 3 offset 4
DATA_SOURCE 0 bus r simple_strtoul
DATA_SOURCE 1 slot r simple_strtoul
DATA_SOURCE 2 func r simple_strtoul
USER_DATA 0 bus 0-255
USER_DATA 1 slot 0-255
USER_DATA 2 func 0-255
HALF_LOCKED2 irq

arch/x86/kernel/early_printk.c early_pci_serial_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 3 offset 8
DATA_SOURCE 0 bus r simple_strtoul
DATA_SOURCE 1 slot r simple_strtoul
DATA_SOURCE 2 func r simple_strtoul
USER_DATA 0 bus 0-255
USER_DATA 1 slot 0-255
USER_DATA 2 func 0-255
HALF_LOCKED2 irq

arch/x86/kernel/early_printk.c early_pci_serial_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 3 offset 16
DATA_SOURCE 0 bus r simple_strtoul
DATA_SOURCE 1 slot r simple_strtoul
DATA_SOURCE 2 func r simple_strtoul
USER_DATA 0 bus 0-255
USER_DATA 1 slot 0-255
USER_DATA 2 func 0-255
HALF_LOCKED2 irq

drivers/iommu/amd/init.c detect_ivrs() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 0 bus 0
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0
PARAM_VALUE 3 offset 0
HALF_LOCKED2 flags
HALF_LOCKED2 irq

arch/x86/kernel/early-quirks.c apple_airport_reset() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 16
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HOST_DATA 0 bus 0-255
HALF_LOCKED2 irq

arch/x86/kernel/early-quirks.c apple_airport_reset() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 20
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HOST_DATA 0 bus 0-255
HALF_LOCKED2 irq

arch/x86/kernel/early-quirks.c ati_bugs_contd() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 100
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HOST_DATA 0 bus 0-255
HALF_LOCKED2 irq

arch/x86/kernel/early-quirks.c ati_ixp4x0_rev() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 112
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HOST_DATA 0 bus 0-255
HALF_LOCKED2 irq

arch/x86/kernel/early-quirks.c ati_ixp4x0_rev() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 8
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HOST_DATA 0 bus 0-255
HALF_LOCKED2 irq

arch/x86/kernel/early-quirks.c ati_sbx00_rev() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 8
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HOST_DATA 0 bus 0-255
HALF_LOCKED2 irq

arch/x86/kernel/early-quirks.c fix_hypertransport_config() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 104
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HOST_DATA 0 bus 0-255
HALF_LOCKED2 irq

arch/x86/kernel/early-quirks.c gen11_stolen_base() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 192
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HOST_DATA 0 bus 0-255
HALF_LOCKED2 irq

arch/x86/kernel/early-quirks.c gen11_stolen_base() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 196
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HOST_DATA 0 bus 0-255
HALF_LOCKED2 irq

arch/x86/kernel/early-quirks.c gen3_stolen_base() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 92
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HOST_DATA 0 bus 0-255
HALF_LOCKED2 irq

drivers/firewire/init_ohci1394_dma.c init_ohci1394_controller() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 0 bus 0-31
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 16
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
LOCK2 irq

drivers/firewire/init_ohci1394_dma.c init_ohci1394_dma_on_all_controllers() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 0 bus 0-31
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 8
LOCK2 irq

arch/x86/pci/amd_bus.c early_root_info_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 2 func 0
PARAM_VALUE 3 offset 0

arch/x86/pci/amd_bus.c early_root_info_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 2 func 1
PARAM_VALUE 3 offset 224,228-236

arch/x86/pci/amd_bus.c early_root_info_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 2 func 0
PARAM_VALUE 3 offset 96

arch/x86/pci/amd_bus.c early_root_info_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 2 func 0
PARAM_VALUE 3 offset 100

arch/x86/pci/amd_bus.c early_root_info_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 2 func 1
PARAM_VALUE 3 offset 192,200-216

arch/x86/pci/amd_bus.c early_root_info_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 2 func 1
PARAM_VALUE 3 offset 196,204-220

arch/x86/pci/amd_bus.c early_root_info_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 2 func 1
PARAM_VALUE 3 offset 128,136-184

arch/x86/pci/amd_bus.c early_root_info_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 2 func 1
PARAM_VALUE 3 offset 132,140-188

arch/x86/pci/amd_bus.c pci_enable_pci_io_ecs() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0,24
PARAM_VALUE 2 func 3
PARAM_VALUE 3 offset 0
CAPPED_DATA 1 slot 1

arch/x86/pci/amd_bus.c pci_enable_pci_io_ecs() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0,24
PARAM_VALUE 2 func 3
PARAM_VALUE 3 offset 140
CAPPED_DATA 1 slot 1

arch/x86/mm/amdtopology.c amd_numa_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 0 bus 0
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0
PARAM_VALUE 3 offset 96
DATA_SOURCE 1 slot r find_northbridge
LOCK2 irq

arch/x86/mm/amdtopology.c amd_numa_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 0 bus 0
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 1
PARAM_VALUE 3 offset 64-120
DATA_SOURCE 1 slot r find_northbridge
LOCK2 irq

arch/x86/mm/amdtopology.c amd_numa_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 0 bus 0
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 1
PARAM_VALUE 3 offset 68-124
DATA_SOURCE 1 slot r find_northbridge
LOCK2 irq

arch/x86/mm/amdtopology.c find_northbridge() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 0 bus 0
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0
PARAM_VALUE 3 offset 0
LOCK2 irq

arch/x86/mm/amdtopology.c find_northbridge() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 0 bus 0
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 1
PARAM_VALUE 3 offset 0
LOCK2 irq

arch/x86/kernel/cpu/amd.c early_init_amd() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 0 bus 0
PARAM_VALUE 1 slot 24
PARAM_VALUE 2 func 0
PARAM_VALUE 3 offset 104
LOCK2 irq

drivers/usb/early/xhci-dbc.c xdbc_find_dbgp() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 8
HALF_LOCKED2 irq

drivers/usb/early/xhci-dbc.c xdbc_map_pci_mmio() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 16
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HALF_LOCKED2 irq

drivers/usb/early/xhci-dbc.c xdbc_map_pci_mmio() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 16
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HALF_LOCKED2 irq

drivers/usb/early/xhci-dbc.c xdbc_map_pci_mmio() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 20
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HALF_LOCKED2 irq

drivers/usb/early/xhci-dbc.c xdbc_map_pci_mmio() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 20
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HALF_LOCKED2 irq

drivers/usb/early/ehci-dbgp.c __find_dbgp() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 8
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HALF_LOCKED2 irq

drivers/usb/early/ehci-dbgp.c detect_set_debug_port() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 0
HALF_LOCKED2 irq

drivers/usb/early/ehci-dbgp.c early_dbgp_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 64-252
DATA_SOURCE 3 offset r find_dbgp
HALF_LOCKED2 irq

drivers/usb/early/ehci-dbgp.c early_dbgp_init() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 16
HALF_LOCKED2 irq

drivers/usb/early/ehci-dbgp.c early_ehci_bios_handoff() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 1-255
HOST_DATA 3 offset 1-255
HALF_LOCKED2 irq

drivers/usb/early/ehci-dbgp.c early_ehci_bios_handoff() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 1-255
HOST_DATA 3 offset 1-255
HALF_LOCKED2 irq

drivers/usb/early/ehci-dbgp.c nvidia_set_debug_port() -> read_pci_config()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 116
HALF_LOCKED2 irq