Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/intel/qat/qat_common/qat_uclo.c qat_hal_set_modes() -> qat_hal_set_ae_lm_mode()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->chip_info 4096-ptr_max
PARAM_VALUE 0 handle->chip_info->fw_auth 0
PARAM_VALUE 0 handle->hal_handle 4096-ptr_max
PARAM_VALUE 0 handle->hal_handle->ae_max_num 1-17
PARAM_VALUE 0 handle->obj_handle 4096-ptr_max
PARAM_VALUE 0 handle->obj_handle->uimage_num 1-s32max
PARAM_VALUE 0 handle->pci_dev 4096-ptr_max
PARAM_VALUE 0 handle->pci_dev->dev.cma_area->available_count 0-s64max
PARAM_VALUE 0 handle->pci_dev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 handle->pci_dev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 handle->pci_dev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 handle->pci_dev->device 0-18760
PARAM_VALUE 1 ae 0-16
PARAM_VALUE 2 lm_type 27
PARAM_VALUE 3 mode 0-1
BUF_SIZE 0 handle->obj_handle 27728
CAPPED_DATA 0 handle->hal_handle->ae_max_num 1
CAPPED_DATA 0 handle->obj_handle->uimage_num 1
CAPPED_DATA 1 ae 1
DATA_SOURCE 0 handle $0
DATA_SOURCE 1 ae $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &accel_dev->state_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock
TYPE_LOCK (struct adf_accel_dev)->state_lock

drivers/crypto/intel/qat/qat_common/qat_uclo.c qat_hal_set_modes() -> qat_hal_set_ae_lm_mode()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->chip_info 4096-ptr_max
PARAM_VALUE 0 handle->chip_info->fw_auth 0
PARAM_VALUE 0 handle->hal_handle 4096-ptr_max
PARAM_VALUE 0 handle->hal_handle->ae_max_num 1-17
PARAM_VALUE 0 handle->obj_handle 4096-ptr_max
PARAM_VALUE 0 handle->obj_handle->uimage_num 1-s32max
PARAM_VALUE 0 handle->pci_dev 4096-ptr_max
PARAM_VALUE 0 handle->pci_dev->dev.cma_area->available_count 0-s64max
PARAM_VALUE 0 handle->pci_dev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 handle->pci_dev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 handle->pci_dev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 handle->pci_dev->device 0-18760
PARAM_VALUE 1 ae 0-16
PARAM_VALUE 2 lm_type 28
PARAM_VALUE 3 mode 0-1
BUF_SIZE 0 handle->obj_handle 27728
CAPPED_DATA 0 handle->hal_handle->ae_max_num 1
CAPPED_DATA 0 handle->obj_handle->uimage_num 1
CAPPED_DATA 1 ae 1
DATA_SOURCE 0 handle $0
DATA_SOURCE 1 ae $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &accel_dev->state_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock
TYPE_LOCK (struct adf_accel_dev)->state_lock

drivers/crypto/intel/qat/qat_common/qat_uclo.c qat_hal_set_modes() -> qat_hal_set_ae_lm_mode()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->chip_info 4096-ptr_max
PARAM_VALUE 0 handle->chip_info->fw_auth 0
PARAM_VALUE 0 handle->chip_info->lm2lm3 1
PARAM_VALUE 0 handle->hal_handle 4096-ptr_max
PARAM_VALUE 0 handle->hal_handle->ae_max_num 1-17
PARAM_VALUE 0 handle->obj_handle 4096-ptr_max
PARAM_VALUE 0 handle->obj_handle->uimage_num 1-s32max
PARAM_VALUE 0 handle->pci_dev 4096-ptr_max
PARAM_VALUE 0 handle->pci_dev->dev.cma_area->available_count 0-s64max
PARAM_VALUE 0 handle->pci_dev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 handle->pci_dev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 handle->pci_dev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 handle->pci_dev->device 0-18760
PARAM_VALUE 1 ae 0-16
PARAM_VALUE 2 lm_type 61
PARAM_VALUE 3 mode 0-1
BUF_SIZE 0 handle->obj_handle 27728
CAPPED_DATA 0 handle->hal_handle->ae_max_num 1
CAPPED_DATA 0 handle->obj_handle->uimage_num 1
CAPPED_DATA 1 ae 1
DATA_SOURCE 0 handle $0
DATA_SOURCE 1 ae $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &accel_dev->state_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock
TYPE_LOCK (struct adf_accel_dev)->state_lock

drivers/crypto/intel/qat/qat_common/qat_uclo.c qat_hal_set_modes() -> qat_hal_set_ae_lm_mode()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->chip_info 4096-ptr_max
PARAM_VALUE 0 handle->chip_info->fw_auth 0
PARAM_VALUE 0 handle->chip_info->lm2lm3 1
PARAM_VALUE 0 handle->hal_handle 4096-ptr_max
PARAM_VALUE 0 handle->hal_handle->ae_max_num 1-17
PARAM_VALUE 0 handle->obj_handle 4096-ptr_max
PARAM_VALUE 0 handle->obj_handle->uimage_num 1-s32max
PARAM_VALUE 0 handle->pci_dev 4096-ptr_max
PARAM_VALUE 0 handle->pci_dev->dev.cma_area->available_count 0-s64max
PARAM_VALUE 0 handle->pci_dev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 handle->pci_dev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 handle->pci_dev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 handle->pci_dev->device 0-18760
PARAM_VALUE 1 ae 0-16
PARAM_VALUE 2 lm_type 62
PARAM_VALUE 3 mode 0-1
BUF_SIZE 0 handle->obj_handle 27728
CAPPED_DATA 0 handle->hal_handle->ae_max_num 1
CAPPED_DATA 0 handle->obj_handle->uimage_num 1
CAPPED_DATA 1 ae 1
DATA_SOURCE 0 handle $0
DATA_SOURCE 1 ae $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &accel_dev->state_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock
TYPE_LOCK (struct adf_accel_dev)->state_lock