Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

arch/x86/kernel/aperture_64.c find_cap() -> read_pci_config_16()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 6
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_16()

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

drivers/iommu/amd/init.c check_sb_ioapic() -> read_pci_config_16()

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

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

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 68
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_16()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 68
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 check_dev_quirk() -> read_pci_config_16()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 10
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 check_dev_quirk() -> read_pci_config_16()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 0
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 check_dev_quirk() -> read_pci_config_16()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 2
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 chv_stolen_size() -> read_pci_config_16()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 80
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_size() -> read_pci_config_16()

Type Parameter Key Value
PARAM_VALUE 0 bus 0
PARAM_VALUE 1 slot 0
PARAM_VALUE 2 func 0
PARAM_VALUE 3 offset 82
HALF_LOCKED2 irq

arch/x86/kernel/early-quirks.c gen6_stolen_size() -> read_pci_config_16()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 80
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 gen8_stolen_size() -> read_pci_config_16()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 80
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 gen9_stolen_size() -> read_pci_config_16()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 80
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 i830_stolen_size() -> read_pci_config_16()

Type Parameter Key Value
PARAM_VALUE 0 bus 0
PARAM_VALUE 1 slot 0
PARAM_VALUE 2 func 0
PARAM_VALUE 3 offset 82
HALF_LOCKED2 irq

arch/x86/kernel/early-quirks.c i865_stolen_base() -> read_pci_config_16()

Type Parameter Key Value
PARAM_VALUE 0 bus 0
PARAM_VALUE 1 slot 0
PARAM_VALUE 2 func 0
PARAM_VALUE 3 offset 196
HALF_LOCKED2 irq

arch/x86/kernel/early-quirks.c intel_graphics_quirks() -> read_pci_config_16()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 2
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 intel_remapping_check() -> read_pci_config_16()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 2
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/usb/early/xhci-dbc.c early_xdbc_parse_parameter() -> read_pci_config_16()

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/xhci-dbc.c early_xdbc_parse_parameter() -> read_pci_config_16()

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

drivers/usb/early/ehci-dbgp.c find_cap() -> read_pci_config_16()

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

arch/x86/kernel/setup.c snb_gfx_workaround_needed() -> read_pci_config_16()

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

arch/x86/kernel/setup.c snb_gfx_workaround_needed() -> read_pci_config_16()

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