Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/crypto/marvell/octeontx2/otx2_cpt_devlink.c, line 68
- drivers/crypto/marvell/octeontx2/otx2_cpt_mbox_common.c, line 124
- drivers/crypto/marvell/octeontx2/otx2_cptlf.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_set() -> otx2_cpt_write_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 | 0,262144 |
| PARAM_VALUE | 4 | blkaddr | 10 |
| BIT_INFO | 3 | val | 0x0,0x40000 |
| BIT_INFO | 3 | val | 0x0,0x40000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_cptlf.c cptlf_set_ctx_ilen() -> otx2_cpt_write_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_write_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mbox | 4096-ptr_max |
| 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_write_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mbox | 4096-ptr_max |
| 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 __write_ucode_base() -> otx2_cpt_write_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mbox | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 155648,155656-156160 |
| PARAM_VALUE | 4 | blkaddr | 10-11 |
| CAPPED_DATA | 2 | reg | 1 |
| DATA_SOURCE | 3 | val | $2 |
| DATA_SOURCE | 4 | blkaddr | $3 |
| BIT_INFO | 2 | reg | 0x26000,0x263f8 |
| HARD_MAX | 4 | blkaddr | 11 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &eng_grps->lock |
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c cptx_attach_and_enable_cores() -> otx2_cpt_write_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mbox | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 73728,73736-74240 |
| 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_write_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mbox | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 73728,73736-74240 |
| 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_write_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mbox | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 131072,131080-131576 |
| 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 | 0x20000,0x201f8 |
| HARD_MAX | 4 | blkaddr | 11 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &eng_grps->lock |
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c cptx_set_ucode_base() -> otx2_cpt_write_af_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mbox | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 176128 |
| PARAM_VALUE | 3 | val | 0,1024-64512 |
| PARAM_VALUE | 4 | blkaddr | 10-11 |
| DATA_SOURCE | 4 | blkaddr | $2 |
| HARD_MAX | 4 | blkaddr | 11 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &eng_grps->lock |
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c otx2_cpt_create_eng_grps() -> otx2_cpt_write_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 | 0,8-u64max |
| PARAM_VALUE | 4 | blkaddr | 10 |
| BIT_INFO | 3 | val | 0x107f8,0xffffffffffffffff |
| BIT_INFO | 3 | val | 0x107f8,0xffffffffffffffff |
| 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_write_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 | 294912 |
| PARAM_VALUE | 3 | val | 195312 |
| 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_write_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 | 0,16777216-u64max |
| PARAM_VALUE | 4 | blkaddr | 10 |
| BIT_INFO | 3 | val | 0x10107f8,0xffffffffffffffff |
| 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 |