/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_accel_engine.c | 14 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_ae_fw_load_images() local 60 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_ae_fw_load() local 64 if (!hw_device->fw_name) in adf_ae_fw_load() 70 hw_device->fw_mmp_name); in adf_ae_fw_load() 76 hw_device->fw_name); in adf_ae_fw_load() 111 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_ae_fw_release() local 113 if (!hw_device->fw_name) in adf_ae_fw_release() 176 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_ae_init() local 178 if (!hw_device->fw_name) in adf_ae_init() 203 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_ae_shutdown() local [all …]
|
H A D | adf_admin.c | 173 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_init_ae() local 174 u32 ae_mask = hw_device->ae_mask; in adf_init_ae() 187 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_set_fw_constants() local 188 u32 ae_mask = hw_device->admin_ae_mask ?: hw_device->ae_mask; in adf_set_fw_constants() 230 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_get_dc_capabilities() local 238 ae_mask = hw_device->ae_mask & ~hw_device->admin_ae_mask; in adf_get_dc_capabilities() 276 u32 ae_mask = accel_dev->hw_device->ae_mask; in adf_send_admin_tim_sync() 288 u32 ae_mask = accel_dev->hw_device->ae_mask; in adf_send_admin_hb_timer() 340 accel_dev->hw_device->extended_dc_capabilities = dc_capabilities; in adf_send_admin_init() 366 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_admin_pm() [all …]
|
H A D | adf_heartbeat.c | 58 const size_t hb_ctrs = accel_dev->hw_device->num_hb_ctrs; in validate_hb_ctrs_cnt() 59 const size_t max_aes = accel_dev->hw_device->num_engines; in validate_hb_ctrs_cnt() 86 const size_t hb_ctrs = accel_dev->hw_device->num_hb_ctrs; in adf_heartbeat_check_ctrs() 87 const size_t max_aes = accel_dev->hw_device->num_engines; in adf_heartbeat_check_ctrs() 166 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_hb_get_status() local 168 const size_t hb_ctrs = hw_device->num_hb_ctrs; in adf_hb_get_status() 169 const unsigned long ae_mask = hw_device->ae_mask; in adf_hb_get_status() 170 const size_t max_aes = hw_device->num_engines; in adf_hb_get_status() 181 hw_device->num_hb_ctrs += ADF_NUM_PKE_STRAND; in adf_hb_get_status() 309 if (accel_dev->hw_device->check_hb_ctrs) in adf_heartbeat_start() [all …]
|
H A D | qat_compression.h | 28 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_hw_dev_has_compression() local 29 u32 mask = ~hw_device->accel_capabilities_mask; in adf_hw_dev_has_compression()
|
H A D | qat_crypto.h | 55 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_hw_dev_has_crypto() local 56 u32 mask = ~hw_device->accel_capabilities_mask; in adf_hw_dev_has_crypto()
|
H A D | adf_isr.c | 24 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_enable_msix() 126 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_handle_pm_int() 157 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_free_irqs() 182 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_request_irqs() 249 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_isr_alloc_msix_vectors_data() 276 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_setup_bh() 289 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_cleanup_bh()
|
H A D | adf_aer.c | 73 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_dev_restore() local 76 if (hw_device->reset_device) { in adf_dev_restore() 79 hw_device->reset_device(accel_dev); in adf_dev_restore()
|
H A D | adf_hw_arbiter.c | 20 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_arb() 51 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_update_ring_arb() 75 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_exit_arb()
|
H A D | adf_pfvf_pf_msg.c | 25 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_pf_capabilities_msg_provider() 45 rts_map_msg.map = accel_dev->hw_device->ring_to_svc_map; in adf_pf_ring_to_svc_msg_provider()
|
H A D | adf_accel_devices.h | 259 #define GET_HW_DATA(accel_dev) (accel_dev->hw_device) 267 #define GET_CSR_OPS(accel_dev) (&(accel_dev)->hw_device->csr_ops) 268 #define GET_PFVF_OPS(accel_dev) (&(accel_dev)->hw_device->pfvf_ops) 269 #define GET_DC_OPS(accel_dev) (&(accel_dev)->hw_device->dc_ops) 297 struct adf_hw_device_data *hw_device; member
|
H A D | adf_pfvf_vf_msg.c | 98 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_vf2pf_get_capabilities() 165 accel_dev->hw_device->ring_to_svc_map = rts_map_msg.map; in adf_vf2pf_get_ring_to_svc()
|
H A D | adf_init.c | 65 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_init() 169 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_start() 265 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_stop() 328 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_shutdown()
|
H A D | adf_sriov.c | 54 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_enable_sriov() 97 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_disable_sriov()
|
H A D | adf_gen2_hw_data.c | 28 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen2_enable_error_correction() 213 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen2_get_accel_cap() 253 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen2_set_ssm_wdtimer()
|
H A D | adf_dbgfs.c | 26 accel_dev->hw_device->dev_class->name, in adf_dbgfs_init()
|
H A D | adf_transport.c | 164 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_ring() 388 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_bank() 477 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_etr_data() 527 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in cleanup_bank()
|
H A D | adf_dev_mgr.c | 107 if (ptr->hw_device->dev_class == class) in adf_devmgr_update_class_index() 108 ptr->hw_device->instance_id = i++; in adf_devmgr_update_class_index()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_c3xxxvf/ |
H A D | adf_drv.c | 57 if (accel_dev->hw_device) { in adf_cleanup_accel() 60 adf_clean_hw_data_c3xxxiov(accel_dev->hw_device); in adf_cleanup_accel() 65 kfree(accel_dev->hw_device); in adf_cleanup_accel() 66 accel_dev->hw_device = NULL; in adf_cleanup_accel() 118 accel_dev->hw_device = hw_data; in adf_probe() 119 adf_init_hw_data_c3xxxiov(accel_dev->hw_device); in adf_probe()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_dh895xccvf/ |
H A D | adf_drv.c | 57 if (accel_dev->hw_device) { in adf_cleanup_accel() 60 adf_clean_hw_data_dh895xcciov(accel_dev->hw_device); in adf_cleanup_accel() 65 kfree(accel_dev->hw_device); in adf_cleanup_accel() 66 accel_dev->hw_device = NULL; in adf_cleanup_accel() 118 accel_dev->hw_device = hw_data; in adf_probe() 119 adf_init_hw_data_dh895xcciov(accel_dev->hw_device); in adf_probe()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_c62xvf/ |
H A D | adf_drv.c | 57 if (accel_dev->hw_device) { in adf_cleanup_accel() 60 adf_clean_hw_data_c62xiov(accel_dev->hw_device); in adf_cleanup_accel() 65 kfree(accel_dev->hw_device); in adf_cleanup_accel() 66 accel_dev->hw_device = NULL; in adf_cleanup_accel() 118 accel_dev->hw_device = hw_data; in adf_probe() 119 adf_init_hw_data_c62xiov(accel_dev->hw_device); in adf_probe()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_c62x/ |
H A D | adf_drv.c | 58 if (accel_dev->hw_device) { in adf_cleanup_accel() 61 adf_clean_hw_data_c62x(accel_dev->hw_device); in adf_cleanup_accel() 66 kfree(accel_dev->hw_device); in adf_cleanup_accel() 67 accel_dev->hw_device = NULL; in adf_cleanup_accel() 125 accel_dev->hw_device = hw_data; in adf_probe() 126 adf_init_hw_data_c62x(accel_dev->hw_device); in adf_probe()
|
H A D | adf_c62x_hw_data.c | 73 accel_dev->hw_device->clock_frequency = frequency; in measure_clock()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_c3xxx/ |
H A D | adf_drv.c | 58 if (accel_dev->hw_device) { in adf_cleanup_accel() 61 adf_clean_hw_data_c3xxx(accel_dev->hw_device); in adf_cleanup_accel() 66 kfree(accel_dev->hw_device); in adf_cleanup_accel() 67 accel_dev->hw_device = NULL; in adf_cleanup_accel() 125 accel_dev->hw_device = hw_data; in adf_probe() 126 adf_init_hw_data_c3xxx(accel_dev->hw_device); in adf_probe()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_dh895xcc/ |
H A D | adf_drv.c | 58 if (accel_dev->hw_device) { in adf_cleanup_accel() 61 adf_clean_hw_data_dh895xcc(accel_dev->hw_device); in adf_cleanup_accel() 66 kfree(accel_dev->hw_device); in adf_cleanup_accel() 67 accel_dev->hw_device = NULL; in adf_cleanup_accel() 125 accel_dev->hw_device = hw_data; in adf_probe() 126 adf_init_hw_data_dh895xcc(accel_dev->hw_device); in adf_probe()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_4xxx/ |
H A D | adf_drv.c | 29 if (accel_dev->hw_device) { in adf_cleanup_accel() 30 adf_clean_hw_data_4xxx(accel_dev->hw_device); in adf_cleanup_accel() 31 accel_dev->hw_device = NULL; in adf_cleanup_accel() 347 accel_dev->hw_device = hw_data; in adf_probe() 348 adf_init_hw_data_4xxx(accel_dev->hw_device, ent->device); in adf_probe()
|