Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

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

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

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

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 0,64-252
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HOST_DATA 3 offset 0,64-252[c]
LOCK2 irq

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

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 1,65-253
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HOST_DATA 3 offset 1,65-253[c]
LOCK2 irq

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

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

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

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

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

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

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

arch/x86/kernel/early-quirks.c i830_tseg_size() -> read_pci_config_byte()

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

arch/x86/kernel/early-quirks.c i845_tseg_size() -> read_pci_config_byte()

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

arch/x86/kernel/early-quirks.c i85x_mem_size() -> read_pci_config_byte()

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

arch/x86/kernel/early-quirks.c i85x_tseg_size() -> read_pci_config_byte()

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

arch/x86/kernel/early-quirks.c intel_remapping_check() -> read_pci_config_byte()

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

drivers/usb/early/xhci-dbc.c xdbc_handle_events() -> read_pci_config_byte()

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 4
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &xdbc.lock
HALF_LOCKED2 flags
TYPE_LOCK (struct xdbc_state)->lock

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

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

drivers/iommu/intel/irq_remapping.c ir_parse_one_hpet_scope() -> read_pci_config_byte()

Type Parameter Key Value
PARAM_VALUE 3 offset 25
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 bus 0-255

drivers/iommu/intel/irq_remapping.c ir_parse_one_ioapic_scope() -> read_pci_config_byte()

Type Parameter Key Value
PARAM_VALUE 3 offset 25
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 bus 0-255

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

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

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

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

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 0,64-252
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HOST_DATA 3 offset 0,64-252[c]
HALF_LOCKED2 irq

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

Type Parameter Key Value
PARAM_VALUE 1 slot 0-31
PARAM_VALUE 2 func 0-7
PARAM_VALUE 3 offset 1,65-253
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 slot $1
DATA_SOURCE 2 func $2
HOST_DATA 3 offset 1,65-253[c]
HALF_LOCKED2 irq