Home
last modified time | relevance | path

Searched refs:hw_device (Results 1 – 25 of 38) sorted by relevance

12

/drivers/crypto/intel/qat/qat_common/
A Dadf_accel_engine.c14 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 …]
A Dadf_heartbeat_inject.c13 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()
A Dadf_admin.c174 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 …]
A Dadf_heartbeat.c53 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()
318 if (accel_dev->hw_device->check_hb_ctrs) in adf_heartbeat_start()
[all …]
A Dadf_aer.c37 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()
A Dadf_isr.c24 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()
A Dqat_compression.h27 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_hw_dev_has_compression() local
28 u32 mask = ~hw_device->accel_capabilities_mask; in adf_hw_dev_has_compression()
A Dqat_crypto.h55 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()
A Dadf_hw_arbiter.c20 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()
106 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_disable_arb_thd()
A Dadf_accel_devices.h385 #define GET_HW_DATA(accel_dev) (accel_dev->hw_device)
394 #define GET_CSR_OPS(accel_dev) (&(accel_dev)->hw_device->csr_ops)
395 #define GET_PFVF_OPS(accel_dev) (&(accel_dev)->hw_device->pfvf_ops)
396 #define GET_DC_OPS(accel_dev) (&(accel_dev)->hw_device->dc_ops)
397 #define GET_VFMIG_OPS(accel_dev) (&(accel_dev)->hw_device->vfmig_ops)
450 struct adf_hw_device_data *hw_device; member
A Dadf_gen2_hw_data.c30 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen2_enable_error_correction()
118 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen2_get_accel_cap()
158 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen2_set_ssm_wdtimer()
A Dadf_rl.c482 struct adf_hw_device_data *hw_device = GET_HW_DATA(rl_data->accel_dev); in get_next_free_node_id() local
486 rp_per_leaf = hw_device->num_banks / hw_device->num_banks_per_vf; in get_next_free_node_id()
525 struct adf_rl_hw_data *device_data = &accel_dev->hw_device->rl_data; in adf_rl_calculate_slice_tokens()
546 struct adf_rl_hw_data *device_data = &accel_dev->hw_device->rl_data; in adf_rl_get_num_svc_aes()
557 struct adf_rl_hw_data *device_data = &accel_dev->hw_device->rl_data; in adf_rl_calculate_ae_cycles()
580 struct adf_rl_hw_data *device_data = &accel_dev->hw_device->rl_data; in adf_rl_calculate_pci_bw()
1075 rl->device_data = &accel_dev->hw_device->rl_data; in adf_rl_init()
A Dadf_gen4_vf_mig.c96 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_suspend_device()
129 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_resume_device()
316 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_get_slas()
356 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_load_etr_regs()
408 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_load_etr()
536 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_load_config()
581 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_save_etr_regs()
640 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_save_etr()
782 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_save_config()
A Dadf_init.c67 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()
A Dadf_pfvf_vf_msg.c112 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()
A Dadf_common_drv.h242 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_get_pmisc_base()
252 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_get_etr_base()
262 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_get_aram_base()
/drivers/crypto/intel/qat/qat_c3xxxvf/
A Dadf_drv.c57 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()
/drivers/crypto/intel/qat/qat_c62xvf/
A Dadf_drv.c57 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()
/drivers/crypto/intel/qat/qat_dh895xccvf/
A Dadf_drv.c57 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()
/drivers/crypto/intel/qat/qat_c3xxx/
A Dadf_drv.c40 if (accel_dev->hw_device) { in adf_cleanup_accel()
43 adf_clean_hw_data_c3xxx(accel_dev->hw_device); in adf_cleanup_accel()
48 kfree(accel_dev->hw_device); in adf_cleanup_accel()
49 accel_dev->hw_device = NULL; in adf_cleanup_accel()
107 accel_dev->hw_device = hw_data; in adf_probe()
108 adf_init_hw_data_c3xxx(accel_dev->hw_device); in adf_probe()
/drivers/crypto/intel/qat/qat_c62x/
A Dadf_drv.c40 if (accel_dev->hw_device) { in adf_cleanup_accel()
43 adf_clean_hw_data_c62x(accel_dev->hw_device); in adf_cleanup_accel()
48 kfree(accel_dev->hw_device); in adf_cleanup_accel()
49 accel_dev->hw_device = NULL; in adf_cleanup_accel()
107 accel_dev->hw_device = hw_data; in adf_probe()
108 adf_init_hw_data_c62x(accel_dev->hw_device); in adf_probe()
/drivers/crypto/intel/qat/qat_dh895xcc/
A Dadf_drv.c40 if (accel_dev->hw_device) { in adf_cleanup_accel()
43 adf_clean_hw_data_dh895xcc(accel_dev->hw_device); in adf_cleanup_accel()
48 kfree(accel_dev->hw_device); in adf_cleanup_accel()
49 accel_dev->hw_device = NULL; in adf_cleanup_accel()
107 accel_dev->hw_device = hw_data; in adf_probe()
108 adf_init_hw_data_dh895xcc(accel_dev->hw_device); in adf_probe()
/drivers/crypto/intel/qat/qat_420xx/
A Dadf_drv.c24 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()
/drivers/crypto/intel/qat/qat_4xxx/
A Dadf_drv.c26 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()
/drivers/crypto/intel/qat/qat_6xxx/
A Dadf_drv.c45 if (accel_device->hw_device) { in adf_cleanup_hw_data()
46 adf_clean_hw_data_6xxx(accel_device->hw_device); in adf_cleanup_hw_data()
47 accel_device->hw_device = NULL; in adf_cleanup_hw_data()
110 accel_dev->hw_device = hw_data; in adf_probe()
111 adf_init_hw_data_6xxx(accel_dev->hw_device); in adf_probe()

Completed in 41 milliseconds

12