Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/pci/controller/cadence/pcie-cadence-ep.c
- drivers/pci/controller/cadence/pcie-cadence-host.c
- drivers/pci/controller/cadence/pcie-cadence.c, line 130
Smatch caller information:
drivers/pci/controller/cadence/pcie-cadence-host.c cdns_pcie_host_init_address_translation() -> cdns_pcie_set_outbound_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcie | 4096-ptr_max |
| PARAM_VALUE | 0 | pcie->ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pcie->ops->cpu_addr_fixup | 0,501015980425441280 |
| PARAM_VALUE | 2 | fn | 0 |
| PARAM_VALUE | 3 | r | 1-s32max |
| PARAM_VALUE | 4 | is_io | 1 |
| PARAM_VALUE | 5 | cpu_addr | u64max |
| BUF_SIZE | 0 | pcie | 88 |
| BIT_INFO | 5 | cpu_addr | 0xffffffffffffffff,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 6 | pci_addr | unit_byte |
drivers/pci/controller/cadence/pcie-cadence-host.c cdns_pcie_host_init_address_translation() -> cdns_pcie_set_outbound_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcie | 4096-ptr_max |
| PARAM_VALUE | 0 | pcie->ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pcie->ops->cpu_addr_fixup | 0,501015980425441280 |
| PARAM_VALUE | 2 | fn | 0 |
| PARAM_VALUE | 3 | r | 1-s32max |
| PARAM_VALUE | 4 | is_io | 0 |
| BUF_SIZE | 0 | pcie | 88 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 5 | cpu_addr | unit_byte |
| UNITS | 6 | pci_addr | unit_byte |
drivers/pci/controller/cadence/pcie-cadence-ep.c cdns_pcie_ep_map_addr() -> cdns_pcie_set_outbound_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | busnr | 0 |
| PARAM_VALUE | 3 | r | 0-64 |
| PARAM_VALUE | 4 | is_io | 0 |
| BUF_SIZE | 0 | pcie | 88 |
| CAPPED_DATA | 3 | r | 1 |
| DATA_SOURCE | 2 | fn | $1 [m] |
| DATA_SOURCE | 3 | r | r find_first_zero_bit |
| DATA_SOURCE | 5 | cpu_addr | $3 |
| DATA_SOURCE | 6 | pci_addr | $4 |
| DATA_SOURCE | 7 | size | $5 |
| CONSTRAINT | 2 | fn | <2180 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 6 | pci_addr | 0,256-u64max[c] |
| LOCK2 | &epc->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct pci_epc)->lock |
drivers/pci/controller/cadence/pcie-cadence-ep.c cdns_pcie_ep_send_msi_irq() -> cdns_pcie_set_outbound_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcie | 4096-ptr_max |
| PARAM_VALUE | 1 | busnr | 0 |
| PARAM_VALUE | 3 | r | 0 |
| PARAM_VALUE | 4 | is_io | 0 |
| PARAM_VALUE | 6 | pci_addr | 0,256-u64max |
| PARAM_VALUE | 7 | size | 256 |
| BUF_SIZE | 0 | pcie | 88 |
| CAPPED_DATA | 2 | fn | 1 |
| CAPPED_DATA | 6 | pci_addr | 1 |
| DATA_SOURCE | 2 | fn | $1 [m] |
| CONSTRAINT | 2 | fn | <2180 |
| BIT_INFO | 6 | pci_addr | 0x0,0xffffffffffffff00 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 6 | pci_addr | 0,256-u64max[c] |
| LOCK2 | &epc->lock | ||
| HALF_LOCKED2 | &ctrl->irq_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct pci_epc)->lock |
drivers/pci/controller/cadence/pcie-cadence-ep.c cdns_pcie_ep_send_msix_irq() -> cdns_pcie_set_outbound_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcie | 4096-ptr_max |
| PARAM_VALUE | 1 | busnr | 0 |
| PARAM_VALUE | 3 | r | 0 |
| PARAM_VALUE | 4 | is_io | 0 |
| PARAM_VALUE | 6 | pci_addr | 0,256-u64max |
| PARAM_VALUE | 7 | size | 256 |
| BUF_SIZE | 0 | pcie | 88 |
| CAPPED_DATA | 2 | fn | 1 |
| CAPPED_DATA | 6 | pci_addr | 1 |
| DATA_SOURCE | 2 | fn | $1 [m] |
| CONSTRAINT | 2 | fn | <2180 |
| BIT_INFO | 6 | pci_addr | 0x0,0xffffffffffffff00 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &epc->lock | ||
| HALF_LOCKED2 | &ctrl->irq_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct pci_epc)->lock |