Home
last modified time | relevance | path

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

123

/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
Dadf_vf_isr.c27 struct adf_accel_dev *accel_dev; member
31 void adf_enable_pf2vf_interrupts(struct adf_accel_dev *accel_dev) in adf_enable_pf2vf_interrupts()
38 void adf_disable_pf2vf_interrupts(struct adf_accel_dev *accel_dev) in adf_disable_pf2vf_interrupts()
46 static int adf_enable_msi(struct adf_accel_dev *accel_dev) in adf_enable_msi()
60 static void adf_disable_msi(struct adf_accel_dev *accel_dev) in adf_disable_msi()
71 struct adf_accel_dev *accel_dev = stop_data->accel_dev; in adf_dev_stop_async() local
81 int adf_pf2vf_handle_pf_restarting(struct adf_accel_dev *accel_dev) in adf_pf2vf_handle_pf_restarting()
102 struct adf_accel_dev *accel_dev = data; in adf_pf2vf_bh_handler() local
114 static int adf_setup_pf2vf_bh(struct adf_accel_dev *accel_dev) in adf_setup_pf2vf_bh()
123 static void adf_cleanup_pf2vf_bh(struct adf_accel_dev *accel_dev) in adf_cleanup_pf2vf_bh()
[all …]
Dadf_isr.c21 static int adf_enable_msix(struct adf_accel_dev *accel_dev) in adf_enable_msix()
59 void adf_enable_vf2pf_interrupts(struct adf_accel_dev *accel_dev, u32 vf_mask) in adf_enable_vf2pf_interrupts()
69 void adf_disable_all_vf2pf_interrupts(struct adf_accel_dev *accel_dev) in adf_disable_all_vf2pf_interrupts()
79 static u32 adf_disable_pending_vf2pf_interrupts(struct adf_accel_dev *accel_dev) in adf_disable_pending_vf2pf_interrupts()
91 static bool adf_handle_vf2pf_int(struct adf_accel_dev *accel_dev) in adf_handle_vf2pf_int()
124 static bool adf_handle_pm_int(struct adf_accel_dev *accel_dev) in adf_handle_pm_int()
137 struct adf_accel_dev *accel_dev = dev_ptr; in adf_msix_isr_ae() local
154 static void adf_free_irqs(struct adf_accel_dev *accel_dev) in adf_free_irqs()
179 static int adf_request_irqs(struct adf_accel_dev *accel_dev) in adf_request_irqs()
247 static int adf_isr_alloc_msix_vectors_data(struct adf_accel_dev *accel_dev) in adf_isr_alloc_msix_vectors_data()
[all …]
Dadf_init.c61 static int adf_dev_init(struct adf_accel_dev *accel_dev) in adf_dev_init()
167 static int adf_dev_start(struct adf_accel_dev *accel_dev) in adf_dev_start()
263 static void adf_dev_stop(struct adf_accel_dev *accel_dev) in adf_dev_stop()
326 static void adf_dev_shutdown(struct adf_accel_dev *accel_dev) in adf_dev_shutdown()
387 int adf_dev_restarting_notify(struct adf_accel_dev *accel_dev) in adf_dev_restarting_notify()
402 int adf_dev_restarted_notify(struct adf_accel_dev *accel_dev) in adf_dev_restarted_notify()
417 static int adf_dev_shutdown_cache_cfg(struct adf_accel_dev *accel_dev) in adf_dev_shutdown_cache_cfg()
443 int adf_dev_down(struct adf_accel_dev *accel_dev, bool reconfig) in adf_dev_down()
466 int adf_dev_up(struct adf_accel_dev *accel_dev, bool config) in adf_dev_up()
500 int adf_dev_restart(struct adf_accel_dev *accel_dev) in adf_dev_restart()
Dadf_admin.c112 static int adf_put_admin_msg_sync(struct adf_accel_dev *accel_dev, u32 ae, in adf_put_admin_msg_sync()
154 static int adf_send_admin(struct adf_accel_dev *accel_dev, in adf_send_admin()
169 static int adf_init_ae(struct adf_accel_dev *accel_dev) in adf_init_ae()
183 static int adf_set_fw_constants(struct adf_accel_dev *accel_dev) in adf_set_fw_constants()
200 int adf_get_fw_timestamp(struct adf_accel_dev *accel_dev, u64 *timestamp) in adf_get_fw_timestamp()
216 static int adf_set_chaining(struct adf_accel_dev *accel_dev) in adf_set_chaining()
227 static int adf_get_dc_capabilities(struct adf_accel_dev *accel_dev, in adf_get_dc_capabilities()
256 int adf_get_ae_fw_counters(struct adf_accel_dev *accel_dev, u16 ae, u64 *reqs, u64 *resps) in adf_get_ae_fw_counters()
274 int adf_send_admin_tim_sync(struct adf_accel_dev *accel_dev, u32 cnt) in adf_send_admin_tim_sync()
286 int adf_send_admin_hb_timer(struct adf_accel_dev *accel_dev, uint32_t ticks) in adf_send_admin_hb_timer()
[all …]
Dadf_pfvf_vf_proto.c33 int adf_send_vf2pf_msg(struct adf_accel_dev *accel_dev, struct pfvf_message msg) in adf_send_vf2pf_msg()
50 static struct pfvf_message adf_recv_pf2vf_msg(struct adf_accel_dev *accel_dev) in adf_recv_pf2vf_msg()
69 int adf_send_vf2pf_req(struct adf_accel_dev *accel_dev, struct pfvf_message msg, in adf_send_vf2pf_req()
106 static int adf_vf2pf_blkmsg_data_req(struct adf_accel_dev *accel_dev, bool crc, in adf_vf2pf_blkmsg_data_req()
162 static int adf_vf2pf_blkmsg_get_byte(struct adf_accel_dev *accel_dev, u8 type, in adf_vf2pf_blkmsg_get_byte()
182 static int adf_vf2pf_blkmsg_get_crc(struct adf_accel_dev *accel_dev, u8 type, in adf_vf2pf_blkmsg_get_crc()
223 int adf_send_vf2pf_blkmsg_req(struct adf_accel_dev *accel_dev, u8 type, in adf_send_vf2pf_blkmsg_req()
302 static bool adf_handle_pf2vf_msg(struct adf_accel_dev *accel_dev, in adf_handle_pf2vf_msg()
329 bool adf_recv_and_handle_pf2vf_msg(struct adf_accel_dev *accel_dev) in adf_recv_and_handle_pf2vf_msg()
349 int adf_enable_vf2pf_comms(struct adf_accel_dev *accel_dev) in adf_enable_vf2pf_comms()
Dadf_accel_engine.c10 static int adf_ae_fw_load_images(struct adf_accel_dev *accel_dev, void *fw_addr, in adf_ae_fw_load_images()
57 int adf_ae_fw_load(struct adf_accel_dev *accel_dev) in adf_ae_fw_load()
108 void adf_ae_fw_release(struct adf_accel_dev *accel_dev) in adf_ae_fw_release()
125 int adf_ae_start(struct adf_accel_dev *accel_dev) in adf_ae_start()
141 int adf_ae_stop(struct adf_accel_dev *accel_dev) in adf_ae_stop()
162 static int adf_ae_reset(struct adf_accel_dev *accel_dev, int ae) in adf_ae_reset()
173 int adf_ae_init(struct adf_accel_dev *accel_dev) in adf_ae_init()
200 int adf_ae_shutdown(struct adf_accel_dev *accel_dev) in adf_ae_shutdown()
Dadf_aer.c16 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_error_detected() local
35 struct adf_accel_dev *accel_dev; member
40 void adf_reset_sbr(struct adf_accel_dev *accel_dev) in adf_reset_sbr()
65 void adf_reset_flr(struct adf_accel_dev *accel_dev) in adf_reset_flr()
71 void adf_dev_restore(struct adf_accel_dev *accel_dev) in adf_dev_restore()
89 struct adf_accel_dev *accel_dev = reset_data->accel_dev; in adf_device_reset_worker() local
110 static int adf_dev_aer_schedule_reset(struct adf_accel_dev *accel_dev, in adf_dev_aer_schedule_reset()
149 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_slot_reset() local
Dadf_heartbeat.c31 static int adf_hb_check_polling_freq(struct adf_accel_dev *accel_dev) in adf_hb_check_polling_freq()
56 static bool validate_hb_ctrs_cnt(struct adf_accel_dev *accel_dev) in validate_hb_ctrs_cnt()
83 void adf_heartbeat_check_ctrs(struct adf_accel_dev *accel_dev) in adf_heartbeat_check_ctrs()
98 static int get_timer_ticks(struct adf_accel_dev *accel_dev, unsigned int *value) in get_timer_ticks()
164 static int adf_hb_get_status(struct adf_accel_dev *accel_dev) in adf_hb_get_status()
213 void adf_heartbeat_status(struct adf_accel_dev *accel_dev, in adf_heartbeat_status()
243 int adf_heartbeat_ms_to_ticks(struct adf_accel_dev *accel_dev, unsigned int time_ms, in adf_heartbeat_ms_to_ticks()
259 int adf_heartbeat_save_cfg_param(struct adf_accel_dev *accel_dev, in adf_heartbeat_save_cfg_param()
271 int adf_heartbeat_init(struct adf_accel_dev *accel_dev) in adf_heartbeat_init()
299 int adf_heartbeat_start(struct adf_accel_dev *accel_dev) in adf_heartbeat_start()
[all …]
Dadf_sysfs.c19 struct adf_accel_dev *accel_dev; in state_show() local
33 struct adf_accel_dev *accel_dev; in state_store() local
92 struct adf_accel_dev *accel_dev; in cfg_services_show() local
107 static int adf_sysfs_update_dev_config(struct adf_accel_dev *accel_dev, in adf_sysfs_update_dev_config()
119 struct adf_accel_dev *accel_dev; in cfg_services_store() local
157 struct adf_accel_dev *accel_dev; in pm_idle_enabled_show() local
176 struct adf_accel_dev *accel_dev; in pm_idle_enabled_store() local
220 int adf_sysfs_init(struct adf_accel_dev *accel_dev) in adf_sysfs_init()
Dqat_compression.c24 static int qat_compression_free_instances(struct adf_accel_dev *accel_dev) in qat_compression_free_instances()
52 struct adf_accel_dev *accel_dev = NULL; in qat_compression_get_instance_node() local
114 static int qat_compression_create_instances(struct adf_accel_dev *accel_dev) in qat_compression_create_instances()
192 static int qat_compression_alloc_dc_data(struct adf_accel_dev *accel_dev) in qat_compression_alloc_dc_data()
227 static void qat_free_dc_data(struct adf_accel_dev *accel_dev) in qat_free_dc_data()
242 static int qat_compression_init(struct adf_accel_dev *accel_dev) in qat_compression_init()
257 static int qat_compression_shutdown(struct adf_accel_dev *accel_dev) in qat_compression_shutdown()
263 static int qat_compression_event_handler(struct adf_accel_dev *accel_dev, in qat_compression_event_handler()
Dadf_cfg.c67 int adf_cfg_dev_add(struct adf_accel_dev *accel_dev) in adf_cfg_dev_add()
81 void adf_cfg_dev_dbgfs_add(struct adf_accel_dev *accel_dev) in adf_cfg_dev_dbgfs_add()
91 void adf_cfg_dev_dbgfs_rm(struct adf_accel_dev *accel_dev) in adf_cfg_dev_dbgfs_rm()
104 void adf_cfg_del_all(struct adf_accel_dev *accel_dev) in adf_cfg_del_all()
124 void adf_cfg_dev_remove(struct adf_accel_dev *accel_dev) in adf_cfg_dev_remove()
202 static struct adf_cfg_section *adf_cfg_sec_find(struct adf_accel_dev *accel_dev, in adf_cfg_sec_find()
217 static int adf_cfg_key_val_get(struct adf_accel_dev *accel_dev, in adf_cfg_key_val_get()
249 int adf_cfg_add_key_value_param(struct adf_accel_dev *accel_dev, in adf_cfg_add_key_value_param()
320 int adf_cfg_section_add(struct adf_accel_dev *accel_dev, const char *name) in adf_cfg_section_add()
341 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() local
118 int qat_crypto_vf_dev_config(struct adf_accel_dev *accel_dev) in qat_crypto_vf_dev_config()
131 static int qat_crypto_create_instances(struct adf_accel_dev *accel_dev) in qat_crypto_create_instances()
241 static int qat_crypto_init(struct adf_accel_dev *accel_dev) in qat_crypto_init()
249 static int qat_crypto_shutdown(struct adf_accel_dev *accel_dev) in qat_crypto_shutdown()
254 static int qat_crypto_event_handler(struct adf_accel_dev *accel_dev, in qat_crypto_event_handler()
Dadf_pfvf_vf_msg.c18 int adf_vf2pf_notify_init(struct adf_accel_dev *accel_dev) in adf_vf2pf_notify_init()
40 void adf_vf2pf_notify_shutdown(struct adf_accel_dev *accel_dev) in adf_vf2pf_notify_shutdown()
51 int adf_vf2pf_request_version(struct adf_accel_dev *accel_dev) in adf_vf2pf_request_version()
96 int adf_vf2pf_get_capabilities(struct adf_accel_dev *accel_dev) in adf_vf2pf_get_capabilities()
142 int adf_vf2pf_get_ring_to_svc(struct adf_accel_dev *accel_dev) in adf_vf2pf_get_ring_to_svc()
Dadf_dbgfs.h13 static inline void adf_dbgfs_init(struct adf_accel_dev *accel_dev) in adf_dbgfs_init()
17 static inline void adf_dbgfs_add(struct adf_accel_dev *accel_dev) in adf_dbgfs_add()
21 static inline void adf_dbgfs_rm(struct adf_accel_dev *accel_dev) in adf_dbgfs_rm()
25 static inline void adf_dbgfs_exit(struct adf_accel_dev *accel_dev) in adf_dbgfs_exit()
Dadf_dbgfs.c19 void adf_dbgfs_init(struct adf_accel_dev *accel_dev) in adf_dbgfs_init()
43 void adf_dbgfs_exit(struct adf_accel_dev *accel_dev) in adf_dbgfs_exit()
57 void adf_dbgfs_add(struct adf_accel_dev *accel_dev) in adf_dbgfs_add()
72 void adf_dbgfs_rm(struct adf_accel_dev *accel_dev) in adf_dbgfs_rm()
Dadf_pfvf_pf_proto.c32 int adf_send_pf2vf_msg(struct adf_accel_dev *accel_dev, u8 vf_nr, struct pfvf_message msg) in adf_send_pf2vf_msg()
50 static struct pfvf_message adf_recv_vf2pf_msg(struct adf_accel_dev *accel_dev, u8 vf_nr) in adf_recv_vf2pf_msg()
85 struct adf_accel_dev *accel_dev = vf_info->accel_dev; in adf_pf2vf_blkmsg_get_data() local
181 static struct pfvf_message handle_rp_reset_req(struct adf_accel_dev *accel_dev, u8 vf_nr, in handle_rp_reset_req()
230 static int adf_handle_vf2pf_msg(struct adf_accel_dev *accel_dev, u8 vf_nr, in adf_handle_vf2pf_msg()
312 bool adf_recv_and_handle_vf2pf_msg(struct adf_accel_dev *accel_dev, u32 vf_nr) in adf_recv_and_handle_vf2pf_msg()
341 int adf_enable_pf2vf_comms(struct adf_accel_dev *accel_dev) in adf_enable_pf2vf_comms()
Dadf_gen4_pm.c20 struct adf_accel_dev *accel_dev; member
24 static int send_host_msg(struct adf_accel_dev *accel_dev) in send_host_msg()
60 struct adf_accel_dev *accel_dev = pm_data->accel_dev; in pm_bh_handler() local
84 bool adf_gen4_handle_pm_interrupt(struct adf_accel_dev *accel_dev) in adf_gen4_handle_pm_interrupt()
122 int adf_gen4_enable_pm(struct adf_accel_dev *accel_dev) in adf_gen4_enable_pm()
Dqat_bl.c13 void qat_bl_free_bufl(struct adf_accel_dev *accel_dev, in qat_bl_free_bufl()
50 static int __qat_bl_sgl_to_bufl(struct adf_accel_dev *accel_dev, in __qat_bl_sgl_to_bufl()
229 int qat_bl_sgl_to_bufl(struct adf_accel_dev *accel_dev, in qat_bl_sgl_to_bufl()
253 static void qat_bl_sgl_unmap(struct adf_accel_dev *accel_dev, in qat_bl_sgl_unmap()
266 static int qat_bl_sgl_map(struct adf_accel_dev *accel_dev, in qat_bl_sgl_map()
320 static void qat_bl_sgl_free_unmap(struct adf_accel_dev *accel_dev, in qat_bl_sgl_free_unmap()
335 static int qat_bl_sgl_alloc_map(struct adf_accel_dev *accel_dev, in qat_bl_sgl_alloc_map()
364 int qat_bl_realloc_map_new_dst(struct adf_accel_dev *accel_dev, in qat_bl_realloc_map_new_dst()
Dadf_dev_mgr.c139 int adf_devmgr_add_dev(struct adf_accel_dev *accel_dev, in adf_devmgr_add_dev()
248 void adf_devmgr_rm_dev(struct adf_accel_dev *accel_dev, in adf_devmgr_rm_dev()
382 int adf_dev_in_use(struct adf_accel_dev *accel_dev) in adf_dev_in_use()
399 int adf_dev_get(struct adf_accel_dev *accel_dev) in adf_dev_get()
419 void adf_dev_put(struct adf_accel_dev *accel_dev) in adf_dev_put()
434 int adf_devmgr_in_reset(struct adf_accel_dev *accel_dev) in adf_devmgr_in_reset()
448 int adf_dev_started(struct adf_accel_dev *accel_dev) in adf_dev_started()
Dadf_heartbeat_dbgfs.c48 struct adf_accel_dev *accel_dev; in adf_hb_status_read() local
78 struct adf_accel_dev *accel_dev; in adf_hb_cfg_read() local
97 struct adf_accel_dev *accel_dev; in adf_hb_cfg_write() local
157 void adf_heartbeat_dbgfs_add(struct adf_accel_dev *accel_dev) in adf_heartbeat_dbgfs_add()
176 void adf_heartbeat_dbgfs_rm(struct adf_accel_dev *accel_dev) in adf_heartbeat_dbgfs_rm()
/linux-6.6.21/drivers/crypto/intel/qat/qat_4xxx/
Dadf_4xxx_hw_data.c121 static int get_service_enabled(struct adf_accel_dev *accel_dev) in get_service_enabled()
195 static void set_msix_default_rttable(struct adf_accel_dev *accel_dev) in set_msix_default_rttable()
205 static u32 get_accel_cap(struct adf_accel_dev *accel_dev) in get_accel_cap()
310 static const u32 *adf_get_arbiter_mapping(struct adf_accel_dev *accel_dev) in adf_get_arbiter_mapping()
344 static void adf_enable_error_correction(struct adf_accel_dev *accel_dev) in adf_enable_error_correction()
353 static void adf_enable_ints(struct adf_accel_dev *accel_dev) in adf_enable_ints()
367 static int adf_init_device(struct adf_accel_dev *accel_dev) in adf_init_device()
401 static const struct adf_fw_config *get_fw_config(struct adf_accel_dev *accel_dev) in get_fw_config()
432 static u16 get_ring_to_svc_map(struct adf_accel_dev *accel_dev) in get_ring_to_svc_map()
479 static const char *uof_get_name(struct adf_accel_dev *accel_dev, u32 obj_num, in uof_get_name()
[all …]
Dadf_drv.c27 static void adf_cleanup_accel(struct adf_accel_dev *accel_dev) in adf_cleanup_accel()
38 static int adf_cfg_dev_init(struct adf_accel_dev *accel_dev) in adf_cfg_dev_init()
63 static int adf_crypto_dev_config(struct adf_accel_dev *accel_dev) in adf_crypto_dev_config()
169 static int adf_comp_dev_config(struct adf_accel_dev *accel_dev) in adf_comp_dev_config()
239 static int adf_no_dev_config(struct adf_accel_dev *accel_dev) in adf_no_dev_config()
254 int adf_gen4_dev_config(struct adf_accel_dev *accel_dev) in adf_gen4_dev_config()
304 struct adf_accel_dev *accel_dev; in adf_probe() local
442 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove() local
/linux-6.6.21/drivers/crypto/intel/qat/qat_dh895xcc/
Dadf_drv.c40 static void adf_cleanup_pci_dev(struct adf_accel_dev *accel_dev) in adf_cleanup_pci_dev()
46 static void adf_cleanup_accel(struct adf_accel_dev *accel_dev) in adf_cleanup_accel()
76 struct adf_accel_dev *accel_dev; in adf_probe() local
218 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove() local
/linux-6.6.21/drivers/crypto/intel/qat/qat_c62x/
Dadf_drv.c40 static void adf_cleanup_pci_dev(struct adf_accel_dev *accel_dev) in adf_cleanup_pci_dev()
46 static void adf_cleanup_accel(struct adf_accel_dev *accel_dev) in adf_cleanup_accel()
76 struct adf_accel_dev *accel_dev; in adf_probe() local
218 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove() local
/linux-6.6.21/drivers/crypto/intel/qat/qat_c3xxx/
Dadf_drv.c40 static void adf_cleanup_pci_dev(struct adf_accel_dev *accel_dev) in adf_cleanup_pci_dev()
46 static void adf_cleanup_accel(struct adf_accel_dev *accel_dev) in adf_cleanup_accel()
76 struct adf_accel_dev *accel_dev; in adf_probe() local
218 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove() local

123