/Linux-v6.1/drivers/crypto/qat/qat_common/ |
D | adf_common_drv.h | 44 int (*event_hld)(struct adf_accel_dev *accel_dev, 55 int adf_dev_init(struct adf_accel_dev *accel_dev); 56 int adf_dev_start(struct adf_accel_dev *accel_dev); 57 void adf_dev_stop(struct adf_accel_dev *accel_dev); 58 void adf_dev_shutdown(struct adf_accel_dev *accel_dev); 59 int adf_dev_shutdown_cache_cfg(struct adf_accel_dev *accel_dev); 69 int adf_devmgr_add_dev(struct adf_accel_dev *accel_dev, 70 struct adf_accel_dev *pf); 71 void adf_devmgr_rm_dev(struct adf_accel_dev *accel_dev, 72 struct adf_accel_dev *pf); [all …]
|
D | adf_accel_devices.h | 149 struct adf_accel_dev; 154 int (*enable_comms)(struct adf_accel_dev *accel_dev); 160 int (*send_msg)(struct adf_accel_dev *accel_dev, struct pfvf_message msg, 162 struct pfvf_message (*recv_msg)(struct adf_accel_dev *accel_dev, 170 u32 (*get_accel_cap)(struct adf_accel_dev *accel_dev); 179 int (*alloc_irq)(struct adf_accel_dev *accel_dev); 180 void (*free_irq)(struct adf_accel_dev *accel_dev); 181 void (*enable_error_correction)(struct adf_accel_dev *accel_dev); 182 int (*init_admin_comms)(struct adf_accel_dev *accel_dev); 183 void (*exit_admin_comms)(struct adf_accel_dev *accel_dev); [all …]
|
D | adf_dev_mgr.c | 22 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 …]
|
D | adf_vf_isr.c | 27 struct adf_accel_dev *accel_dev; 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() 82 int adf_pf2vf_handle_pf_restarting(struct adf_accel_dev *accel_dev) in adf_pf2vf_handle_pf_restarting() 103 struct adf_accel_dev *accel_dev = data; in adf_pf2vf_bh_handler() 115 static int adf_setup_pf2vf_bh(struct adf_accel_dev *accel_dev) in adf_setup_pf2vf_bh() 124 static void adf_cleanup_pf2vf_bh(struct adf_accel_dev *accel_dev) in adf_cleanup_pf2vf_bh() [all …]
|
D | adf_pfvf_vf_msg.h | 7 int adf_vf2pf_notify_init(struct adf_accel_dev *accel_dev); 8 void adf_vf2pf_notify_shutdown(struct adf_accel_dev *accel_dev); 9 int adf_vf2pf_request_version(struct adf_accel_dev *accel_dev); 10 int adf_vf2pf_get_capabilities(struct adf_accel_dev *accel_dev); 11 int adf_vf2pf_get_ring_to_svc(struct adf_accel_dev *accel_dev); 13 static inline int adf_vf2pf_notify_init(struct adf_accel_dev *accel_dev) in adf_vf2pf_notify_init() 18 static inline void adf_vf2pf_notify_shutdown(struct adf_accel_dev *accel_dev) in adf_vf2pf_notify_shutdown()
|
D | adf_cfg.h | 32 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,
|
D | adf_aer.c | 17 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() 184 void adf_enable_aer(struct adf_accel_dev *accel_dev) in adf_enable_aer() 202 void adf_disable_aer(struct adf_accel_dev *accel_dev) in adf_disable_aer()
|
D | adf_isr.c | 21 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() 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 …]
|
D | adf_pfvf_vf_proto.h | 9 int adf_send_vf2pf_msg(struct adf_accel_dev *accel_dev, struct pfvf_message msg); 10 int adf_send_vf2pf_req(struct adf_accel_dev *accel_dev, struct pfvf_message msg, 12 int adf_send_vf2pf_blkmsg_req(struct adf_accel_dev *accel_dev, u8 type, 15 int adf_enable_vf2pf_comms(struct adf_accel_dev *accel_dev);
|
D | adf_pfvf_pf_msg.h | 8 void adf_pf2vf_notify_restarting(struct adf_accel_dev *accel_dev); 10 typedef int (*adf_pf2vf_blkmsg_provider)(struct adf_accel_dev *accel_dev, 13 int adf_pf_capabilities_msg_provider(struct adf_accel_dev *accel_dev, 15 int adf_pf_ring_to_svc_msg_provider(struct adf_accel_dev *accel_dev,
|
D | adf_pfvf_vf_proto.c | 33 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()
|
D | adf_accel_engine.c | 10 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()
|
D | adf_admin.c | 109 static int adf_put_admin_msg_sync(struct adf_accel_dev *accel_dev, u32 ae, in adf_put_admin_msg_sync() 151 static int adf_send_admin(struct adf_accel_dev *accel_dev, in adf_send_admin() 166 static int adf_init_ae(struct adf_accel_dev *accel_dev) in adf_init_ae() 180 static int adf_set_fw_constants(struct adf_accel_dev *accel_dev) in adf_set_fw_constants() 197 static int adf_get_dc_capabilities(struct adf_accel_dev *accel_dev, in adf_get_dc_capabilities() 234 int adf_send_admin_init(struct adf_accel_dev *accel_dev) in adf_send_admin_init() 272 int adf_init_admin_pm(struct adf_accel_dev *accel_dev, u32 idle_delay) in adf_init_admin_pm() 291 int adf_init_admin_comms(struct adf_accel_dev *accel_dev) in adf_init_admin_comms() 344 void adf_exit_admin_comms(struct adf_accel_dev *accel_dev) in adf_exit_admin_comms()
|
D | adf_sysfs.c | 18 struct adf_accel_dev *accel_dev; in state_show() 32 struct adf_accel_dev *accel_dev; in state_store() 104 struct adf_accel_dev *accel_dev; in cfg_services_show() 119 static int adf_sysfs_update_dev_config(struct adf_accel_dev *accel_dev, in adf_sysfs_update_dev_config() 131 struct adf_accel_dev *accel_dev; in cfg_services_store() 179 int adf_sysfs_init(struct adf_accel_dev *accel_dev) in adf_sysfs_init()
|
D | adf_gen4_pm.c | 20 struct adf_accel_dev *accel_dev; 24 static int send_host_msg(struct adf_accel_dev *accel_dev) in send_host_msg() 50 struct adf_accel_dev *accel_dev = pm_data->accel_dev; in pm_bh_handler() 74 bool adf_gen4_handle_pm_interrupt(struct adf_accel_dev *accel_dev) in adf_gen4_handle_pm_interrupt() 112 int adf_gen4_enable_pm(struct adf_accel_dev *accel_dev) in adf_gen4_enable_pm()
|
D | adf_pfvf_vf_msg.c | 18 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()
|
D | adf_cfg.c | 67 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() 188 static struct adf_cfg_section *adf_cfg_sec_find(struct adf_accel_dev *accel_dev, in adf_cfg_sec_find() 203 static int adf_cfg_key_val_get(struct adf_accel_dev *accel_dev, in adf_cfg_key_val_get() 235 int adf_cfg_add_key_value_param(struct adf_accel_dev *accel_dev, in adf_cfg_add_key_value_param() 306 int adf_cfg_section_add(struct adf_accel_dev *accel_dev, const char *name) in adf_cfg_section_add() 327 int adf_cfg_get_param_value(struct adf_accel_dev *accel_dev, in adf_cfg_get_param_value()
|
D | qat_crypto.c | 25 static int qat_crypto_free_instances(struct adf_accel_dev *accel_dev) in qat_crypto_free_instances() 54 struct adf_accel_dev *accel_dev = NULL, *tmp_dev; in qat_crypto_get_instance_node() 119 int qat_crypto_vf_dev_config(struct adf_accel_dev *accel_dev) in qat_crypto_vf_dev_config() 141 int qat_crypto_dev_config(struct adf_accel_dev *accel_dev) in qat_crypto_dev_config() 249 static int qat_crypto_create_instances(struct adf_accel_dev *accel_dev) in qat_crypto_create_instances() 359 static int qat_crypto_init(struct adf_accel_dev *accel_dev) in qat_crypto_init() 367 static int qat_crypto_shutdown(struct adf_accel_dev *accel_dev) in qat_crypto_shutdown() 372 static int qat_crypto_event_handler(struct adf_accel_dev *accel_dev, in qat_crypto_event_handler()
|
D | adf_pfvf_pf_proto.c | 32 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() 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()
|
D | adf_pfvf_pf_msg.c | 9 void adf_pf2vf_notify_restarting(struct adf_accel_dev *accel_dev) in adf_pf2vf_notify_restarting() 22 int adf_pf_capabilities_msg_provider(struct adf_accel_dev *accel_dev, in adf_pf_capabilities_msg_provider() 40 int adf_pf_ring_to_svc_msg_provider(struct adf_accel_dev *accel_dev, in adf_pf_ring_to_svc_msg_provider()
|
D | adf_gen2_hw_data.h | 155 void adf_gen2_enable_error_correction(struct adf_accel_dev *accel_dev); 156 void adf_gen2_cfg_iov_thds(struct adf_accel_dev *accel_dev, bool enable, 161 void adf_gen2_enable_ints(struct adf_accel_dev *accel_dev); 162 u32 adf_gen2_get_accel_cap(struct adf_accel_dev *accel_dev); 163 void adf_gen2_set_ssm_wdtimer(struct adf_accel_dev *accel_dev);
|
/Linux-v6.1/drivers/crypto/qat/qat_4xxx/ |
D | adf_4xxx_hw_data.c | 53 static int get_service_enabled(struct adf_accel_dev *accel_dev) in get_service_enabled() 127 static void set_msix_default_rttable(struct adf_accel_dev *accel_dev) in set_msix_default_rttable() 137 static u32 get_accel_cap(struct adf_accel_dev *accel_dev) in get_accel_cap() 227 static void adf_enable_error_correction(struct adf_accel_dev *accel_dev) in adf_enable_error_correction() 236 static void adf_enable_ints(struct adf_accel_dev *accel_dev) in adf_enable_ints() 250 static int adf_init_device(struct adf_accel_dev *accel_dev) in adf_init_device() 288 static char *uof_get_name(struct adf_accel_dev *accel_dev, u32 obj_num) in uof_get_name() 300 static u32 uof_get_ae_mask(struct adf_accel_dev *accel_dev, u32 obj_num) in uof_get_ae_mask()
|
/Linux-v6.1/drivers/crypto/qat/qat_dh895xccvf/ |
D | adf_drv.c | 37 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() 204 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove()
|
/Linux-v6.1/drivers/crypto/qat/qat_c3xxxvf/ |
D | adf_drv.c | 37 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() 204 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove()
|
/Linux-v6.1/drivers/crypto/qat/qat_c62xvf/ |
D | adf_drv.c | 37 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() 204 struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); in adf_remove()
|