Home
last modified time | relevance | path

Searched defs:accel_dev (Results 1 – 25 of 33) sorted by relevance

12

/drivers/crypto/qat/qat_common/
Dadf_vf_isr.c27 struct adf_accel_dev *accel_dev; member
31 static int adf_enable_msi(struct adf_accel_dev *accel_dev) in adf_enable_msi()
49 static void adf_disable_msi(struct adf_accel_dev *accel_dev) in adf_disable_msi()
61 struct adf_accel_dev *accel_dev = stop_data->accel_dev; in adf_dev_stop_async() local
73 struct adf_accel_dev *accel_dev = data; in adf_pf2vf_bh_handler() local
145 static int adf_setup_pf2vf_bh(struct adf_accel_dev *accel_dev) in adf_setup_pf2vf_bh()
154 static void adf_cleanup_pf2vf_bh(struct adf_accel_dev *accel_dev) in adf_cleanup_pf2vf_bh()
163 struct adf_accel_dev *accel_dev = privdata; in adf_isr() local
199 static int adf_request_msi_irq(struct adf_accel_dev *accel_dev) in adf_request_msi_irq()
221 static int adf_setup_bh(struct adf_accel_dev *accel_dev) in adf_setup_bh()
[all …]
Dadf_aer.c17 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_error_detected() local
36 struct adf_accel_dev *accel_dev; member
41 void adf_reset_sbr(struct adf_accel_dev *accel_dev) in adf_reset_sbr()
66 void adf_reset_flr(struct adf_accel_dev *accel_dev) in adf_reset_flr()
72 void adf_dev_restore(struct adf_accel_dev *accel_dev) in adf_dev_restore()
90 struct adf_accel_dev *accel_dev = reset_data->accel_dev; in adf_device_reset_worker() local
112 static int adf_dev_aer_schedule_reset(struct adf_accel_dev *accel_dev, in adf_dev_aer_schedule_reset()
151 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_slot_reset() local
185 int adf_enable_aer(struct adf_accel_dev *accel_dev) in adf_enable_aer()
206 void adf_disable_aer(struct adf_accel_dev *accel_dev) in adf_disable_aer()
Dadf_isr.c20 static int adf_enable_msix(struct adf_accel_dev *accel_dev) in adf_enable_msix()
63 struct adf_accel_dev *accel_dev = dev_ptr; in adf_msix_isr_ae() local
120 static int adf_request_irqs(struct adf_accel_dev *accel_dev) in adf_request_irqs()
168 static void adf_free_irqs(struct adf_accel_dev *accel_dev) in adf_free_irqs()
186 static int adf_isr_alloc_msix_entry_table(struct adf_accel_dev *accel_dev) in adf_isr_alloc_msix_entry_table()
225 static void adf_isr_free_msix_entry_table(struct adf_accel_dev *accel_dev) in adf_isr_free_msix_entry_table()
236 static int adf_setup_bh(struct adf_accel_dev *accel_dev) in adf_setup_bh()
249 static void adf_cleanup_bh(struct adf_accel_dev *accel_dev) in adf_cleanup_bh()
267 void adf_isr_resource_free(struct adf_accel_dev *accel_dev) in adf_isr_resource_free()
284 int adf_isr_resource_alloc(struct adf_accel_dev *accel_dev) in adf_isr_resource_alloc()
Dadf_pf2vf_msg.c14 void adf_enable_pf2vf_interrupts(struct adf_accel_dev *accel_dev) in adf_enable_pf2vf_interrupts()
24 void adf_disable_pf2vf_interrupts(struct adf_accel_dev *accel_dev) in adf_disable_pf2vf_interrupts()
34 void adf_enable_vf2pf_interrupts(struct adf_accel_dev *accel_dev, in adf_enable_vf2pf_interrupts()
58 void adf_disable_vf2pf_interrupts(struct adf_accel_dev *accel_dev, u32 vf_mask) in adf_disable_vf2pf_interrupts()
81 static int __adf_iov_putmsg(struct adf_accel_dev *accel_dev, u32 msg, u8 vf_nr) in __adf_iov_putmsg()
166 int adf_iov_putmsg(struct adf_accel_dev *accel_dev, u32 msg, u8 vf_nr) in adf_iov_putmsg()
182 struct adf_accel_dev *accel_dev = vf_info->accel_dev; in adf_vf2pf_req_hndl() local
288 void adf_pf2vf_notify_restarting(struct adf_accel_dev *accel_dev) in adf_pf2vf_notify_restarting()
302 static int adf_vf2pf_request_version(struct adf_accel_dev *accel_dev) in adf_vf2pf_request_version()
362 int adf_enable_vf2pf_comms(struct adf_accel_dev *accel_dev) in adf_enable_vf2pf_comms()
Dadf_accel_engine.c10 int adf_ae_fw_load(struct adf_accel_dev *accel_dev) in adf_ae_fw_load()
56 void adf_ae_fw_release(struct adf_accel_dev *accel_dev) in adf_ae_fw_release()
73 int adf_ae_start(struct adf_accel_dev *accel_dev) in adf_ae_start()
94 int adf_ae_stop(struct adf_accel_dev *accel_dev) in adf_ae_stop()
115 static int adf_ae_reset(struct adf_accel_dev *accel_dev, int ae) in adf_ae_reset()
126 int adf_ae_init(struct adf_accel_dev *accel_dev) in adf_ae_init()
153 int adf_ae_shutdown(struct adf_accel_dev *accel_dev) in adf_ae_shutdown()
Dqat_crypto.c24 static int qat_crypto_free_instances(struct adf_accel_dev *accel_dev) in qat_crypto_free_instances()
53 struct adf_accel_dev *accel_dev = NULL, *tmp_dev; in qat_crypto_get_instance_node() local
116 int qat_crypto_dev_config(struct adf_accel_dev *accel_dev) in qat_crypto_dev_config()
206 static int qat_crypto_create_instances(struct adf_accel_dev *accel_dev) in qat_crypto_create_instances()
287 static int qat_crypto_init(struct adf_accel_dev *accel_dev) in qat_crypto_init()
295 static int qat_crypto_shutdown(struct adf_accel_dev *accel_dev) in qat_crypto_shutdown()
300 static int qat_crypto_event_handler(struct adf_accel_dev *accel_dev, in qat_crypto_event_handler()
Dadf_init.c59 int adf_dev_init(struct adf_accel_dev *accel_dev) in adf_dev_init()
147 int adf_dev_start(struct adf_accel_dev *accel_dev) in adf_dev_start()
202 void adf_dev_stop(struct adf_accel_dev *accel_dev) in adf_dev_stop()
253 void adf_dev_shutdown(struct adf_accel_dev *accel_dev) in adf_dev_shutdown()
313 int adf_dev_restarting_notify(struct adf_accel_dev *accel_dev) in adf_dev_restarting_notify()
328 int adf_dev_restarted_notify(struct adf_accel_dev *accel_dev) in adf_dev_restarted_notify()
Dadf_cfg.c67 int adf_cfg_dev_add(struct adf_accel_dev *accel_dev) in adf_cfg_dev_add()
89 void adf_cfg_del_all(struct adf_accel_dev *accel_dev) in adf_cfg_del_all()
109 void adf_cfg_dev_remove(struct adf_accel_dev *accel_dev) in adf_cfg_dev_remove()
170 static struct adf_cfg_section *adf_cfg_sec_find(struct adf_accel_dev *accel_dev, in adf_cfg_sec_find()
185 static int adf_cfg_key_val_get(struct adf_accel_dev *accel_dev, in adf_cfg_key_val_get()
216 int adf_cfg_add_key_value_param(struct adf_accel_dev *accel_dev, in adf_cfg_add_key_value_param()
267 int adf_cfg_section_add(struct adf_accel_dev *accel_dev, const char *name) in adf_cfg_section_add()
288 int adf_cfg_get_param_value(struct adf_accel_dev *accel_dev, in adf_cfg_get_param_value()
Dadf_admin.c113 static int adf_put_admin_msg_sync(struct adf_accel_dev *accel_dev, u32 ae, in adf_put_admin_msg_sync()
155 static int adf_send_admin(struct adf_accel_dev *accel_dev, in adf_send_admin()
170 static int adf_init_me(struct adf_accel_dev *accel_dev) in adf_init_me()
184 static int adf_set_fw_constants(struct adf_accel_dev *accel_dev) in adf_set_fw_constants()
209 int adf_send_admin_init(struct adf_accel_dev *accel_dev) in adf_send_admin_init()
221 int adf_init_admin_comms(struct adf_accel_dev *accel_dev) in adf_init_admin_comms()
267 void adf_exit_admin_comms(struct adf_accel_dev *accel_dev) in adf_exit_admin_comms()
Dadf_dev_mgr.c139 int adf_devmgr_add_dev(struct adf_accel_dev *accel_dev, in adf_devmgr_add_dev()
247 void adf_devmgr_rm_dev(struct adf_accel_dev *accel_dev, in adf_devmgr_rm_dev()
379 int adf_dev_in_use(struct adf_accel_dev *accel_dev) in adf_dev_in_use()
396 int adf_dev_get(struct adf_accel_dev *accel_dev) in adf_dev_get()
416 void adf_dev_put(struct adf_accel_dev *accel_dev) in adf_dev_put()
431 int adf_devmgr_in_reset(struct adf_accel_dev *accel_dev) in adf_devmgr_in_reset()
445 int adf_dev_started(struct adf_accel_dev *accel_dev) in adf_dev_started()
Dadf_transport.c137 struct adf_accel_dev *accel_dev = bank->accel_dev; in adf_init_ring() local
187 int adf_create_ring(struct adf_accel_dev *accel_dev, const char *section, in adf_create_ring()
311 static inline int adf_get_cfg_int(struct adf_accel_dev *accel_dev, in adf_get_cfg_int()
342 static int adf_init_bank(struct adf_accel_dev *accel_dev, in adf_init_bank()
416 int adf_init_etr_data(struct adf_accel_dev *accel_dev) in adf_init_etr_data()
471 struct adf_accel_dev *accel_dev = bank->accel_dev; in cleanup_bank() local
485 static void adf_cleanup_etr_handles(struct adf_accel_dev *accel_dev) in adf_cleanup_etr_handles()
504 void adf_cleanup_etr_data(struct adf_accel_dev *accel_dev) in adf_cleanup_etr_data()
Dadf_ctl_drv.c107 static int adf_add_key_value_data(struct adf_accel_dev *accel_dev, in adf_add_key_value_data()
134 static int adf_copy_key_value_data(struct adf_accel_dev *accel_dev, in adf_copy_key_value_data()
185 struct adf_accel_dev *accel_dev; in adf_ctl_ioctl_dev_config() local
231 struct adf_accel_dev *accel_dev; in adf_ctl_stop_devices() local
296 struct adf_accel_dev *accel_dev; in adf_ctl_ioctl_dev_start() local
347 struct adf_accel_dev *accel_dev; in adf_ctl_ioctl_get_status() local
Dadf_common_drv.h210 static inline void adf_disable_sriov(struct adf_accel_dev *accel_dev) in adf_disable_sriov()
214 static inline void adf_enable_pf2vf_interrupts(struct adf_accel_dev *accel_dev) in adf_enable_pf2vf_interrupts()
218 static inline void adf_disable_pf2vf_interrupts(struct adf_accel_dev *accel_dev) in adf_disable_pf2vf_interrupts()
222 static inline int adf_vf2pf_notify_init(struct adf_accel_dev *accel_dev) in adf_vf2pf_notify_init()
227 static inline void adf_vf2pf_notify_shutdown(struct adf_accel_dev *accel_dev) in adf_vf2pf_notify_shutdown()
Dadf_vf2pf_msg.c15 int adf_vf2pf_notify_init(struct adf_accel_dev *accel_dev) in adf_vf2pf_notify_init()
38 void adf_vf2pf_notify_shutdown(struct adf_accel_dev *accel_dev) in adf_vf2pf_notify_shutdown()
Dadf_sriov.c66 static int adf_enable_sriov(struct adf_accel_dev *accel_dev) in adf_enable_sriov()
127 void adf_disable_sriov(struct adf_accel_dev *accel_dev) in adf_disable_sriov()
187 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_sriov_configure() local
/drivers/crypto/qat/qat_c62x/
Dadf_drv.c38 static void adf_cleanup_pci_dev(struct adf_accel_dev *accel_dev) in adf_cleanup_pci_dev()
44 static void adf_cleanup_accel(struct adf_accel_dev *accel_dev) in adf_cleanup_accel()
74 struct adf_accel_dev *accel_dev; in adf_probe() local
245 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove() local
Dadf_c62x_hw_data.c109 static void adf_get_arbiter_mapping(struct adf_accel_dev *accel_dev, in adf_get_arbiter_mapping()
136 static void adf_enable_error_correction(struct adf_accel_dev *accel_dev) in adf_enable_error_correction()
166 static void adf_enable_ints(struct adf_accel_dev *accel_dev) in adf_enable_ints()
179 static int adf_pf_enable_vf2pf_comms(struct adf_accel_dev *accel_dev) in adf_pf_enable_vf2pf_comms()
/drivers/crypto/qat/qat_c3xxx/
Dadf_drv.c38 static void adf_cleanup_pci_dev(struct adf_accel_dev *accel_dev) in adf_cleanup_pci_dev()
44 static void adf_cleanup_accel(struct adf_accel_dev *accel_dev) in adf_cleanup_accel()
74 struct adf_accel_dev *accel_dev; in adf_probe() local
245 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove() local
Dadf_c3xxx_hw_data.c102 static void adf_get_arbiter_mapping(struct adf_accel_dev *accel_dev, in adf_get_arbiter_mapping()
126 static void adf_enable_error_correction(struct adf_accel_dev *accel_dev) in adf_enable_error_correction()
156 static void adf_enable_ints(struct adf_accel_dev *accel_dev) in adf_enable_ints()
169 static int adf_pf_enable_vf2pf_comms(struct adf_accel_dev *accel_dev) in adf_pf_enable_vf2pf_comms()
/drivers/crypto/qat/qat_dh895xcc/
Dadf_drv.c38 static void adf_cleanup_pci_dev(struct adf_accel_dev *accel_dev) in adf_cleanup_pci_dev()
44 static void adf_cleanup_accel(struct adf_accel_dev *accel_dev) in adf_cleanup_accel()
74 struct adf_accel_dev *accel_dev; in adf_probe() local
245 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove() local
Dadf_dh895xcc_hw_data.c105 static void adf_get_arbiter_mapping(struct adf_accel_dev *accel_dev, in adf_get_arbiter_mapping()
134 static void adf_enable_error_correction(struct adf_accel_dev *accel_dev) in adf_enable_error_correction()
164 static void adf_enable_ints(struct adf_accel_dev *accel_dev) in adf_enable_ints()
178 static int adf_pf_enable_vf2pf_comms(struct adf_accel_dev *accel_dev) in adf_pf_enable_vf2pf_comms()
/drivers/crypto/qat/qat_dh895xccvf/
Dadf_drv.c37 static void adf_cleanup_pci_dev(struct adf_accel_dev *accel_dev) in adf_cleanup_pci_dev()
43 static void adf_cleanup_accel(struct adf_accel_dev *accel_dev) in adf_cleanup_accel()
75 struct adf_accel_dev *accel_dev; in adf_probe() local
215 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove() local
/drivers/crypto/qat/qat_c62xvf/
Dadf_drv.c37 static void adf_cleanup_pci_dev(struct adf_accel_dev *accel_dev) in adf_cleanup_pci_dev()
43 static void adf_cleanup_accel(struct adf_accel_dev *accel_dev) in adf_cleanup_accel()
75 struct adf_accel_dev *accel_dev; in adf_probe() local
215 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove() local
Dadf_c62xvf_hw_data.c59 static int adf_vf_int_noop(struct adf_accel_dev *accel_dev) in adf_vf_int_noop()
64 static void adf_vf_void_noop(struct adf_accel_dev *accel_dev) in adf_vf_void_noop()
/drivers/crypto/qat/qat_c3xxxvf/
Dadf_drv.c37 static void adf_cleanup_pci_dev(struct adf_accel_dev *accel_dev) in adf_cleanup_pci_dev()
43 static void adf_cleanup_accel(struct adf_accel_dev *accel_dev) in adf_cleanup_accel()
75 struct adf_accel_dev *accel_dev; in adf_probe() local
215 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove() local

12