Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/pci/controller/pcie-apple.c apple_pcie_disable_device() -> apple_pcie_rid2sid_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port->pcie | 4096-ptr_max |
| PARAM_VALUE | 0 | port->pcie->hw | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 0-64 |
| PARAM_VALUE | 2 | val | 0 |
| CAPPED_DATA | 0 | &port->pcie->lock | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| DATA_SOURCE | 0 | port | r apple_pcie_get_port |
| DATA_SOURCE | 1 | idx | r find_next_bit |
| PARAM_COMPARE | 1 | idx | < $0->sid_map_sz |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &port->pcie->lock | |
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| TYPE_LOCK | (struct apple_pcie)->lock |
drivers/pci/controller/pcie-apple.c apple_pcie_enable_device() -> apple_pcie_rid2sid_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port->pcie | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 0-s32max |
| CAPPED_DATA | 0 | port->sid_map_sz | 1 |
| CAPPED_DATA | 0 | &port->pcie->lock | 1 |
| DATA_SOURCE | 0 | port | r apple_pcie_get_port |
| DATA_SOURCE | 1 | idx | r bitmap_find_free_region |
| BIT_INFO | 2 | val | 0x80000000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max[c] |
| LOCK2 | 0 | &port->pcie->lock | |
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| TYPE_LOCK | (struct apple_pcie)->lock |
drivers/pci/controller/pcie-apple.c apple_pcie_setup_port() -> apple_pcie_rid2sid_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->base | 4096-ptr_max |
| PARAM_VALUE | 0 | port->pcie | 4096-ptr_max |
| PARAM_VALUE | 0 | port->pcie->hw | 0 |
| PARAM_VALUE | 1 | idx | 0-s32max |
| PARAM_VALUE | 2 | val | 765213 |
| BUF_SIZE | 0 | port | 144 |
| CAPPED_DATA | 0 | port->idx | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| DATA_SOURCE | 0 | port | r devm_kzalloc |
| FUZZY_MAX | 1 | idx | 0 |
| MEM_ZERO | 0 | port | |
| MEM_ZERO | 0 | port->pcie | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/pcie-apple.c apple_pcie_setup_port() -> apple_pcie_rid2sid_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->base | 4096-ptr_max |
| PARAM_VALUE | 0 | port->pcie | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 0-s32max |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | port | 144 |
| CAPPED_DATA | 0 | port->idx | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| DATA_SOURCE | 0 | port | r devm_kzalloc |
| FUZZY_MAX | 1 | idx | 0 |
| MEM_ZERO | 0 | port | |
| MEM_ZERO | 0 | port->pcie | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |