Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/pci/controller/pcie-altera.c altera_pcie_retrain() -> (struct altera_pcie_ops)->get_link_status()

Type Parameter Key Value
PARAM_VALUE 0 pcie 4096-ptr_max
PARAM_VALUE 0 pcie->cra_base 4096-ptr_max
PARAM_VALUE 0 pcie->hip_base 4096-ptr_max
PARAM_VALUE 0 pcie->irq 1-s32max
PARAM_VALUE 0 pcie->irq_domain 4096-ptr_max
PARAM_VALUE 0 pcie->pcie_data 4096-ptr_max
PARAM_VALUE 0 pcie->pcie_data->ops 4096-ptr_max
PARAM_VALUE 0 pcie->pcie_data->version 0-1
PARAM_VALUE 0 pcie->pdev 4096-ptr_max
PARAM_VALUE 0 pcie->pdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 pcie->pdev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 pcie->pdev->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 pcie->pdev->dev.of_node 4096-ptr_max
PARAM_VALUE 0 pcie->pdev->num_resources 1-u32max
BUF_SIZE 0 pcie 0-1080
BUF_SIZE 0 pcie 0-1080
CAPPED_DATA 0 pcie->pdev->num_resources 1
DATA_SOURCE 0 pcie $0
CONTAINER 0 -16-0-104+0 $(-1)
RX_PATH
TASK_NOT_RUNNING

drivers/pci/controller/pcie-altera.c altera_pcie_valid_device() -> (struct altera_pcie_ops)->get_link_status()

Type Parameter Key Value
PARAM_VALUE 0 pcie 4096-ptr_max
PARAM_VALUE 0 pcie->pcie_data 4096-ptr_max
PARAM_VALUE 0 pcie->pcie_data->ops 4096-ptr_max
DATA_SOURCE 0 pcie $0
CONTAINER 0 -16-0-104+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags
HALF_LOCKED2 global &inject_lock
HALF_LOCKED2 global &pci_lock
HALF_LOCKED2 irq

drivers/pci/controller/pcie-altera.c altera_wait_link_retrain() -> (struct altera_pcie_ops)->get_link_status()

Type Parameter Key Value
PARAM_VALUE 0 pcie 4096-ptr_max
PARAM_VALUE 0 pcie->cra_base 4096-ptr_max
PARAM_VALUE 0 pcie->hip_base 4096-ptr_max
PARAM_VALUE 0 pcie->irq 1-s32max
PARAM_VALUE 0 pcie->irq_domain 4096-ptr_max
PARAM_VALUE 0 pcie->pcie_data 4096-ptr_max
PARAM_VALUE 0 pcie->pcie_data->ops 4096-ptr_max
PARAM_VALUE 0 pcie->pcie_data->version 0-1
PARAM_VALUE 0 pcie->pdev 4096-ptr_max
PARAM_VALUE 0 pcie->pdev->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 pcie->pdev->dev.class 0,4096-ptr_max
PARAM_VALUE 0 pcie->pdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 pcie->pdev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 pcie->pdev->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 pcie->pdev->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 pcie->pdev->dev.of_node 4096-ptr_max
PARAM_VALUE 0 pcie->pdev->num_resources 1-u32max
BUF_SIZE 0 pcie 0-1080
BUF_SIZE 0 pcie 0-1080
CAPPED_DATA 0 pcie->pdev->num_resources 1
DATA_SOURCE 0 pcie $0
CONTAINER 0 -16-0-104+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 pcie->root_bus_nr 0-255