Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/pci/controller/dwc/pcie-designware-ep.c, line 1187 (as a function)
- drivers/pci/controller/dwc/pcie-designware.h, line 960 (as a function)
Referenced in 14 files:
- drivers/pci/controller/dwc/pci-dra7xx.c
- drivers/pci/controller/dwc/pci-imx6.c, line 1656
- drivers/pci/controller/dwc/pci-keystone.c, line 1333
- drivers/pci/controller/dwc/pci-layerscape-ep.c, line 279
- drivers/pci/controller/dwc/pcie-artpec6.c, line 458
- drivers/pci/controller/dwc/pcie-designware-ep.c, line 1198
- drivers/pci/controller/dwc/pcie-designware-plat.c, line 142
- drivers/pci/controller/dwc/pcie-dw-rockchip.c, line 795
- drivers/pci/controller/dwc/pcie-keembay.c, line 436
- drivers/pci/controller/dwc/pcie-qcom-ep.c, line 931
- drivers/pci/controller/dwc/pcie-rcar-gen4.c
- drivers/pci/controller/dwc/pcie-stm32-ep.c
- drivers/pci/controller/dwc/pcie-tegra194.c, line 2356
- drivers/pci/controller/dwc/pcie-uniphier-ep.c, line 399
Smatch caller information:
drivers/pci/controller/dwc/pcie-designware-plat.c dw_plat_pcie_probe() -> dw_pcie_ep_deinit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->func_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ib_window_map | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | ep->msi_iatu_mapped | 0 |
| PARAM_VALUE | 0 | ep->msi_mem | 1-u64max |
| PARAM_VALUE | 0 | ep->ob_window_map | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | ep->ops | 8189491110277296128 |
| MEM_ZERO | 0 | ep | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/controller/dwc/pcie-keembay.c keembay_pcie_probe() -> dw_pcie_ep_deinit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->func_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ib_window_map | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | ep->msi_iatu_mapped | 0 |
| PARAM_VALUE | 0 | ep->msi_mem | 1-u64max |
| PARAM_VALUE | 0 | ep->ob_window_map | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | ep->ops | 7486974107314450432 |
| MEM_ZERO | 0 | ep | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/controller/dwc/pcie-tegra194.c tegra_pcie_dw_remove() -> dw_pcie_ep_deinit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| BUF_SIZE | 0 | ep | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/pci/controller/dwc/pcie-dw-rockchip.c rockchip_pcie_configure_ep() -> dw_pcie_ep_deinit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->func_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ib_window_map | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | ep->msi_iatu_mapped | 0 |
| PARAM_VALUE | 0 | ep->msi_mem | 1-u64max |
| PARAM_VALUE | 0 | ep->ob_window_map | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | ep->ops | 3598499357042257920 |
| PARAM_VALUE | 0 | ep->page_size | 65536 |
| MEM_ZERO | 0 | ep | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/controller/dwc/pcie-artpec6.c artpec6_pcie_probe() -> dw_pcie_ep_deinit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->func_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ib_window_map | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | ep->msi_iatu_mapped | 0 |
| PARAM_VALUE | 0 | ep->msi_mem | 1-u64max |
| PARAM_VALUE | 0 | ep->ob_window_map | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | ep->ops | 1216928478823342080 |
| MEM_ZERO | 0 | ep | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/controller/dwc/pci-dra7xx.c dra7xx_add_pcie_ep() -> dw_pcie_ep_deinit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc->group | (-4095)-(-1) |
| PARAM_VALUE | 0 | ep->epc->list_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ep->epc->list_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc->list_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ep->epc->list_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ep->epc->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ep->epc->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ep->epc->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ep->epc->ops | 6477762481350189056 |
| PARAM_VALUE | 0 | ep->epc->pci_epf.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc->pci_epf.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->func_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->func_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->msi_iatu_mapped | 0 |
| PARAM_VALUE | 0 | ep->msi_map_size | 0 |
| PARAM_VALUE | 0 | ep->msi_mem | 1-u64max |
| PARAM_VALUE | 0 | ep->msi_msg_addr | 0 |
| PARAM_VALUE | 0 | ep->ops | 8824859425995091968 |
| PARAM_VALUE | 0 | ep->ops->init | 8234072621702176768 |
| PARAM_VALUE | 0 | ep->ops->pre_init | 0 |
| BUF_SIZE | 0 | ep | 128 |
| BUF_SIZE | 0 | ep->ops | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/controller/dwc/pci-dra7xx.c dra7xx_pcie_probe() -> dw_pcie_ep_deinit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/controller/dwc/pcie-stm32-ep.c stm32_add_pcie_ep() -> dw_pcie_ep_deinit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc->group | (-4095)-(-1) |
| PARAM_VALUE | 0 | ep->epc->list_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ep->epc->list_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc->list_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ep->epc->list_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ep->epc->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ep->epc->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ep->epc->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ep->epc->ops | 6477762481350189056 |
| PARAM_VALUE | 0 | ep->epc->pci_epf.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc->pci_epf.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->func_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->func_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->func_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->func_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->func_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->msi_iatu_mapped | 0 |
| PARAM_VALUE | 0 | ep->msi_map_size | 0 |
| PARAM_VALUE | 0 | ep->msi_mem | 1-u64max |
| PARAM_VALUE | 0 | ep->msi_msg_addr | 0 |
| PARAM_VALUE | 0 | ep->ops | 8297024484218269696 |
| PARAM_VALUE | 0 | ep->ops->pre_init | 0 |
| PARAM_VALUE | 0 | ep->page_size | 65536 |
| BUF_SIZE | 0 | ep | 128 |
| BUF_SIZE | 0 | ep->ops | 48 |
| MEM_ZERO | 0 | ep | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/controller/dwc/pcie-stm32-ep.c stm32_pcie_remove() -> dw_pcie_ep_deinit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc | 0,4096-u64max |
| PARAM_VALUE | 0 | ep->epc->init_complete | 0 |
| PARAM_VALUE | 0 | ep->epc->list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ep->epc->list_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc->list_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ep->epc->list_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ep->epc->list_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ep->epc->list_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ep->epc->list_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ep->epc->list_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ep->epc->list_lock.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | ep | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/pci/controller/dwc/pcie-qcom-ep.c qcom_pcie_ep_probe() -> dw_pcie_ep_deinit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->func_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->func_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->msi_iatu_mapped | 0 |
| PARAM_VALUE | 0 | ep->msi_mem | 1-u64max |
| PARAM_VALUE | 0 | ep->ops | 8898655043676200960 |
| MEM_ZERO | 0 | ep | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/controller/dwc/pci-keystone.c ks_pcie_probe() -> dw_pcie_ep_deinit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->func_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ib_window_map | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | ep->msi_iatu_mapped | 0 |
| PARAM_VALUE | 0 | ep->ob_window_map | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | ep->ops | 0,482266968166723584 |
| MEM_ZERO | 0 | ep | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/controller/dwc/pci-imx6.c imx_add_pcie_ep() -> dw_pcie_ep_deinit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc->group | (-4095)-(-1) |
| PARAM_VALUE | 0 | ep->epc->list_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ep->epc->list_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc->list_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ep->epc->list_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ep->epc->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ep->epc->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ep->epc->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ep->epc->ops | 6477762481350189056 |
| PARAM_VALUE | 0 | ep->epc->pci_epf.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc->pci_epf.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->func_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->func_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->msi_iatu_mapped | 0 |
| PARAM_VALUE | 0 | ep->msi_map_size | 0 |
| PARAM_VALUE | 0 | ep->msi_mem | 1-u64max |
| PARAM_VALUE | 0 | ep->msi_msg_addr | 0 |
| PARAM_VALUE | 0 | ep->ops | 3336024770831880192 |
| PARAM_VALUE | 0 | ep->ops->init | 0 |
| PARAM_VALUE | 0 | ep->ops->pre_init | 0 |
| BUF_SIZE | 0 | ep | 128 |
| BUF_SIZE | 0 | ep->ops | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/controller/dwc/pci-layerscape-ep.c ls_pcie_ep_probe() -> dw_pcie_ep_deinit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->func_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ib_window_map | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | ep->msi_iatu_mapped | 0 |
| PARAM_VALUE | 0 | ep->msi_mem | 1-u64max |
| PARAM_VALUE | 0 | ep->ob_window_map | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | ep->ops | 3078237125772963840 |
| MEM_ZERO | 0 | ep | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pci/controller/dwc/pcie-uniphier-ep.c uniphier_pcie_ep_probe() -> dw_pcie_ep_deinit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->epc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->func_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ib_window_map | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | ep->msi_iatu_mapped | 0 |
| PARAM_VALUE | 0 | ep->msi_mem | 1-u64max |
| PARAM_VALUE | 0 | ep->ob_window_map | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | ep->ops | 5137069258559082496 |
| MEM_ZERO | 0 | ep | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |