Home
last modified time | relevance | path

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

/linux/drivers/crypto/intel/qat/qat_common/
H A 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(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 …]
H 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()
H 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()
255 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_heartbeat_ms_to_ticks()
[all …]
H 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()
98 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_dev_restore() local
101 if (hw_device->reset_device) { in adf_dev_restore()
104 hw_device->reset_device(accel_dev); in adf_dev_restore()
241 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_notify_fatal_error_worker() local
247 if (accel_dev->autoreset_on_error && hw_device->exit_arb) in adf_notify_fatal_error_worker()
248 hw_device->exit_arb(accel_dev); in adf_notify_fatal_error_worker()
H 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()
H 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()
H 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()
H A Dadf_pfvf_pf_msg.c90 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()
H A Dadf_sriov.c56 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_enable_sriov()
240 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_disable_sriov()
H A 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()
525 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in cleanup_bank()
H A Dadf_vf_isr.c135 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_isr()
H A Dadf_pfvf_pf_proto.c184 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in handle_rp_reset_req()
/linux/drivers/crypto/intel/qat/qat_dh895xccvf/
H 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()
/linux/drivers/crypto/intel/qat/qat_c62xvf/
H 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()
/linux/drivers/crypto/intel/qat/qat_c3xxxvf/
H 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()