Home
last modified time | relevance | path

Searched refs:GET_DEV (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.15/drivers/crypto/qat/qat_common/
Dadf_init.c67 dev_err(&GET_DEV(accel_dev), in adf_dev_init()
73 dev_err(&GET_DEV(accel_dev), "Device not configured\n"); in adf_dev_init()
78 dev_err(&GET_DEV(accel_dev), "Failed initialize etr\n"); in adf_dev_init()
83 dev_err(&GET_DEV(accel_dev), "Failed initialize admin comms\n"); in adf_dev_init()
88 dev_err(&GET_DEV(accel_dev), "Failed initialize hw arbiter\n"); in adf_dev_init()
93 dev_err(&GET_DEV(accel_dev), in adf_dev_init()
100 dev_err(&GET_DEV(accel_dev), in adf_dev_init()
107 dev_err(&GET_DEV(accel_dev), "Failed to allocate interrupts\n"); in adf_dev_init()
127 dev_err(&GET_DEV(accel_dev), in adf_dev_init()
158 dev_err(&GET_DEV(accel_dev), "AE Start Failed\n"); in adf_dev_start()
[all …]
Dadf_accel_engine.c29 dev_err(&GET_DEV(accel_dev), in adf_ae_fw_load_images()
34 dev_err(&GET_DEV(accel_dev), in adf_ae_fw_load_images()
39 dev_err(&GET_DEV(accel_dev), in adf_ae_fw_load_images()
65 dev_err(&GET_DEV(accel_dev), "Failed to load MMP firmware %s\n", in adf_ae_fw_load()
71 dev_err(&GET_DEV(accel_dev), "Failed to load UOF firmware %s\n", in adf_ae_fw_load()
82 dev_err(&GET_DEV(accel_dev), "Failed to load MMP\n"); in adf_ae_fw_load()
90 dev_err(&GET_DEV(accel_dev), "Failed to map FW\n"); in adf_ae_fw_load()
94 dev_err(&GET_DEV(accel_dev), "Failed to load UOF\n"); in adf_ae_fw_load()
131 dev_info(&GET_DEV(accel_dev), in adf_ae_start()
152 dev_info(&GET_DEV(accel_dev), in adf_ae_stop()
[all …]
Dadf_pf2vf_msg.c123 dev_dbg(&GET_DEV(accel_dev), in __adf_iov_putmsg()
139 dev_dbg(&GET_DEV(accel_dev), in __adf_iov_putmsg()
160 dev_dbg(&GET_DEV(accel_dev), "ACK not received from remote\n"); in __adf_iov_putmsg()
227 dev_dbg(&GET_DEV(accel_dev), in adf_vf2pf_req_hndl()
232 dev_err(&GET_DEV(accel_dev), in adf_vf2pf_req_hndl()
238 dev_err(&GET_DEV(accel_dev), in adf_vf2pf_req_hndl()
244 dev_dbg(&GET_DEV(accel_dev), in adf_vf2pf_req_hndl()
253 dev_dbg(&GET_DEV(accel_dev), in adf_vf2pf_req_hndl()
269 dev_dbg(&GET_DEV(accel_dev), in adf_vf2pf_req_hndl()
277 dev_dbg(&GET_DEV(accel_dev), in adf_vf2pf_req_hndl()
[all …]
Dadf_admin.c136 dev_err(&GET_DEV(accel_dev), in adf_put_admin_msg_sync()
230 dev_to_node(&GET_DEV(accel_dev))); in adf_init_admin_comms()
233 admin->virt_addr = dma_alloc_coherent(&GET_DEV(accel_dev), PAGE_SIZE, in adf_init_admin_comms()
236 dev_err(&GET_DEV(accel_dev), "Failed to allocate dma buff\n"); in adf_init_admin_comms()
241 admin->virt_tbl_addr = dma_alloc_coherent(&GET_DEV(accel_dev), in adf_init_admin_comms()
246 dev_err(&GET_DEV(accel_dev), "Failed to allocate const_tbl\n"); in adf_init_admin_comms()
247 dma_free_coherent(&GET_DEV(accel_dev), PAGE_SIZE, in adf_init_admin_comms()
280 dma_free_coherent(&GET_DEV(accel_dev), PAGE_SIZE, in adf_exit_admin_comms()
283 dma_free_coherent(&GET_DEV(accel_dev), PAGE_SIZE, in adf_exit_admin_comms()
Dadf_transport.c163 ring->base_addr = dma_alloc_coherent(&GET_DEV(accel_dev), in adf_init_ring()
172 dev_err(&GET_DEV(accel_dev), "Ring address not aligned\n"); in adf_init_ring()
173 dma_free_coherent(&GET_DEV(accel_dev), ring_size_bytes, in adf_init_ring()
203 dma_free_coherent(&GET_DEV(ring->bank->accel_dev), in adf_cleanup_ring()
224 dev_err(&GET_DEV(accel_dev), "Invalid bank number\n"); in adf_create_ring()
228 dev_err(&GET_DEV(accel_dev), "Invalid msg size\n"); in adf_create_ring()
233 dev_err(&GET_DEV(accel_dev), in adf_create_ring()
238 dev_err(&GET_DEV(accel_dev), "Section %s, no such entry : %s\n", in adf_create_ring()
243 dev_err(&GET_DEV(accel_dev), "Can't get ring number\n"); in adf_create_ring()
247 dev_err(&GET_DEV(accel_dev), "Invalid ring number\n"); in adf_create_ring()
[all …]
Dadf_ctl_drv.c118 dev_err(&GET_DEV(accel_dev), in adf_add_key_value_data()
126 dev_err(&GET_DEV(accel_dev), in adf_add_key_value_data()
146 dev_err(&GET_DEV(accel_dev), in adf_copy_key_value_data()
152 dev_err(&GET_DEV(accel_dev), in adf_copy_key_value_data()
162 dev_err(&GET_DEV(accel_dev), in adf_copy_key_value_data()
219 dev_info(&GET_DEV(dev), in adf_ctl_is_device_in_use()
308 dev_info(&GET_DEV(accel_dev), in adf_ctl_ioctl_dev_start()
315 dev_info(&GET_DEV(accel_dev), in adf_ctl_ioctl_dev_start()
320 dev_err(&GET_DEV(accel_dev), "Failed to start qat_dev%d\n", in adf_ctl_ioctl_dev_start()
375 dev_err(&GET_DEV(accel_dev), "failed to copy status.\n"); in adf_ctl_ioctl_get_status()
Dadf_aer.c51 dev_info(&GET_DEV(accel_dev), in adf_reset_sbr()
54 dev_info(&GET_DEV(accel_dev), "Secondary bus reset\n"); in adf_reset_sbr()
78 dev_info(&GET_DEV(accel_dev), "Resetting device qat_dev%d\n", in adf_dev_restore()
97 dev_err(&GET_DEV(accel_dev), "Restart device failed\n"); in adf_device_reset_worker()
139 dev_err(&GET_DEV(accel_dev), in adf_dev_aer_schedule_reset()
Dadf_vf_isr.c59 dev_err(&GET_DEV(accel_dev), in adf_enable_msi()
113 dev_dbg(&GET_DEV(accel_dev), in adf_pf2vf_bh_handler()
120 dev_err(&GET_DEV(accel_dev), in adf_pf2vf_bh_handler()
134 dev_dbg(&GET_DEV(accel_dev), in adf_pf2vf_bh_handler()
156 dev_err(&GET_DEV(accel_dev), in adf_pf2vf_bh_handler()
237 dev_err(&GET_DEV(accel_dev), "failed to enable irq for %s\n", in adf_request_msi_irq()
Dadf_isr.c50 dev_err(&GET_DEV(accel_dev), "Failed to enable MSI-X IRQ(s)\n"); in adf_enable_msix()
116 dev_info(&GET_DEV(accel_dev), in adf_msix_isr_ae()
132 dev_dbg(&GET_DEV(accel_dev), "qat_dev%d spurious AE interrupt\n", in adf_msix_isr_ae()
159 dev_err(&GET_DEV(accel_dev), in adf_request_irqs()
178 dev_err(&GET_DEV(accel_dev), in adf_request_irqs()
217 GFP_KERNEL, dev_to_node(&GET_DEV(accel_dev))); in adf_isr_alloc_msix_entry_table()
Dadf_vf2pf_msg.c21 dev_err(&GET_DEV(accel_dev), in adf_vf2pf_notify_init()
45 dev_err(&GET_DEV(accel_dev), in adf_vf2pf_notify_shutdown()
Dadf_sriov.c152 dev_err(&GET_DEV(accel_dev), "Device busy\n"); in adf_sriov_configure()
177 dev_err(&GET_DEV(accel_dev), "Failed to init qat_dev%d\n", in adf_sriov_configure()
183 dev_err(&GET_DEV(accel_dev), "Failed to start qat_dev%d\n", in adf_sriov_configure()
Dqat_crypto.c60 if ((node == dev_to_node(&GET_DEV(tmp_dev)) || in qat_crypto_get_instance_node()
61 dev_to_node(&GET_DEV(tmp_dev)) < 0) && in qat_crypto_get_instance_node()
99 dev_err(&GET_DEV(accel_dev), "Could not increment dev refctr\n"); in qat_crypto_get_instance_node()
219 dev_err(&GET_DEV(accel_dev), "Failed to start QAT accel dev\n"); in qat_crypto_dev_config()
246 dev_to_node(&GET_DEV(accel_dev))); in qat_crypto_create_instances()
Dqat_asym_algs.c144 struct device *dev = &GET_DEV(req->ctx.dh->inst->accel_dev); in qat_dh_cb()
212 struct device *dev = &GET_DEV(inst->accel_dev); in qat_dh_compute_value()
394 struct device *dev = &GET_DEV(inst->accel_dev); in qat_dh_set_params()
442 struct device *dev = &GET_DEV(ctx->inst->accel_dev); in qat_dh_set_secret()
497 struct device *dev = &GET_DEV(ctx->inst->accel_dev); in qat_dh_exit_tfm()
507 struct device *dev = &GET_DEV(req->ctx.rsa->inst->accel_dev); in qat_rsa_cb()
641 struct device *dev = &GET_DEV(inst->accel_dev); in qat_rsa_enc()
775 struct device *dev = &GET_DEV(inst->accel_dev); in qat_rsa_dec()
926 struct device *dev = &GET_DEV(inst->accel_dev); in qat_rsa_set_n()
958 struct device *dev = &GET_DEV(inst->accel_dev); in qat_rsa_set_e()
[all …]
Dqat_algs.c628 dev = &GET_DEV(inst->accel_dev); in qat_alg_aead_newkey()
682 struct device *dev = &GET_DEV(inst->accel_dev); in qat_alg_free_bufl()
716 struct device *dev = &GET_DEV(inst->accel_dev); in qat_alg_sgl_to_bufl()
730 dev_to_node(&GET_DEV(inst->accel_dev))); in qat_alg_sgl_to_bufl()
766 dev_to_node(&GET_DEV(inst->accel_dev))); in qat_alg_sgl_to_bufl()
885 struct device *dev = &GET_DEV(ctx->inst->accel_dev); in qat_alg_update_iv()
1051 dev = &GET_DEV(inst->accel_dev); in qat_alg_skcipher_newkey()
1348 dev = &GET_DEV(inst->accel_dev); in qat_alg_aead_exit()
1401 dev = &GET_DEV(inst->accel_dev); in qat_alg_skcipher_exit_tfm()
Dadf_dev_mgr.c146 dev_err(&GET_DEV(accel_dev), "Only support up to %d devices\n", in adf_devmgr_add_dev()
260 dev_err(&GET_DEV(accel_dev), "Failed to find VF map\n"); in adf_devmgr_rm_dev()
Dadf_cfg.c244 dev_err(&GET_DEV(accel_dev), "Unknown type given.\n"); in adf_cfg_add_key_value_param()
Dadf_accel_devices.h207 #define GET_DEV(accel_dev) ((accel_dev)->accel_pci_dev.pci_dev->dev) macro
Dqat_hal.c863 dev_err(&GET_DEV(accel_dev), "qat_hal_chip_init error\n"); in qat_hal_init()
870 dev_err(&GET_DEV(accel_dev), "qat_hal_clr_reset error\n"); in qat_hal_init()
/Linux-v5.15/drivers/crypto/qat/qat_4xxx/
Dadf_drv.c137 dev_err(&GET_DEV(accel_dev), "Failed to start QAT accel dev\n"); in adf_crypto_dev_config()