Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/crypto/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.c170 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_init_ae() local
171 u32 ae_mask = hw_device->ae_mask; in adf_init_ae()
184 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_set_fw_constants() local
185 u32 ae_mask = hw_device->admin_ae_mask ?: hw_device->ae_mask; in adf_set_fw_constants()
200 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_get_dc_capabilities() local
208 ae_mask = hw_device->ae_mask & ~hw_device->admin_ae_mask; in adf_get_dc_capabilities()
244 accel_dev->hw_device->extended_dc_capabilities = dc_capabilities; in adf_send_admin_init()
274 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_admin_pm()
294 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_admin_comms()
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.h99 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_hw_dev_has_crypto() local
100 u32 mask = ~hw_device->accel_capabilities_mask; in adf_hw_dev_has_crypto()
Dadf_aer.c74 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_dev_restore() local
77 if (hw_device->reset_device) { in adf_dev_restore()
80 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_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_accel_devices.h240 #define GET_HW_DATA(accel_dev) (accel_dev->hw_device)
248 #define GET_CSR_OPS(accel_dev) (&(accel_dev)->hw_device->csr_ops)
249 #define GET_PFVF_OPS(accel_dev) (&(accel_dev)->hw_device->pfvf_ops)
271 struct adf_hw_device_data *hw_device; member
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_init.c63 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_init()
163 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_start()
279 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_shutdown()
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_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()
Dadf_gen4_hw_data.c173 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_ring_pair_reset()
Dadf_vf_isr.c134 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_isr()
Dadf_common_drv.h238 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_get_pmisc_base()
Dadf_pfvf_pf_proto.c184 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in handle_rp_reset_req()
/Linux-v6.1/drivers/crypto/qat/qat_dh895xccvf/
Dadf_drv.c56 if (accel_dev->hw_device) { in adf_cleanup_accel()
59 adf_clean_hw_data_dh895xcciov(accel_dev->hw_device); in adf_cleanup_accel()
64 kfree(accel_dev->hw_device); in adf_cleanup_accel()
65 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-v6.1/drivers/crypto/qat/qat_c3xxxvf/
Dadf_drv.c56 if (accel_dev->hw_device) { in adf_cleanup_accel()
59 adf_clean_hw_data_c3xxxiov(accel_dev->hw_device); in adf_cleanup_accel()
64 kfree(accel_dev->hw_device); in adf_cleanup_accel()
65 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-v6.1/drivers/crypto/qat/qat_c62xvf/
Dadf_drv.c56 if (accel_dev->hw_device) { in adf_cleanup_accel()
59 adf_clean_hw_data_c62xiov(accel_dev->hw_device); in adf_cleanup_accel()
64 kfree(accel_dev->hw_device); in adf_cleanup_accel()
65 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-v6.1/drivers/crypto/qat/qat_dh895xcc/
Dadf_drv.c57 if (accel_dev->hw_device) { in adf_cleanup_accel()
60 adf_clean_hw_data_dh895xcc(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()
125 accel_dev->hw_device = hw_data; in adf_probe()
126 adf_init_hw_data_dh895xcc(accel_dev->hw_device); in adf_probe()
/Linux-v6.1/drivers/crypto/qat/qat_c3xxx/
Dadf_drv.c57 if (accel_dev->hw_device) { in adf_cleanup_accel()
60 adf_clean_hw_data_c3xxx(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()
125 accel_dev->hw_device = hw_data; in adf_probe()
126 adf_init_hw_data_c3xxx(accel_dev->hw_device); in adf_probe()
/Linux-v6.1/drivers/crypto/qat/qat_c62x/
Dadf_drv.c57 if (accel_dev->hw_device) { in adf_cleanup_accel()
60 adf_clean_hw_data_c62x(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()
125 accel_dev->hw_device = hw_data; in adf_probe()
126 adf_init_hw_data_c62x(accel_dev->hw_device); in adf_probe()
/Linux-v6.1/drivers/crypto/qat/qat_4xxx/
Dadf_drv.c24 if (accel_dev->hw_device) { in adf_cleanup_accel()
25 adf_clean_hw_data_4xxx(accel_dev->hw_device); in adf_cleanup_accel()
26 accel_dev->hw_device = NULL; in adf_cleanup_accel()
211 accel_dev->hw_device = hw_data; in adf_probe()
212 adf_init_hw_data_4xxx(accel_dev->hw_device); in adf_probe()

12