Defined in 2 files as a function:
- drivers/crypto/cavium/cpt/cptpf_main.c, line 251 (as a function)
- drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c, line 458 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/crypto/cavium/cpt/cptpf_main.c cpt_ucode_load() -> cpt_ucode_load_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->flags | 0,8 |
| PARAM_VALUE | 0 | pdev->max_ae_cores | 0 |
| PARAM_VALUE | 0 | pdev->max_se_cores | 0 |
| PARAM_VALUE | 0 | pdev->next_group | 0 |
| PARAM_VALUE | 0 | pdev->next_mc_idx | 0 |
| PARAM_VALUE | 0 | pdev->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->pdev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->reg_base | 4096-ptr_max |
| PARAM_VALUE | 1 | fw_info | 8055917428467261440 |
| PARAM_VALUE | 2 | rid | 1 |
| BUF_SIZE | 0 | pdev | 672 |
| BUF_SIZE | 0 | pdev->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| BUF_SIZE | 1 | fw_info | 16 |
| DATA_SOURCE | 0 | pdev | $0 |
| FUZZY_MAX | 0 | pdev->flags | 0 |
| STR_LEN | 0 | pdev | 15 |
| TERMINATED | 1 | fw_info | 1 |
| MEM_ZERO | 0 | pdev | |
| MEM_ZERO | 0 | pdev->reg_base | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->pdev->current_state | 0-3[c] |
drivers/crypto/cavium/cpt/cptpf_main.c cpt_ucode_load() -> cpt_ucode_load_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->flags | 0-65527 |
| PARAM_VALUE | 0 | pdev->max_ae_cores | 0 |
| PARAM_VALUE | 0 | pdev->max_se_cores | 0 |
| PARAM_VALUE | 0 | pdev->next_group | 0 |
| PARAM_VALUE | 0 | pdev->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->pdev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->reg_base | 4096-ptr_max |
| PARAM_VALUE | 1 | fw_info | 6393137239282491392 |
| PARAM_VALUE | 2 | rid | 0 |
| BUF_SIZE | 0 | pdev | 672 |
| BUF_SIZE | 0 | pdev->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| BUF_SIZE | 1 | fw_info | 16 |
| DATA_SOURCE | 0 | pdev | $0 |
| FUZZY_MAX | 0 | pdev->flags | 0 |
| STR_LEN | 0 | pdev | 15 |
| TERMINATED | 1 | fw_info | 1 |
| MEM_ZERO | 0 | pdev | |
| MEM_ZERO | 0 | pdev->reg_base | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->pdev->current_state | 0-3[c] |
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c create_eng_caps_discovery_grps() -> cpt_ucode_load_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fw_info | 1741698773846806528 |
| PARAM_VALUE | 2 | rid | 0-255 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &eng_grps->lock | ||
| LOCK2 | &of->mutex | ||
| LOCK2 | &pdev->dev.mutex | ||
| LOCK2 | global &pci_rescan_remove_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct otx2_cpt_eng_grps)->lock |
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c otx2_cpt_create_eng_grps() -> cpt_ucode_load_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fw_info | 7466046085298155520 |
| PARAM_VALUE | 2 | rid | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &eng_grps->lock | ||
| LOCK2 | &of->mutex | ||
| LOCK2 | &pdev->dev.mutex | ||
| LOCK2 | global &pci_rescan_remove_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct otx2_cpt_eng_grps)->lock |