Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/pci/controller/dwc/pci-exynos.c, line 370
- drivers/pci/controller/dwc/pci-imx6.c, line 1028
- drivers/pci/controller/dwc/pcie-designware-host.c
- drivers/pci/controller/dwc/pcie-designware.c, line 818
- drivers/pci/controller/dwc/pcie-dw-rockchip.c, line 948
- drivers/pci/controller/dwc/pcie-fu740.c
- drivers/pci/controller/dwc/pcie-qcom.c, line 1823
- drivers/pci/controller/dwc/pcie-tegra194.c, line 993
Smatch caller information:
drivers/pci/controller/dwc/pcie-qcom.c qcom_pcie_reset_root_port() -> dw_pcie_wait_for_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pci | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev->driver_data->cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev->driver_data->cfg->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->pp.bridge | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->pp.bridge->reset_root_port | 5295540248143319040 |
| PARAM_VALUE | 0 | pci->pp.cfg0_io_shared | 1 |
| PARAM_VALUE | 0 | pci->pp.msg_atu_index | 1-2147483646 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctrl->reset_lock |
drivers/pci/controller/dwc/pci-exynos.c exynos_pcie_resume_noirq() -> dw_pcie_wait_for_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pci | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->pp.bridge | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->pp.bridge->ops | 8394670130183876608 |
| PARAM_VALUE | 0 | pci->pp.bridge->ops->read | 8233897095993290752 |
| PARAM_VALUE | 0 | pci->pp.bridge->ops->write | 7585074971594543104 |
| PARAM_VALUE | 0 | pci->pp.cfg0_io_shared | 1 |
| PARAM_VALUE | 0 | pci->pp.msg_atu_index | 1-2147483646 |
| BUF_SIZE | 0 | pci | 7224 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/dwc/pcie-designware-host.c dw_pcie_host_init() -> dw_pcie_wait_for_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pci | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->atu_base | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->atu_size | 44 |
| PARAM_VALUE | 0 | pci->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pci->edma.dw->core | 0-s64max |
| PARAM_VALUE | 0 | pci->edma.dw->nr_irqs | s32min-s32max |
| PARAM_VALUE | 0 | pci->edma.dw->rd_ch_cnt | 0-u16max |
| PARAM_VALUE | 0 | pci->edma.dw->wr_ch_cnt | 0-u16max |
| PARAM_VALUE | 0 | pci->edma.mf | 0-1 |
| PARAM_VALUE | 0 | pci->edma.ops->irq_vector | 7235512870814306304 |
| PARAM_VALUE | 0 | pci->edma.ops->pci_address | 0 |
| PARAM_VALUE | 0 | pci->ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pci->ops->write_dbi | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pci->edma.ll_rd_cnt | 0-u16max[c] |
| HOST_DATA | 0 | pci->num_lanes | s32min-s32max[c] |
| HOST_DATA | 0 | pci->region_limit | u32max,8589934591-u64max[c] |
| HOST_DATA | 0 | pci->type | 0-u32max |
drivers/pci/controller/dwc/pcie-designware-host.c dw_pcie_resume_noirq() -> dw_pcie_wait_for_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pci | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pci->pp.bridge | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->pp.ops | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->suspended | 1 |
| BUF_SIZE | 0 | pci | (-1),7224 |
| BUF_SIZE | 0 | pci | (-1),7224 |
| DATA_SOURCE | 0 | pci | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/dwc/pcie-tegra194.c tegra_pcie_dw_start_link() -> dw_pcie_wait_for_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pci | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->edma.dw->core | 0-s64max |
| PARAM_VALUE | 0 | pci->edma.dw->nr_irqs | s32min-s32max |
| PARAM_VALUE | 0 | pci->edma.dw->rd_ch_cnt | 0-u16max |
| PARAM_VALUE | 0 | pci->edma.dw->wr_ch_cnt | 0-u16max |
| BUF_SIZE | 0 | pci | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | pci | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | pci | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pci->edma.ll_rd_cnt | 0-u16max[c] |
| HOST_DATA | 0 | pci->num_lanes | s32min-s32max[c] |
| HOST_DATA | 0 | pci->region_limit | u32max,8589934591-u64max[c] |
| HOST_DATA | 0 | pci->type | 0-u32max |
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &epc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem |
drivers/pci/controller/dwc/pcie-dw-rockchip.c rockchip_pcie_rc_reset_root_port() -> dw_pcie_wait_for_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pci | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev->driver_data->apps_reset->deassert_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | pci->dev->driver_data->iomuxc_gpr->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | pci->dev->driver_data->iomuxc_gpr->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | pci->dev->driver_data->iomuxc_gpr->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | pci->dev->driver_data->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | pci->dev->driver_data->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | pci->dev->driver_data->regmap->cache_dirty | 1 |
| PARAM_VALUE | 0 | pci->dev->driver_data->trace_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | pci->ops | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | pci | unit_byte |
| HALF_LOCKED2 | &ctrl->reset_lock |
drivers/pci/controller/dwc/pcie-fu740.c fu740_pcie_start_link() -> dw_pcie_wait_for_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pci | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev->driver_data->apb->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | pci->dev->driver_data->apb->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | pci->dev->driver_data->apb->cache->cached_rbnode->node.__rb_parent_color | 0-1,4096-s64max |
| PARAM_VALUE | 0 | pci->dev->driver_data->apb->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | pci->edma.dw->core | 0-s64max |
| PARAM_VALUE | 0 | pci->edma.dw->nr_irqs | s32min-s32max |
| PARAM_VALUE | 0 | pci->edma.dw->rd_ch_cnt | 0-u16max |
| PARAM_VALUE | 0 | pci->edma.dw->wr_ch_cnt | 0-u16max |
| PARAM_VALUE | 0 | pci->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->ops->start_link | 4096-ptr_max |
| BUF_SIZE | 0 | pci | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | pci | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | pci | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pci->edma.ll_rd_cnt | 0-u16max[c] |
| HOST_DATA | 0 | pci->num_lanes | s32min-s32max[c] |
| HOST_DATA | 0 | pci->region_limit | u32max,8589934591-u64max[c] |
| HOST_DATA | 0 | pci->type | 0-u32max |
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &epc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem |
drivers/pci/controller/dwc/pcie-fu740.c fu740_pcie_start_link() -> dw_pcie_wait_for_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pci | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev->driver_data->apb->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | pci->dev->driver_data->apb->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | pci->dev->driver_data->apb->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | pci->dev->driver_data->apb->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | pci->edma.dw->core | 0-s64max |
| PARAM_VALUE | 0 | pci->edma.dw->nr_irqs | s32min-s32max |
| PARAM_VALUE | 0 | pci->edma.dw->rd_ch_cnt | 0-u16max |
| PARAM_VALUE | 0 | pci->edma.dw->wr_ch_cnt | 0-u16max |
| PARAM_VALUE | 0 | pci->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->ops->start_link | 4096-ptr_max |
| BUF_SIZE | 0 | pci | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | pci | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | pci | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pci->edma.ll_rd_cnt | 0-u16max[c] |
| HOST_DATA | 0 | pci->num_lanes | s32min-s32max[c] |
| HOST_DATA | 0 | pci->region_limit | u32max,8589934591-u64max[c] |
| HOST_DATA | 0 | pci->type | 0-u32max |
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &epc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem |
drivers/pci/controller/dwc/pci-imx6.c imx_pcie_start_link() -> dw_pcie_wait_for_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pci | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev->driver_data->apb->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | pci->dev->driver_data->apb->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | pci->dev->driver_data->apb->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | pci->dev->driver_data->apps_reset->array | 0-1 |
| PARAM_VALUE | 0 | pci->dev->driver_data->apps_reset->deassert_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | pci->dev->driver_data->drvdata | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->dev->driver_data->iomuxc_gpr->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | pci->dev->driver_data->iomuxc_gpr->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | pci->dev->driver_data->iomuxc_gpr->cache_dirty | 1 |
| PARAM_VALUE | 0 | pci->dev->driver_data->pci | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->edma.dw->core | 0-s64max |
| PARAM_VALUE | 0 | pci->edma.dw->nr_irqs | s32min-s32max |
| PARAM_VALUE | 0 | pci->edma.dw->rd_ch_cnt | 0-u16max |
| PARAM_VALUE | 0 | pci->edma.dw->wr_ch_cnt | 0-u16max |
| PARAM_VALUE | 0 | pci->max_link_speed | 2-s32max |
| PARAM_VALUE | 0 | pci->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | pci->ops->start_link | 4096-ptr_max |
| BUF_SIZE | 0 | pci | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | pci | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | pci | $0 |
| FUZZY_MAX | 0 | pci->max_link_speed | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pci->edma.ll_rd_cnt | 0-u16max[c] |
| HOST_DATA | 0 | pci->num_lanes | s32min-s32max[c] |
| HOST_DATA | 0 | pci->region_limit | u32max,8589934591-u64max[c] |
| HOST_DATA | 0 | pci->type | 0-u32max |
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &epc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem |