Defined in 4 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/pci/controller/pcie-mt7621.c mt7621_pcie_enable_port() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 12
RX_PATH
TASK_NOT_RUNNING

drivers/pci/controller/pcie-mt7621.c read_config() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 reg 36
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING

drivers/pci/controller/pcie-xilinx-dma-pl.c xilinx_mask_intx_irq() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 reg 356
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
LOCK2 flags
LOCK2 0 &port->lock
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags
TYPE_LOCK (struct pl_dma_pcie)->lock

drivers/pci/controller/pcie-xilinx-dma-pl.c xilinx_pl_dma_pcie_clear_err_interrupts() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 reg 340
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/pci/controller/pcie-xilinx-dma-pl.c xilinx_pl_dma_pcie_event_flow() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 312
DATA_SOURCE 0 port $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/pci/controller/pcie-xilinx-dma-pl.c xilinx_pl_dma_pcie_event_flow() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->variant 4096-ptr_max
PARAM_VALUE 1 reg 316
DATA_SOURCE 0 port $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/pci/controller/pcie-xilinx-dma-pl.c xilinx_pl_dma_pcie_init_port() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->reg_base 0,4096-ptr_max
PARAM_VALUE 0 port->variant 4096-ptr_max
PARAM_VALUE 1 reg 312
BUF_SIZE 0 port 0-1080
BUF_SIZE 0 port 0-1080
BUF_SIZE 0 port->dev 1616
CAPPED_DATA 0 port->cfg 1
DATA_SOURCE 0 port $0
TERMINATED 0 port->cfg->res.name 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 port->msi.irq_msi0
NO_OVERFLOW_SIMPLE 0 port->msi.irq_msi1

drivers/pci/controller/pcie-xilinx-dma-pl.c xilinx_pl_dma_pcie_init_port() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->reg_base 0,4096-ptr_max
PARAM_VALUE 0 port->variant 4096-ptr_max
PARAM_VALUE 1 reg 328
BUF_SIZE 0 port 0-1080
BUF_SIZE 0 port 0-1080
BUF_SIZE 0 port->dev 1616
CAPPED_DATA 0 port->cfg 1
DATA_SOURCE 0 port $0
TERMINATED 0 port->cfg->res.name 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 port->msi.irq_msi0
NO_OVERFLOW_SIMPLE 0 port->msi.irq_msi1

drivers/pci/controller/pcie-xilinx-dma-pl.c xilinx_pl_dma_pcie_intx_flow() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 352
DATA_SOURCE 0 port $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/pci/controller/pcie-xilinx-dma-pl.c xilinx_pl_dma_pcie_link_up() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 324
BUF_SIZE 0 port (-1)-1080
BUF_SIZE 0 port (-1)-1080
BUF_SIZE 0 port->dev (-1),1616
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 port->cfg->res.start
NO_OVERFLOW_SIMPLE 0 port->msi.irq_msi0
NO_OVERFLOW_SIMPLE 0 port->msi.irq_msi1
UNITS 0 port unit_byte

drivers/pci/controller/pcie-xilinx-dma-pl.c xilinx_pl_dma_pcie_mask_event_irq() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 reg 316
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
LOCK2 0 &port->lock
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags
TYPE_LOCK (struct pl_dma_pcie)->lock

drivers/pci/controller/pcie-xilinx-dma-pl.c xilinx_pl_dma_pcie_msi_handler_high() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 372
DATA_SOURCE 0 port $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/pci/controller/pcie-xilinx-dma-pl.c xilinx_pl_dma_pcie_msi_handler_high() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->variant 4096-ptr_max
PARAM_VALUE 1 reg 372
DATA_SOURCE 0 port $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/pci/controller/pcie-xilinx-dma-pl.c xilinx_pl_dma_pcie_msi_handler_low() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 368
DATA_SOURCE 0 port $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/pci/controller/pcie-xilinx-dma-pl.c xilinx_pl_dma_pcie_msi_handler_low() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->variant 4096-ptr_max
PARAM_VALUE 1 reg 368
DATA_SOURCE 0 port $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/pci/controller/pcie-xilinx-dma-pl.c xilinx_pl_dma_pcie_unmask_event_irq() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 reg 316
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
LOCK2 0 &port->lock
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags
TYPE_LOCK (struct pl_dma_pcie)->lock

drivers/pci/controller/pcie-xilinx-dma-pl.c xilinx_unmask_intx_irq() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 reg 356
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
LOCK2 flags
LOCK2 0 &port->lock
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags
TYPE_LOCK (struct pl_dma_pcie)->lock

