/linux-6.12.1/drivers/crypto/intel/qat/qat_common/ |
D | adf_accel_engine.c | 14 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_ae_fw_load_images() local 22 num_objs = hw_device->uof_get_num_objs(accel_dev); in adf_ae_fw_load_images() 25 obj_name = hw_device->uof_get_name(accel_dev, i); in adf_ae_fw_load_images() 26 ae_mask = hw_device->uof_get_ae_mask(accel_dev, i); in adf_ae_fw_load_images() 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() 67 if (request_firmware(&loader_data->mmp_fw, hw_device->fw_mmp_name, in adf_ae_fw_load() 70 hw_device->fw_mmp_name); in adf_ae_fw_load() 73 if (request_firmware(&loader_data->uof_fw, hw_device->fw_name, in adf_ae_fw_load() 76 hw_device->fw_name); in adf_ae_fw_load() [all …]
|
D | adf_heartbeat_inject.c | 13 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_hb_set_timer_to_max() 27 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_set_hb_counters_fail() local 28 const size_t max_aes = hw_device->get_num_aes(hw_device); in adf_set_hb_counters_fail() 29 const size_t hb_ctrs = hw_device->num_hb_ctrs; in adf_set_hb_counters_fail() 44 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_heartbeat_inject_error() local 45 const size_t max_aes = hw_device->get_num_aes(hw_device); in adf_heartbeat_inject_error() 46 const size_t hb_ctrs = hw_device->num_hb_ctrs; in adf_heartbeat_inject_error() 51 ae_mask = hw_device->ae_mask; in adf_heartbeat_inject_error()
|
D | adf_admin.c | 174 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_init_ae() local 175 u32 ae_mask = hw_device->ae_mask; in adf_init_ae() 188 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_set_fw_constants() local 189 u32 ae_mask = hw_device->admin_ae_mask ?: hw_device->ae_mask; in adf_set_fw_constants() 231 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_get_dc_capabilities() local 239 ae_mask = hw_device->ae_mask & ~hw_device->admin_ae_mask; in adf_get_dc_capabilities() 277 u32 ae_mask = accel_dev->hw_device->ae_mask; in adf_send_admin_tim_sync() 289 u32 ae_mask = accel_dev->hw_device->ae_mask; in adf_send_admin_hb_timer() 315 u32 ae_mask = accel_dev->hw_device->admin_ae_mask; in adf_get_fw_capabilities() 336 u32 ae_mask = accel_dev->hw_device->admin_ae_mask; in adf_send_admin_rl_init() [all …]
|
D | adf_heartbeat.c | 53 const size_t hb_ctrs = accel_dev->hw_device->num_hb_ctrs; in validate_hb_ctrs_cnt() 54 const size_t max_aes = accel_dev->hw_device->num_engines; in validate_hb_ctrs_cnt() 81 const size_t hb_ctrs = accel_dev->hw_device->num_hb_ctrs; in adf_heartbeat_check_ctrs() 82 const size_t max_aes = accel_dev->hw_device->num_engines; in adf_heartbeat_check_ctrs() 161 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_hb_get_status() local 163 const size_t hb_ctrs = hw_device->num_hb_ctrs; in adf_hb_get_status() 164 const unsigned long ae_mask = hw_device->ae_mask; in adf_hb_get_status() 165 const size_t max_aes = hw_device->num_engines; in adf_hb_get_status() 176 hw_device->num_hb_ctrs += ADF_NUM_PKE_STRAND; in adf_hb_get_status() 255 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_heartbeat_ms_to_ticks() [all …]
|
D | adf_aer.c | 37 if (accel_dev->hw_device->exit_arb) { in adf_error_detected() 39 accel_dev->hw_device->exit_arb(accel_dev); in adf_error_detected() 100 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_dev_restore() local 103 if (hw_device->reset_device) { in adf_dev_restore() 106 hw_device->reset_device(accel_dev); in adf_dev_restore() 245 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_notify_fatal_error_worker() local 251 if (accel_dev->autoreset_on_error && hw_device->exit_arb) in adf_notify_fatal_error_worker() 252 hw_device->exit_arb(accel_dev); in adf_notify_fatal_error_worker()
|
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()
|
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()
|
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() 137 struct adf_ras_ops *ras_ops = &accel_dev->hw_device->ras_ops; in adf_handle_ras_int() 180 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_free_irqs() 205 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_request_irqs() 272 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_isr_alloc_msix_vectors_data() 299 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_setup_bh() 312 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_cleanup_bh()
|
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() 110 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_disable_arb_thd()
|
D | adf_gen2_hw_data.c | 28 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen2_enable_error_correction() 116 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen2_get_accel_cap() 156 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen2_set_ssm_wdtimer()
|
D | adf_accel_devices.h | 388 #define GET_HW_DATA(accel_dev) (accel_dev->hw_device) 397 #define GET_CSR_OPS(accel_dev) (&(accel_dev)->hw_device->csr_ops) 398 #define GET_PFVF_OPS(accel_dev) (&(accel_dev)->hw_device->pfvf_ops) 399 #define GET_DC_OPS(accel_dev) (&(accel_dev)->hw_device->dc_ops) 400 #define GET_VFMIG_OPS(accel_dev) (&(accel_dev)->hw_device->vfmig_ops) 453 struct adf_hw_device_data *hw_device; member
|
D | adf_pfvf_vf_msg.c | 112 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_vf2pf_get_capabilities() 179 accel_dev->hw_device->ring_to_svc_map = rts_map_msg.map; in adf_vf2pf_get_ring_to_svc()
|
D | adf_init.c | 67 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_init() 180 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_start() 282 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_stop() 348 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_shutdown()
|
D | adf_pfvf_pf_msg.c | 90 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_pf_capabilities_msg_provider() 110 rts_map_msg.map = accel_dev->hw_device->ring_to_svc_map; in adf_pf_ring_to_svc_msg_provider()
|
D | adf_gen4_vf_mig.c | 95 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_suspend_device() 128 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_resume_device() 315 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_get_slas() 355 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_load_etr_regs() 407 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_load_etr() 535 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_load_config() 580 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_save_etr_regs() 639 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_save_etr() 781 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_save_config()
|
D | adf_common_drv.h | 243 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_get_pmisc_base() 253 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_get_etr_base() 263 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_get_aram_base()
|
D | adf_rl.c | 511 struct adf_hw_device_data *hw_device = GET_HW_DATA(rl_data->accel_dev); in get_next_free_node_id() local 515 rp_per_leaf = hw_device->num_banks / hw_device->num_banks_per_vf; in get_next_free_node_id() 554 struct adf_rl_hw_data *device_data = &accel_dev->hw_device->rl_data; in adf_rl_calculate_slice_tokens() 587 struct adf_rl_hw_data *device_data = &accel_dev->hw_device->rl_data; in adf_rl_calculate_ae_cycles() 610 struct adf_rl_hw_data *device_data = &accel_dev->hw_device->rl_data; in adf_rl_calculate_pci_bw() 1107 rl->device_data = &accel_dev->hw_device->rl_data; in adf_rl_init()
|
/linux-6.12.1/drivers/crypto/intel/qat/qat_c3xxxvf/ |
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()
|
/linux-6.12.1/drivers/crypto/intel/qat/qat_c62xvf/ |
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()
|
/linux-6.12.1/drivers/crypto/intel/qat/qat_dh895xccvf/ |
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()
|
/linux-6.12.1/drivers/crypto/intel/qat/qat_dh895xcc/ |
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()
|
/linux-6.12.1/drivers/crypto/intel/qat/qat_c3xxx/ |
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()
|
/linux-6.12.1/drivers/crypto/intel/qat/qat_c62x/ |
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()
|
/linux-6.12.1/drivers/crypto/intel/qat/qat_4xxx/ |
D | adf_drv.c | 26 if (accel_dev->hw_device) { in adf_cleanup_accel() 27 adf_clean_hw_data_4xxx(accel_dev->hw_device); in adf_cleanup_accel() 28 accel_dev->hw_device = NULL; in adf_cleanup_accel() 80 accel_dev->hw_device = hw_data; in adf_probe() 81 adf_init_hw_data_4xxx(accel_dev->hw_device, ent->device); in adf_probe()
|
/linux-6.12.1/drivers/crypto/intel/qat/qat_420xx/ |
D | adf_drv.c | 24 if (accel_dev->hw_device) { in adf_cleanup_accel() 25 adf_clean_hw_data_420xx(accel_dev->hw_device); in adf_cleanup_accel() 26 accel_dev->hw_device = NULL; in adf_cleanup_accel() 78 accel_dev->hw_device = hw_data; in adf_probe() 79 adf_init_hw_data_420xx(accel_dev->hw_device, ent->device); in adf_probe()
|