Home
last modified time | relevance | path

Searched defs:cptvf (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.6/drivers/crypto/marvell/octeontx/
Dotx_cptvf_main.c28 static int init_worker_threads(struct otx_cptvf *cptvf) in init_worker_threads()
53 static void cleanup_worker_threads(struct otx_cptvf *cptvf) in cleanup_worker_threads()
125 static int init_pending_queues(struct otx_cptvf *cptvf, u32 qlen, in init_pending_queues()
143 static void cleanup_pending_queues(struct otx_cptvf *cptvf) in cleanup_pending_queues()
155 static void free_command_queues(struct otx_cptvf *cptvf, in free_command_queues()
185 static int alloc_command_queues(struct otx_cptvf *cptvf, in alloc_command_queues()
262 static int init_command_queues(struct otx_cptvf *cptvf, u32 qlen) in init_command_queues()
277 static void cleanup_command_queues(struct otx_cptvf *cptvf) in cleanup_command_queues()
289 static void cptvf_sw_cleanup(struct otx_cptvf *cptvf) in cptvf_sw_cleanup()
296 static int cptvf_sw_init(struct otx_cptvf *cptvf, u32 qlen, u32 num_queues) in cptvf_sw_init()
[all …]
Dotx_cptvf_mbox.c75 static void cptvf_send_msg_to_pf(struct otx_cptvf *cptvf, in cptvf_send_msg_to_pf()
84 void otx_cptvf_handle_mbox_intr(struct otx_cptvf *cptvf) in otx_cptvf_handle_mbox_intr()
128 static int cptvf_send_msg_to_pf_timeout(struct otx_cptvf *cptvf, in cptvf_send_msg_to_pf_timeout()
159 int otx_cptvf_check_pf_ready(struct otx_cptvf *cptvf) in otx_cptvf_check_pf_ready()
172 int otx_cptvf_send_vq_size_msg(struct otx_cptvf *cptvf) in otx_cptvf_send_vq_size_msg()
185 int otx_cptvf_send_vf_to_grp_msg(struct otx_cptvf *cptvf, int group) in otx_cptvf_send_vf_to_grp_msg()
204 int otx_cptvf_send_vf_priority_msg(struct otx_cptvf *cptvf) in otx_cptvf_send_vf_priority_msg()
218 int otx_cptvf_send_vf_up(struct otx_cptvf *cptvf) in otx_cptvf_send_vf_up()
230 int otx_cptvf_send_vf_down(struct otx_cptvf *cptvf) in otx_cptvf_send_vf_down()
Dotx_cptvf_reqmgr.c268 static void cpt_send_cmd(union otx_cpt_inst_s *cptinst, struct otx_cptvf *cptvf) in cpt_send_cmd()
299 struct otx_cptvf *cptvf) in process_request()
407 struct otx_cptvf *cptvf = pci_get_drvdata(pdev); in otx_cpt_do_request() local
Dotx_cptvf.h62 struct otx_cptvf *cptvf; member
/Linux-v6.6/drivers/crypto/cavium/cpt/
Dcptvf_main.c16 void *cptvf; member
32 static int init_worker_threads(struct cpt_vf *cptvf) in init_worker_threads()
59 static void cleanup_worker_threads(struct cpt_vf *cptvf) in cleanup_worker_threads()
136 static int init_pending_queues(struct cpt_vf *cptvf, u32 qlen, u32 nr_queues) in init_pending_queues()
154 static void cleanup_pending_queues(struct cpt_vf *cptvf) in cleanup_pending_queues()
166 static void free_command_queues(struct cpt_vf *cptvf, in free_command_queues()
200 static int alloc_command_queues(struct cpt_vf *cptvf, in alloc_command_queues()
276 static int init_command_queues(struct cpt_vf *cptvf, u32 qlen) in init_command_queues()
293 static void cleanup_command_queues(struct cpt_vf *cptvf) in cleanup_command_queues()
305 static void cptvf_sw_cleanup(struct cpt_vf *cptvf) in cptvf_sw_cleanup()
[all …]
Dcptvf_mbox.c8 static void cptvf_send_msg_to_pf(struct cpt_vf *cptvf, struct cpt_mbox *mbx) in cptvf_send_msg_to_pf()
18 void cptvf_handle_mbox_intr(struct cpt_vf *cptvf) in cptvf_handle_mbox_intr()
58 static int cptvf_send_msg_to_pf_timeout(struct cpt_vf *cptvf, in cptvf_send_msg_to_pf_timeout()
89 int cptvf_check_pf_ready(struct cpt_vf *cptvf) in cptvf_check_pf_ready()
107 int cptvf_send_vq_size_msg(struct cpt_vf *cptvf) in cptvf_send_vq_size_msg()
125 int cptvf_send_vf_to_grp_msg(struct cpt_vf *cptvf) in cptvf_send_vf_to_grp_msg()
144 int cptvf_send_vf_priority_msg(struct cpt_vf *cptvf) in cptvf_send_vf_priority_msg()
162 int cptvf_send_vf_up(struct cpt_vf *cptvf) in cptvf_send_vf_up()
179 int cptvf_send_vf_down(struct cpt_vf *cptvf) in cptvf_send_vf_down()
Dcptvf_reqmanager.c44 static int setup_sgio_components(struct cpt_vf *cptvf, struct buf_ptr *list, in setup_sgio_components()
121 static inline int setup_sgio_list(struct cpt_vf *cptvf, in setup_sgio_list()
223 static int send_cpt_command(struct cpt_vf *cptvf, union cpt_inst_s *cmd, in send_cpt_command()
266 static void do_request_cleanup(struct cpt_vf *cptvf, in do_request_cleanup()
312 static void do_post_process(struct cpt_vf *cptvf, struct cpt_info_buffer *info) in do_post_process()
324 static inline void process_pending_queue(struct cpt_vf *cptvf, in process_pending_queue()
406 int process_request(struct cpt_vf *cptvf, struct cpt_request_info *req) in process_request()
541 void vq_post_process(struct cpt_vf *cptvf, u32 qno) in vq_post_process()
556 struct cpt_vf *cptvf = (struct cpt_vf *)vfdev; in cptvf_do_request() local
Dcptvf_algs.c460 int cvm_crypto_init(struct cpt_vf *cptvf) in cvm_crypto_init()
Drequest_manager.h91 struct cpt_vf *cptvf; member
/Linux-v6.6/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_main.c13 static void cptvf_enable_pfvf_mbox_intrs(struct otx2_cptvf_dev *cptvf) in cptvf_enable_pfvf_mbox_intrs()
24 static void cptvf_disable_pfvf_mbox_intrs(struct otx2_cptvf_dev *cptvf) in cptvf_disable_pfvf_mbox_intrs()
35 static int cptvf_register_interrupts(struct otx2_cptvf_dev *cptvf) in cptvf_register_interrupts()
72 static int cptvf_pfvf_mbox_init(struct otx2_cptvf_dev *cptvf) in cptvf_pfvf_mbox_init()
122 static void cptvf_pfvf_mbox_destroy(struct otx2_cptvf_dev *cptvf) in cptvf_pfvf_mbox_destroy()
256 static int cptvf_lf_init(struct otx2_cptvf_dev *cptvf) in cptvf_lf_init()
335 struct otx2_cptvf_dev *cptvf; in otx2_cptvf_probe() local
402 struct otx2_cptvf_dev *cptvf = pci_get_drvdata(pdev); in otx2_cptvf_remove() local
Dotx2_cptvf_mbox.c8 int otx2_cpt_mbox_bbuf_init(struct otx2_cptvf_dev *cptvf, struct pci_dev *pdev) in otx2_cpt_mbox_bbuf_init()
52 struct otx2_cptvf_dev *cptvf = arg; in otx2_cptvf_pfvf_mbox_intr() local
69 static void process_pfvf_mbox_mbox_msg(struct otx2_cptvf_dev *cptvf, in process_pfvf_mbox_mbox_msg()
139 struct otx2_cptvf_dev *cptvf; in otx2_cptvf_pfvf_mbox_handler() local
168 int otx2_cptvf_send_eng_grp_num_msg(struct otx2_cptvf_dev *cptvf, int eng_type) in otx2_cptvf_send_eng_grp_num_msg()
189 int otx2_cptvf_send_kvf_limits_msg(struct otx2_cptvf_dev *cptvf) in otx2_cptvf_send_kvf_limits_msg()
Dotx2_cptvf_reqmgr.c345 struct otx2_cptvf_dev *cptvf = pci_get_drvdata(pdev); in otx2_cpt_do_request() local
541 struct otx2_cptvf_dev *cptvf = pci_get_drvdata(pdev); in otx2_cpt_get_kcrypto_eng_grp_num() local
Dcn10k_cpt.c76 int cn10k_cptvf_lmtst_init(struct otx2_cptvf_dev *cptvf) in cn10k_cptvf_lmtst_init()