Home
last modified time | relevance | path

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

12

/Linux-v5.15/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(i); in adf_ae_fw_load_images()
26 ae_mask = hw_device->uof_get_ae_mask(i); in adf_ae_fw_load_images()
56 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_ae_fw_load() local
60 if (!hw_device->fw_name) in adf_ae_fw_load()
63 if (request_firmware(&loader_data->mmp_fw, hw_device->fw_mmp_name, in adf_ae_fw_load()
66 hw_device->fw_mmp_name); in adf_ae_fw_load()
69 if (request_firmware(&loader_data->uof_fw, hw_device->fw_name, in adf_ae_fw_load()
72 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()
220 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_admin_comms()
Dqat_crypto.h60 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_hw_dev_has_crypto() local
61 u32 mask = ~hw_device->accel_capabilities_mask; in adf_hw_dev_has_crypto()
Dadf_isr.c29 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_enable_msix()
79 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_msix_isr_ae()
141 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_request_irqs()
189 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_free_irqs()
209 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_isr_alloc_msix_entry_table()
257 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_setup_bh()
270 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_cleanup_bh()
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_pf2vf_msg.c17 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in __adf_enable_vf2pf_interrupts()
50 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in __adf_disable_vf2pf_interrupts()
90 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in __adf_iov_putmsg()
199 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_vf2pf_req_hndl()
316 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_vf2pf_request_version()
Dadf_vf_isr.c35 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_enable_pf2vf_interrupts()
45 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_disable_pf2vf_interrupts()
96 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_pf2vf_bh_handler()
180 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_isr()
Dadf_gen2_hw_data.c10 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen2_cfg_iov_thds()
157 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen2_get_accel_cap()
185 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen2_set_ssm_wdtimer()
Dadf_accel_devices.h209 #define GET_HW_DATA(accel_dev) (accel_dev->hw_device)
214 #define GET_CSR_OPS(accel_dev) (&(accel_dev)->hw_device->csr_ops)
235 struct adf_hw_device_data *hw_device; member
Dadf_init.c63 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_init()
151 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_start()
261 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_shutdown()
Dadf_sriov.c44 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_enable_sriov()
87 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_disable_sriov()
Dadf_transport.c156 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_ring()
377 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_bank()
466 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_etr_data()
516 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.c112 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_set_ssm_wdtimer()
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/drivers/crypto/qat/qat_c62x/
Dadf_drv.c56 if (accel_dev->hw_device) { in adf_cleanup_accel()
59 adf_clean_hw_data_c62x(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()
124 accel_dev->hw_device = hw_data; in adf_probe()
125 adf_init_hw_data_c62x(accel_dev->hw_device); in adf_probe()
Dadf_c62x_hw_data.c118 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_enable_error_correction() local
120 unsigned long accel_mask = hw_device->accel_mask; in adf_enable_error_correction()
121 unsigned long ae_mask = hw_device->ae_mask; in adf_enable_error_correction()
/Linux-v5.15/drivers/crypto/qat/qat_c3xxx/
Dadf_drv.c56 if (accel_dev->hw_device) { in adf_cleanup_accel()
59 adf_clean_hw_data_c3xxx(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()
124 accel_dev->hw_device = hw_data; in adf_probe()
125 adf_init_hw_data_c3xxx(accel_dev->hw_device); in adf_probe()
Dadf_c3xxx_hw_data.c116 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_enable_error_correction() local
118 unsigned long accel_mask = hw_device->accel_mask; in adf_enable_error_correction()
119 unsigned long ae_mask = hw_device->ae_mask; in adf_enable_error_correction()
/Linux-v5.15/drivers/crypto/qat/qat_dh895xcc/
Dadf_drv.c56 if (accel_dev->hw_device) { in adf_cleanup_accel()
59 adf_clean_hw_data_dh895xcc(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()
124 accel_dev->hw_device = hw_data; in adf_probe()
125 adf_init_hw_data_dh895xcc(accel_dev->hw_device); in adf_probe()
Dadf_dh895xcc_hw_data.c136 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_enable_error_correction() local
138 unsigned long accel_mask = hw_device->accel_mask; in adf_enable_error_correction()
139 unsigned long ae_mask = hw_device->ae_mask; in adf_enable_error_correction()
/Linux-v5.15/drivers/crypto/qat/qat_4xxx/
Dadf_drv.c23 if (accel_dev->hw_device) { in adf_cleanup_accel()
24 adf_clean_hw_data_4xxx(accel_dev->hw_device); in adf_cleanup_accel()
25 accel_dev->hw_device = NULL; in adf_cleanup_accel()
187 accel_dev->hw_device = hw_data; in adf_probe()
188 adf_init_hw_data_4xxx(accel_dev->hw_device); in adf_probe()

12