Home
last modified time | relevance | path

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

/drivers/crypto/qat/qat_dh895xccvf/
Dadf_isr.c65 static int adf_enable_msi(struct adf_accel_dev *accel_dev) in adf_enable_msi()
83 static void adf_disable_msi(struct adf_accel_dev *accel_dev) in adf_disable_msi()
93 struct adf_accel_dev *accel_dev = data; in adf_pf2vf_bh_handler() local
139 static int adf_setup_pf2vf_bh(struct adf_accel_dev *accel_dev) in adf_setup_pf2vf_bh()
148 static void adf_cleanup_pf2vf_bh(struct adf_accel_dev *accel_dev) in adf_cleanup_pf2vf_bh()
157 struct adf_accel_dev *accel_dev = privdata; in adf_isr() local
190 static int adf_request_msi_irq(struct adf_accel_dev *accel_dev) in adf_request_msi_irq()
212 static int adf_setup_bh(struct adf_accel_dev *accel_dev) in adf_setup_bh()
221 static void adf_cleanup_bh(struct adf_accel_dev *accel_dev) in adf_cleanup_bh()
229 void adf_vf_isr_resource_free(struct adf_accel_dev *accel_dev) in adf_vf_isr_resource_free()
[all …]
Dadf_drv.c88 static void adf_cleanup_pci_dev(struct adf_accel_dev *accel_dev) in adf_cleanup_pci_dev()
94 static void adf_cleanup_accel(struct adf_accel_dev *accel_dev) in adf_cleanup_accel()
124 static int adf_dev_configure(struct adf_accel_dev *accel_dev) in adf_dev_configure()
203 struct adf_accel_dev *accel_dev; in adf_probe() local
355 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove() local
Dadf_dh895xccvf_hw_data.c104 static int adf_vf_int_noop(struct adf_accel_dev *accel_dev) in adf_vf_int_noop()
109 static void adf_vf_void_noop(struct adf_accel_dev *accel_dev) in adf_vf_void_noop()
113 static int adf_vf2pf_init(struct adf_accel_dev *accel_dev) in adf_vf2pf_init()
126 static void adf_vf2pf_shutdown(struct adf_accel_dev *accel_dev) in adf_vf2pf_shutdown()
/drivers/crypto/qat/qat_dh895xcc/
Dadf_isr.c64 static int adf_enable_msix(struct adf_accel_dev *accel_dev) in adf_enable_msix()
107 struct adf_accel_dev *accel_dev = dev_ptr; in adf_msix_isr_ae() local
163 static int adf_request_irqs(struct adf_accel_dev *accel_dev) in adf_request_irqs()
211 static void adf_free_irqs(struct adf_accel_dev *accel_dev) in adf_free_irqs()
229 static int adf_isr_alloc_msix_entry_table(struct adf_accel_dev *accel_dev) in adf_isr_alloc_msix_entry_table()
268 static void adf_isr_free_msix_entry_table(struct adf_accel_dev *accel_dev) in adf_isr_free_msix_entry_table()
279 static int adf_setup_bh(struct adf_accel_dev *accel_dev) in adf_setup_bh()
292 static void adf_cleanup_bh(struct adf_accel_dev *accel_dev) in adf_cleanup_bh()
304 void adf_isr_resource_free(struct adf_accel_dev *accel_dev) in adf_isr_resource_free()
312 int adf_isr_resource_alloc(struct adf_accel_dev *accel_dev) in adf_isr_resource_alloc()
Dadf_drv.c89 static void adf_cleanup_pci_dev(struct adf_accel_dev *accel_dev) in adf_cleanup_pci_dev()
95 static void adf_cleanup_accel(struct adf_accel_dev *accel_dev) in adf_cleanup_accel()
123 static int adf_dev_configure(struct adf_accel_dev *accel_dev) in adf_dev_configure()
206 struct adf_accel_dev *accel_dev; in adf_probe() local
390 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove() local
Dadf_dh895xcc_hw_data.c146 void adf_get_arbiter_mapping(struct adf_accel_dev *accel_dev, in adf_get_arbiter_mapping()
175 static void adf_enable_error_correction(struct adf_accel_dev *accel_dev) in adf_enable_error_correction()
203 static void adf_enable_ints(struct adf_accel_dev *accel_dev) in adf_enable_ints()
217 static int adf_pf_enable_vf2pf_comms(struct adf_accel_dev *accel_dev) in adf_pf_enable_vf2pf_comms()
/drivers/crypto/qat/qat_common/
Dadf_aer.c61 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_error_detected() local
80 struct adf_accel_dev *accel_dev; member
85 static void adf_dev_restore(struct adf_accel_dev *accel_dev) in adf_dev_restore()
119 struct adf_accel_dev *accel_dev = reset_data->accel_dev; in adf_device_reset_worker() local
142 static int adf_dev_aer_schedule_reset(struct adf_accel_dev *accel_dev, in adf_dev_aer_schedule_reset()
181 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_slot_reset() local
217 int adf_enable_aer(struct adf_accel_dev *accel_dev, struct pci_driver *adf) in adf_enable_aer()
237 void adf_disable_aer(struct adf_accel_dev *accel_dev) in adf_disable_aer()
Dadf_pf2vf_msg.c67 void adf_enable_pf2vf_interrupts(struct adf_accel_dev *accel_dev) in adf_enable_pf2vf_interrupts()
84 void adf_disable_pf2vf_interrupts(struct adf_accel_dev *accel_dev) in adf_disable_pf2vf_interrupts()
95 void adf_enable_vf2pf_interrupts(struct adf_accel_dev *accel_dev, in adf_enable_vf2pf_interrupts()
125 void adf_disable_vf2pf_interrupts(struct adf_accel_dev *accel_dev, u32 vf_mask) in adf_disable_vf2pf_interrupts()
149 static int __adf_iov_putmsg(struct adf_accel_dev *accel_dev, u32 msg, u8 vf_nr) in __adf_iov_putmsg()
251 int adf_iov_putmsg(struct adf_accel_dev *accel_dev, u32 msg, u8 vf_nr) in adf_iov_putmsg()
268 struct adf_accel_dev *accel_dev = vf_info->accel_dev; in adf_vf2pf_req_hndl() local
368 void adf_pf2vf_notify_restarting(struct adf_accel_dev *accel_dev) in adf_pf2vf_notify_restarting()
382 static int adf_vf2pf_request_version(struct adf_accel_dev *accel_dev) in adf_vf2pf_request_version()
442 int adf_enable_vf2pf_comms(struct adf_accel_dev *accel_dev) in adf_enable_vf2pf_comms()
Dadf_accel_engine.c54 int adf_ae_fw_load(struct adf_accel_dev *accel_dev) in adf_ae_fw_load()
97 void adf_ae_fw_release(struct adf_accel_dev *accel_dev) in adf_ae_fw_release()
114 int adf_ae_start(struct adf_accel_dev *accel_dev) in adf_ae_start()
135 int adf_ae_stop(struct adf_accel_dev *accel_dev) in adf_ae_stop()
156 static int adf_ae_reset(struct adf_accel_dev *accel_dev, int ae) in adf_ae_reset()
167 int adf_ae_init(struct adf_accel_dev *accel_dev) in adf_ae_init()
194 int adf_ae_shutdown(struct adf_accel_dev *accel_dev) in adf_ae_shutdown()
Dadf_init.c119 int adf_dev_init(struct adf_accel_dev *accel_dev) in adf_dev_init()
207 int adf_dev_start(struct adf_accel_dev *accel_dev) in adf_dev_start()
262 int adf_dev_stop(struct adf_accel_dev *accel_dev) in adf_dev_stop()
315 void adf_dev_shutdown(struct adf_accel_dev *accel_dev) in adf_dev_shutdown()
373 int adf_dev_restarting_notify(struct adf_accel_dev *accel_dev) in adf_dev_restarting_notify()
388 int adf_dev_restarted_notify(struct adf_accel_dev *accel_dev) in adf_dev_restarted_notify()
Dqat_crypto.c67 static int qat_crypto_free_instances(struct adf_accel_dev *accel_dev) in qat_crypto_free_instances()
99 struct adf_accel_dev *accel_dev = NULL; in qat_crypto_get_instance_node() local
162 static int qat_crypto_create_instances(struct adf_accel_dev *accel_dev) in qat_crypto_create_instances()
244 static int qat_crypto_init(struct adf_accel_dev *accel_dev) in qat_crypto_init()
252 static int qat_crypto_shutdown(struct adf_accel_dev *accel_dev) in qat_crypto_shutdown()
257 static int qat_crypto_event_handler(struct adf_accel_dev *accel_dev, in qat_crypto_event_handler()
Dadf_cfg.c128 int adf_cfg_dev_add(struct adf_accel_dev *accel_dev) in adf_cfg_dev_add()
157 void adf_cfg_del_all(struct adf_accel_dev *accel_dev) in adf_cfg_del_all()
177 void adf_cfg_dev_remove(struct adf_accel_dev *accel_dev) in adf_cfg_dev_remove()
238 static struct adf_cfg_section *adf_cfg_sec_find(struct adf_accel_dev *accel_dev, in adf_cfg_sec_find()
253 static int adf_cfg_key_val_get(struct adf_accel_dev *accel_dev, in adf_cfg_key_val_get()
284 int adf_cfg_add_key_value_param(struct adf_accel_dev *accel_dev, in adf_cfg_add_key_value_param()
335 int adf_cfg_section_add(struct adf_accel_dev *accel_dev, const char *name) in adf_cfg_section_add()
356 int adf_cfg_get_param_value(struct adf_accel_dev *accel_dev, in adf_cfg_get_param_value()
Dadf_dev_mgr.c167 int adf_devmgr_add_dev(struct adf_accel_dev *accel_dev, in adf_devmgr_add_dev()
269 void adf_devmgr_rm_dev(struct adf_accel_dev *accel_dev, in adf_devmgr_rm_dev()
400 int adf_dev_in_use(struct adf_accel_dev *accel_dev) in adf_dev_in_use()
417 int adf_dev_get(struct adf_accel_dev *accel_dev) in adf_dev_get()
437 void adf_dev_put(struct adf_accel_dev *accel_dev) in adf_dev_put()
452 int adf_devmgr_in_reset(struct adf_accel_dev *accel_dev) in adf_devmgr_in_reset()
466 int adf_dev_started(struct adf_accel_dev *accel_dev) in adf_dev_started()
Dadf_admin.c152 static int adf_put_admin_msg_sync(struct adf_accel_dev *accel_dev, u32 ae, in adf_put_admin_msg_sync()
189 static int adf_send_admin_cmd(struct adf_accel_dev *accel_dev, int cmd) in adf_send_admin_cmd()
220 int adf_send_admin_init(struct adf_accel_dev *accel_dev) in adf_send_admin_init()
230 int adf_init_admin_comms(struct adf_accel_dev *accel_dev) in adf_init_admin_comms()
273 void adf_exit_admin_comms(struct adf_accel_dev *accel_dev) in adf_exit_admin_comms()
Dadf_transport.c182 struct adf_accel_dev *accel_dev = bank->accel_dev; in adf_init_ring() local
232 int adf_create_ring(struct adf_accel_dev *accel_dev, const char *section, in adf_create_ring()
368 static inline int adf_get_cfg_int(struct adf_accel_dev *accel_dev, in adf_get_cfg_int()
399 static int adf_init_bank(struct adf_accel_dev *accel_dev, in adf_init_bank()
472 int adf_init_etr_data(struct adf_accel_dev *accel_dev) in adf_init_etr_data()
534 struct adf_accel_dev *accel_dev = bank->accel_dev; in cleanup_bank() local
548 static void adf_cleanup_etr_handles(struct adf_accel_dev *accel_dev) in adf_cleanup_etr_handles()
567 void adf_cleanup_etr_data(struct adf_accel_dev *accel_dev) in adf_cleanup_etr_data()
Dadf_ctl_drv.c151 static int adf_add_key_value_data(struct adf_accel_dev *accel_dev, in adf_add_key_value_data()
178 static int adf_copy_key_value_data(struct adf_accel_dev *accel_dev, in adf_copy_key_value_data()
229 struct adf_accel_dev *accel_dev; in adf_ctl_ioctl_dev_config() local
282 struct adf_accel_dev *accel_dev = in adf_ctl_stop_devices() local
339 struct adf_accel_dev *accel_dev; in adf_ctl_ioctl_dev_start() local
392 struct adf_accel_dev *accel_dev; in adf_ctl_ioctl_get_status() local
Dadf_sriov.c110 static int adf_enable_sriov(struct adf_accel_dev *accel_dev) in adf_enable_sriov()
171 void adf_disable_sriov(struct adf_accel_dev *accel_dev) in adf_disable_sriov()
227 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_sriov_configure() local
Dadf_accel_devices.h190 #define GET_DEV(accel_dev) ((accel_dev)->accel_pci_dev.pci_dev->dev) argument
191 #define GET_BARS(accel_dev) ((accel_dev)->accel_pci_dev.pci_bars) argument
192 #define GET_HW_DATA(accel_dev) (accel_dev->hw_device) argument
193 #define GET_MAX_BANKS(accel_dev) (GET_HW_DATA(accel_dev)->num_banks) argument
194 #define GET_MAX_ACCELENGINES(accel_dev) (GET_HW_DATA(accel_dev)->num_engines) argument
206 struct adf_accel_dev *accel_dev; member
Dadf_hw_arbiter.c88 int adf_init_arb(struct adf_accel_dev *accel_dev) in adf_init_arb()
141 void adf_exit_arb(struct adf_accel_dev *accel_dev) in adf_exit_arb()
Dadf_common_drv.h238 static inline void adf_disable_sriov(struct adf_accel_dev *accel_dev) in adf_disable_sriov()
Dqat_crypto.h60 struct adf_accel_dev *accel_dev; member
Dadf_transport_debug.c268 struct adf_accel_dev *accel_dev = bank->accel_dev; in adf_bank_debugfs_add() local
Dadf_transport_internal.h79 struct adf_accel_dev *accel_dev; member
Dqat_hal.c674 int qat_hal_init(struct adf_accel_dev *accel_dev) in qat_hal_init()