Home
last modified time | relevance | path

Searched refs:adf_accel_dev (Results 1 – 25 of 35) sorted by relevance

12

/drivers/crypto/qat/qat_common/
Dadf_common_drv.h44 int (*event_hld)(struct adf_accel_dev *accel_dev,
60 int adf_dev_init(struct adf_accel_dev *accel_dev);
61 int adf_dev_start(struct adf_accel_dev *accel_dev);
62 void adf_dev_stop(struct adf_accel_dev *accel_dev);
63 void adf_dev_shutdown(struct adf_accel_dev *accel_dev);
65 int adf_iov_putmsg(struct adf_accel_dev *accel_dev, u32 msg, u8 vf_nr);
66 void adf_pf2vf_notify_restarting(struct adf_accel_dev *accel_dev);
67 int adf_enable_vf2pf_comms(struct adf_accel_dev *accel_dev);
77 int adf_devmgr_add_dev(struct adf_accel_dev *accel_dev,
78 struct adf_accel_dev *pf);
[all …]
Dadf_dev_mgr.c22 static int adf_get_vf_id(struct adf_accel_dev *vf) in adf_get_vf_id()
29 static int adf_get_vf_num(struct adf_accel_dev *vf) in adf_get_vf_num()
104 struct adf_accel_dev *ptr = in adf_devmgr_update_class_index()
105 list_entry(itr, struct adf_accel_dev, list); in adf_devmgr_update_class_index()
139 int adf_devmgr_add_dev(struct adf_accel_dev *accel_dev, in adf_devmgr_add_dev()
140 struct adf_accel_dev *pf) in adf_devmgr_add_dev()
159 struct adf_accel_dev *ptr = in adf_devmgr_add_dev()
160 list_entry(itr, struct adf_accel_dev, list); in adf_devmgr_add_dev()
247 void adf_devmgr_rm_dev(struct adf_accel_dev *accel_dev, in adf_devmgr_rm_dev()
248 struct adf_accel_dev *pf) in adf_devmgr_rm_dev()
[all …]
Dadf_accel_devices.h101 struct adf_accel_dev;
117 int (*alloc_irq)(struct adf_accel_dev *accel_dev);
118 void (*free_irq)(struct adf_accel_dev *accel_dev);
119 void (*enable_error_correction)(struct adf_accel_dev *accel_dev);
120 int (*init_admin_comms)(struct adf_accel_dev *accel_dev);
121 void (*exit_admin_comms)(struct adf_accel_dev *accel_dev);
122 int (*send_admin_init)(struct adf_accel_dev *accel_dev);
123 int (*init_arb)(struct adf_accel_dev *accel_dev);
124 void (*exit_arb)(struct adf_accel_dev *accel_dev);
125 void (*get_arb_mapping)(struct adf_accel_dev *accel_dev,
[all …]
Dadf_vf_isr.c27 struct adf_accel_dev *accel_dev;
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()
73 struct adf_accel_dev *accel_dev = data; in adf_pf2vf_bh_handler()
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()
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()
36 struct adf_accel_dev *accel_dev;
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()
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()
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_cfg.h32 int adf_cfg_dev_add(struct adf_accel_dev *accel_dev);
33 void adf_cfg_dev_remove(struct adf_accel_dev *accel_dev);
34 int adf_cfg_section_add(struct adf_accel_dev *accel_dev, const char *name);
35 void adf_cfg_del_all(struct adf_accel_dev *accel_dev);
36 int adf_cfg_add_key_value_param(struct adf_accel_dev *accel_dev,
40 int adf_cfg_get_param_value(struct adf_accel_dev *accel_dev,
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()
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()
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()
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_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_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()
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()
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_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()
214 struct adf_accel_dev *dev; in adf_ctl_is_device_in_use()
231 struct adf_accel_dev *accel_dev; in adf_ctl_stop_devices()
296 struct adf_accel_dev *accel_dev; in adf_ctl_ioctl_dev_start()
347 struct adf_accel_dev *accel_dev; in adf_ctl_ioctl_get_status()
Dadf_transport.c137 struct adf_accel_dev *accel_dev = bank->accel_dev; in adf_init_ring()
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()
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_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()
/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()
46 struct adf_accel_dev *pf; in adf_cleanup_accel()
75 struct adf_accel_dev *accel_dev; in adf_probe()
76 struct adf_accel_dev *pf; in adf_probe()
215 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove()
/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()
46 struct adf_accel_dev *pf; in adf_cleanup_accel()
75 struct adf_accel_dev *accel_dev; in adf_probe()
76 struct adf_accel_dev *pf; in adf_probe()
215 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove()
/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()
46 struct adf_accel_dev *pf; in adf_cleanup_accel()
75 struct adf_accel_dev *accel_dev; in adf_probe()
76 struct adf_accel_dev *pf; in adf_probe()
215 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove()
/drivers/crypto/qat/qat_dh895xcc/
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()
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()
245 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove()
/drivers/crypto/qat/qat_c62x/
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()
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()
245 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove()
/drivers/crypto/qat/qat_c3xxx/
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()
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()
245 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove()

12