Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 21 files:
- drivers/pci/controller/cadence/pcie-cadence-host-hpa.c, line 358
- drivers/pci/controller/cadence/pcie-cadence-host.c, line 414
- drivers/pci/controller/dwc/pci-keystone.c, line 1170
- drivers/pci/controller/dwc/pci-layerscape-ep.c, line 257
- drivers/pci/controller/dwc/pci-layerscape.c, line 349
- drivers/pci/controller/dwc/pci-meson.c, line 118
- drivers/pci/controller/dwc/pcie-al.c, line 69
- drivers/pci/controller/dwc/pcie-armada8k.c, line 308
- drivers/pci/controller/dwc/pcie-designware-host.c, line 536
- drivers/pci/controller/dwc/pcie-designware.c
- drivers/pci/controller/dwc/pcie-intel-gw.c, line 430
- drivers/pci/controller/dwc/pcie-qcom-ep.c
- drivers/pci/controller/mobiveil/pcie-mobiveil-host.c
- drivers/pci/controller/pci-loongson.c
- drivers/pci/controller/pci-tegra.c, line 2149
- drivers/pci/controller/pci-versatile.c, line 87
- drivers/pci/controller/pci-xgene.c
- drivers/pci/controller/pcie-rockchip.c, line 39
- drivers/pci/controller/pcie-xilinx-nwl.c, line 792
- drivers/pci/controller/pcie-xilinx.c, line 547
- drivers/pci/devres.c, line 261
Smatch caller information:
drivers/pci/controller/dwc/pcie-intel-gw.c intel_pcie_probe() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/pcie-rockchip.c rockchip_pcie_parse_dt() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 1 | res | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/pci-loongson.c loongson_pci_probe() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | res | r platform_get_resource |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/pci-loongson.c loongson_pci_probe() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | res | r platform_get_resource |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/dwc/pcie-armada8k.c armada8k_pcie_probe() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 1 | res | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/dwc/pcie-designware-host.c dw_pcie_host_get_resources() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/dwc/pcie-al.c al_pcie_init() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res | 1-u64max |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 1 | res | 64 |
| DATA_SOURCE | 1 | res | r devm_kzalloc |
| MEM_ZERO | 1 | res | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/pcie-xilinx-nwl.c nwl_pcie_parse_dt() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/cadence/pcie-cadence-host.c cdns_pcie_host_setup() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/cadence/pcie-cadence-host-hpa.c cdns_pcie_hpa_host_setup() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/pci-xgene.c xgene_pcie_ecam_init() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res | 4342678384461811712 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/pci-xgene.c xgene_pcie_map_reg() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/dwc/pci-layerscape.c ls_pcie_probe() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | res | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/mobiveil/pcie-mobiveil-host.c mobiveil_pcie_integrated_interrupt_init() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/mobiveil/pcie-mobiveil-host.c mobiveil_pcie_parse_dt() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | res | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/mobiveil/pcie-mobiveil-host.c mobiveil_pcie_parse_dt() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | res | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/dwc/pci-meson.c meson_pcie_get_mems() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/pci-tegra.c tegra_pcie_parse_dt() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_ops->dma_supported | 0,527,50235921770707435,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888 |
| PARAM_VALUE | 0 | dev->dma_ops->map_phys | 0,632,48484213451719352,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696 |
| PARAM_VALUE | 0 | dev->dma_ops->map_sg | 0,663,58722010135957667,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488 |
| PARAM_VALUE | 0 | dev->dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_phys | 0,775,62571895156780032,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_sg | 0,892,86767622481470668,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440 |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | res->child | 0 |
| PARAM_VALUE | 1 | res->desc | 0 |
| PARAM_VALUE | 1 | res->flags | 0,128-u32max |
| PARAM_VALUE | 1 | res->parent | 0 |
| PARAM_VALUE | 1 | res->sibling | 0 |
| PARAM_VALUE | 1 | res->start | 0-18446744073709551614 |
| BUF_SIZE | 0 | dev | 1616 |
| MEM_ZERO | 1 | res | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/dwc/pcie-designware.c dw_pcie_get_resources() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | res | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/dwc/pcie-designware.c dw_pcie_get_resources() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/pcie-xilinx.c xilinx_pcie_parse_dt() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 1 | res | 7255595981954236416 |
| PARAM_VALUE | 1 | res->child | 0 |
| PARAM_VALUE | 1 | res->desc | 0 |
| PARAM_VALUE | 1 | res->flags | 0,128-u32max |
| PARAM_VALUE | 1 | res->parent | 0 |
| PARAM_VALUE | 1 | res->sibling | 0 |
| PARAM_VALUE | 1 | res->start | 0-18446744073709551614 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/dwc/pcie-qcom-ep.c qcom_pcie_ep_get_io_resources() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.last_status | (-1) |
| PARAM_VALUE | 0 | dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 1 | res | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/dwc/pcie-qcom-ep.c qcom_pcie_ep_get_io_resources() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.last_status | (-1) |
| PARAM_VALUE | 0 | dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/dwc/pci-keystone.c ks_pcie_probe() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 1-u64max |
| PARAM_VALUE | 1 | res | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/dwc/pci-layerscape-ep.c ls_pcie_ep_probe() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | res | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res->name | 1-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | res | r platform_get_resource_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/pci-versatile.c versatile_pci_probe() -> devm_pci_remap_cfg_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res | 0,4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | res | r platform_get_resource |
| RX_PATH | |||
| TASK_NOT_RUNNING |