Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/crypto/marvell/octeontx2/otx2_cpt_devlink.c
- drivers/crypto/marvell/octeontx2/otx2_cpt_mbox_common.c, line 111
- drivers/crypto/marvell/octeontx2/otx2_cptlf.c
- drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c
- drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c
Smatch caller information:
drivers/crypto/marvell/octeontx2/otx2_cpt_devlink.c otx2_cpt_dl_t106_mode_get() -> otx2_cpt_read_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mbox | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 188416 |
| PARAM_VALUE | 3 | val | 1594081458770542592 |
| PARAM_VALUE | 3 | *val | 0 |
| PARAM_VALUE | 4 | blkaddr | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dl->lock |
drivers/crypto/marvell/octeontx2/otx2_cpt_devlink.c otx2_cpt_dl_t106_mode_set() -> otx2_cpt_read_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mbox | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->device | 0-41212,41215-u16max |
| PARAM_VALUE | 2 | reg | 188416 |
| PARAM_VALUE | 3 | val | 3616503523717439488 |
| PARAM_VALUE | 3 | *val | 0 |
| PARAM_VALUE | 4 | blkaddr | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c cptpf_device_init() -> otx2_cpt_read_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mbox | 4096-ptr_max |
| PARAM_VALUE | 0 | mbox->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | mbox->hwbase | 0 |
| PARAM_VALUE | 0 | mbox->ndevs | 1 |
| PARAM_VALUE | 0 | mbox->reg_base | 0 |
| PARAM_VALUE | 0 | mbox->rx_size | 1024,16384,47104 |
| PARAM_VALUE | 0 | mbox->rx_start | 0,47104,63488,64512 |
| PARAM_VALUE | 0 | mbox->tr_shift | 0,4,12 |
| PARAM_VALUE | 0 | mbox->trigger | 0,8,3080,8192 |
| PARAM_VALUE | 0 | mbox->tx_size | 1024,16384,47104 |
| PARAM_VALUE | 0 | mbox->tx_start | 0,47104,63488,64512 |
| PARAM_VALUE | 1 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->bus | 0 |
| PARAM_VALUE | 1 | pdev->dev.bus | 0 |
| PARAM_VALUE | 1 | pdev->dev.class | 0 |
| PARAM_VALUE | 1 | pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.dma_mask | 0 |
| PARAM_VALUE | 1 | pdev->dev.driver | 0 |
| PARAM_VALUE | 1 | pdev->dev.driver_data | 0 |
| PARAM_VALUE | 1 | pdev->dev.power.request | 0 |
| PARAM_VALUE | 1 | pdev->dev.power.runtime_error | 0 |
| PARAM_VALUE | 1 | pdev->dev.power.wakeirq | 0 |
| PARAM_VALUE | 1 | pdev->dev.type | 0 |
| PARAM_VALUE | 1 | pdev->driver | 0 |
| PARAM_VALUE | 1 | pdev->error_state | 0 |
| PARAM_VALUE | 1 | pdev->is_busmaster | 0 |
| PARAM_VALUE | 1 | pdev->is_managed | 0 |
| PARAM_VALUE | 1 | pdev->is_virtfn | 0 |
| PARAM_VALUE | 1 | pdev->msix_cap | 0 |
| PARAM_VALUE | 1 | pdev->pcie_cap | 0 |
| PARAM_VALUE | 1 | pdev->state_saved | 0 |
| PARAM_VALUE | 2 | reg | 4096 |
| PARAM_VALUE | 3 | *val | 0 |
| PARAM_VALUE | 4 | blkaddr | 10 |
| BUF_SIZE | 1 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| BUF_SIZE | 1 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| MEM_ZERO | 0 | mbox | |
| MEM_ZERO | 1 | pdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | pdev->current_state | 0-3[c] |
| NO_OVERFLOW_SIMPLE | 0 | mbox->ndevs |
drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c cptpf_get_rid() -> otx2_cpt_read_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mbox | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->device | 0-41212,41215-u16max |
| PARAM_VALUE | 1 | pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->driver->sriov_configure | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->is_physfn | 1 |
| PARAM_VALUE | 1 | pdev->sriov | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->sriov->num_VFs | 0 |
| PARAM_VALUE | 2 | reg | 188416 |
| PARAM_VALUE | 3 | val | 1228386084417585152 |
| PARAM_VALUE | 3 | *val | 0 |
| PARAM_VALUE | 4 | blkaddr | 10 |
| DATA_SOURCE | 1 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &pci_rescan_remove_lock | ||
| LOCK2 | 1 | &pdev->dev.mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/crypto/marvell/octeontx2/otx2_cptlf.c cptlf_set_ctx_ilen() -> otx2_cpt_read_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mbox | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev | 1-u64max |
| PARAM_VALUE | 1 | pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 2 | reg | 159744,159752-161784 |
| BIT_INFO | 2 | reg | 0x27000,0xfffffffffffffff8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/crypto/marvell/octeontx2/otx2_cptlf.c cptlf_set_eng_grps_mask() -> otx2_cpt_read_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | reg | 159744,159752-161784 |
| BIT_INFO | 2 | reg | 0x27000,0xfffffffffffffff8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/crypto/marvell/octeontx2/otx2_cptlf.c cptlf_set_pri() -> otx2_cpt_read_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | reg | 159744,159752-161784 |
| BIT_INFO | 2 | reg | 0x27000,0xfffffffffffffff8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c cptx_attach_and_enable_cores() -> otx2_cpt_read_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mbox | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 73728,73736-74240 |
| PARAM_VALUE | 3 | val | 3384128363625070592 |
| PARAM_VALUE | 4 | blkaddr | 10-11 |
| CAPPED_DATA | 2 | reg | 1 |
| DATA_SOURCE | 4 | blkaddr | $3 |
| BIT_INFO | 2 | reg | 0x12000,0x123f8 |
| HARD_MAX | 4 | blkaddr | 11 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &eng_grps->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock | ||
| TYPE_LOCK | (struct otx2_cpt_eng_grps)->lock |
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c cptx_detach_and_disable_cores() -> otx2_cpt_read_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mbox | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 73728,73736-74240 |
| PARAM_VALUE | 3 | val | 9030832489874403328 |
| PARAM_VALUE | 3 | *val | 0 |
| PARAM_VALUE | 4 | blkaddr | 10-11 |
| CAPPED_DATA | 2 | reg | 1 |
| DATA_SOURCE | 4 | blkaddr | $3 |
| BIT_INFO | 2 | reg | 0x12000,0x123f8 |
| HARD_MAX | 4 | blkaddr | 11 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &eng_grps->lock |
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c cptx_detach_and_disable_cores() -> otx2_cpt_read_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mbox | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 77824,77832-78328 |
| PARAM_VALUE | 3 | val | 9030832489874403328 |
| PARAM_VALUE | 3 | *val | 0 |
| PARAM_VALUE | 4 | blkaddr | 10-11 |
| CAPPED_DATA | 2 | reg | 1 |
| DATA_SOURCE | 4 | blkaddr | $3 |
| BIT_INFO | 2 | reg | 0x13000,0x131f8 |
| HARD_MAX | 4 | blkaddr | 11 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &eng_grps->lock |
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c cptx_disable_all_cores() -> otx2_cpt_read_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mbox | 4096-ptr_max |
| PARAM_VALUE | 0 | mbox->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | mbox->hwbase | 0 |
| PARAM_VALUE | 0 | mbox->ndevs | 1 |
| PARAM_VALUE | 0 | mbox->reg_base | 0 |
| PARAM_VALUE | 0 | mbox->rx_size | 1024,16384,47104 |
| PARAM_VALUE | 0 | mbox->rx_start | 0,47104,63488,64512 |
| PARAM_VALUE | 0 | mbox->tr_shift | 0,4,12 |
| PARAM_VALUE | 0 | mbox->trigger | 0,8,3080,8192 |
| PARAM_VALUE | 0 | mbox->tx_size | 1024,16384,47104 |
| PARAM_VALUE | 0 | mbox->tx_start | 0,47104,63488,64512 |
| PARAM_VALUE | 1 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.dma_mask | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 1 | pdev->is_busmaster | 1 |
| PARAM_VALUE | 1 | pdev->is_managed | 1 |
| PARAM_VALUE | 1 | pdev->is_virtfn | 0 |
| PARAM_VALUE | 1 | pdev->msix_cap | 1-255 |
| PARAM_VALUE | 1 | pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 2 | reg | 0,4096-u64max |
| PARAM_VALUE | 3 | val | 6607735883373535232 |
| PARAM_VALUE | 4 | blkaddr | 10-11 |
| BUF_SIZE | 1 | pdev | (-1),1-s32max |
| BUF_SIZE | 1 | pdev | (-1),1-s32max |
| DATA_SOURCE | 4 | blkaddr | $2 |
| BIT_INFO | 2 | reg | 0x13000,0xfffffffffffffff8 |
| HARD_MAX | 4 | blkaddr | 11 |
| MEM_ZERO | 0 | mbox | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | pdev->current_state | 0-3[c] |
| NO_OVERFLOW_SIMPLE | 0 | mbox->ndevs | |
| HALF_LOCKED2 | &pool->lock |
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c otx2_cpt_create_eng_grps() -> otx2_cpt_read_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mbox | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | pdev->dev.cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | pdev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 1 | pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | pdev->device | 0-41212,41215-u16max |
| PARAM_VALUE | 2 | reg | 188416 |
| PARAM_VALUE | 3 | val | 2294854853990989824 |
| PARAM_VALUE | 4 | blkaddr | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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() -> otx2_cpt_read_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mbox | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | pdev->dev.cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | pdev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 1 | pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | pdev->device | 0-41212,41215-u16max |
| PARAM_VALUE | 2 | reg | 12288 |
| PARAM_VALUE | 3 | val | 2294854853990989824 |
| PARAM_VALUE | 3 | *val | 0,8-u64max |
| PARAM_VALUE | 4 | blkaddr | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |