Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
127 static int init_pending_queues(struct otx_cptvf *cptvf, u32 qlen, in init_pending_queues()
145 static void cleanup_pending_queues(struct otx_cptvf *cptvf) in cleanup_pending_queues()
157 static void free_command_queues(struct otx_cptvf *cptvf, in free_command_queues()
187 static int alloc_command_queues(struct otx_cptvf *cptvf, in alloc_command_queues()
265 static int init_command_queues(struct otx_cptvf *cptvf, u32 qlen) in init_command_queues()
280 static void cleanup_command_queues(struct otx_cptvf *cptvf) in cleanup_command_queues()
292 static void cptvf_sw_cleanup(struct otx_cptvf *cptvf) in cptvf_sw_cleanup()
299 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()
174 int otx_cptvf_send_vq_size_msg(struct otx_cptvf *cptvf) in otx_cptvf_send_vq_size_msg()
189 int otx_cptvf_send_vf_to_grp_msg(struct otx_cptvf *cptvf, int group) in otx_cptvf_send_vf_to_grp_msg()
208 int otx_cptvf_send_vf_priority_msg(struct otx_cptvf *cptvf) in otx_cptvf_send_vf_priority_msg()
224 int otx_cptvf_send_vf_up(struct otx_cptvf *cptvf) in otx_cptvf_send_vf_up()
238 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
/kernel/linux/linux-5.10/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()
139 static int init_pending_queues(struct cpt_vf *cptvf, u32 qlen, u32 nr_queues) in init_pending_queues()
157 static void cleanup_pending_queues(struct cpt_vf *cptvf) in cleanup_pending_queues()
169 static void free_command_queues(struct cpt_vf *cptvf, in free_command_queues()
203 static int alloc_command_queues(struct cpt_vf *cptvf, in alloc_command_queues()
279 static int init_command_queues(struct cpt_vf *cptvf, u32 qlen) in init_command_queues()
296 static void cleanup_command_queues(struct cpt_vf *cptvf) in cleanup_command_queues()
308 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()
270 static void do_request_cleanup(struct cpt_vf *cptvf, in do_request_cleanup()
316 static void do_post_process(struct cpt_vf *cptvf, struct cpt_info_buffer *info) in do_post_process()
328 static inline void process_pending_queue(struct cpt_vf *cptvf, in process_pending_queue()
410 int process_request(struct cpt_vf *cptvf, struct cpt_request_info *req) in process_request()
545 void vq_post_process(struct cpt_vf *cptvf, u32 qno) in vq_post_process()
560 struct cpt_vf *cptvf = (struct cpt_vf *)vfdev; in cptvf_do_request() local
Dcptvf_algs.c462 int cvm_crypto_init(struct cpt_vf *cptvf) in cvm_crypto_init()
Drequest_manager.h91 struct cpt_vf *cptvf; member