Home
last modified time | relevance | path

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

12

/drivers/crypto/intel/qat/qat_common/
Dadf_accel_engine.c14 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(); 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 …]
Dadf_admin.c173 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 …]
Dadf_heartbeat.c58 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()
246 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_heartbeat_ms_to_ticks()
[all …]
Dqat_compression.h28 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()
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()
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()
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()
Dadf_aer.c73 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()
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()
Dadf_accel_devices.h259 #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
Dadf_pfvf_pf_msg.c25 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()
Dadf_init.c65 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()
Dadf_pfvf_vf_msg.c98 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()
Dadf_gen2_hw_data.c28 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()
Dadf_sriov.c54 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()
Dadf_transport.c164 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()
Dadf_dbgfs.c26 accel_dev->hw_device->dev_class->name, in adf_dbgfs_init()
Dadf_dev_mgr.c107 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()
/drivers/crypto/intel/qat/qat_c3xxxvf/
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_dh895xccvf/
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_c62xvf/
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_dh895xcc/
Dadf_drv.c58 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()
/drivers/crypto/intel/qat/qat_c62x/
Dadf_drv.c58 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()
/drivers/crypto/intel/qat/qat_c3xxx/
Dadf_drv.c58 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()
Dadf_c3xxx_hw_data.c73 accel_dev->hw_device->clock_frequency = frequency; in measure_clock()
/drivers/crypto/intel/qat/qat_4xxx/
Dadf_drv.c29 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()

12