drivers/pci/controller/pcie-xilinx-cpm.c cpm_pcie_clear_err_interrupts() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 reg 3628
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/pci/controller/pcie-xilinx-cpm.c cpm_pcie_link_up() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->reg_base 0,4096-ptr_max
PARAM_VALUE 1 reg 3612
BUF_SIZE 0 port 0-1080
BUF_SIZE 0 port 0-1080
BUF_SIZE 0 port->dev 1616
DATA_SOURCE 0 port $0
TERMINATED 0 port->cfg->res.name 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 port->cfg->res.start

drivers/pci/controller/pcie-xilinx-cpm.c xilinx_cpm_mask_event_irq() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 reg 3604
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
LOCK2 0 &port->lock
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags
TYPE_LOCK (struct xilinx_cpm_pcie)->lock

drivers/pci/controller/pcie-xilinx-cpm.c xilinx_cpm_mask_leg_irq() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 reg 3644
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
LOCK2 flags
LOCK2 0 &port->lock
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags
TYPE_LOCK (struct xilinx_cpm_pcie)->lock

drivers/pci/controller/pcie-xilinx-cpm.c xilinx_cpm_pcie_event_flow() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 reg 3600
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte

drivers/pci/controller/pcie-xilinx-cpm.c xilinx_cpm_pcie_event_flow() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 reg 3604
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte

drivers/pci/controller/pcie-xilinx-cpm.c xilinx_cpm_pcie_init_port() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->reg_base 0,4096-ptr_max
PARAM_VALUE 1 reg 3600
BUF_SIZE 0 port 0-1080
BUF_SIZE 0 port 0-1080
BUF_SIZE 0 port->dev 1616
DATA_SOURCE 0 port $0
TERMINATED 0 port->cfg->res.name 1
RX_PATH
TASK_NOT_RUNNING

drivers/pci/controller/pcie-xilinx-cpm.c xilinx_cpm_pcie_init_port() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->reg_base 0,4096-ptr_max
PARAM_VALUE 1 reg 3616
BUF_SIZE 0 port 0-1080
BUF_SIZE 0 port 0-1080
BUF_SIZE 0 port->dev 1616
DATA_SOURCE 0 port $0
TERMINATED 0 port->cfg->res.name 1
RX_PATH
TASK_NOT_RUNNING

drivers/pci/controller/pcie-xilinx-cpm.c xilinx_cpm_pcie_intx_flow() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 3640
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte

drivers/pci/controller/pcie-xilinx-cpm.c xilinx_cpm_unmask_event_irq() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 reg 3604
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
LOCK2 0 &port->lock
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags
TYPE_LOCK (struct xilinx_cpm_pcie)->lock

drivers/pci/controller/pcie-xilinx-cpm.c xilinx_cpm_unmask_leg_irq() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 reg 3644
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
LOCK2 flags
LOCK2 0 &port->lock
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags
TYPE_LOCK (struct xilinx_cpm_pcie)->lock

drivers/pci/controller/pcie-xilinx.c xilinx_pcie_clear_err_interrupts() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 reg 340
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/pci/controller/pcie-xilinx.c xilinx_pcie_init_port() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->reg_base 4096-ptr_max
PARAM_VALUE 1 reg 312
BUF_SIZE 0 port 0-1080
BUF_SIZE 0 port 0-1080
BUF_SIZE 0 port->dev 1616
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING

drivers/pci/controller/pcie-xilinx.c xilinx_pcie_init_port() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->reg_base 4096-ptr_max
PARAM_VALUE 1 reg 328
BUF_SIZE 0 port 0-1080
BUF_SIZE 0 port 0-1080
BUF_SIZE 0 port->dev 1616
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING

drivers/pci/controller/pcie-xilinx.c xilinx_pcie_intr_handler() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 reg 312
DATA_SOURCE 0 port $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/pci/controller/pcie-xilinx.c xilinx_pcie_intr_handler() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 reg 316
DATA_SOURCE 0 port $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/pci/controller/pcie-xilinx.c xilinx_pcie_intr_handler() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 reg 344
DATA_SOURCE 0 port $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/pci/controller/pcie-xilinx.c xilinx_pcie_intr_handler() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 reg 348
DATA_SOURCE 0 port $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/pci/controller/pcie-xilinx.c xilinx_pcie_link_up() -> pcie_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 324
BUF_SIZE 0 port (-1)-1080
BUF_SIZE 0 port (-1)-1080
BUF_SIZE 0 port->dev (-1),1616
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte