Home
last modified time | relevance | path

Searched refs:cpt_vf (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/crypto/cavium/cpt/
Dcptvf.h97 struct cpt_vf { struct
121 int cptvf_send_vf_up(struct cpt_vf *cptvf); argument
122 int cptvf_send_vf_down(struct cpt_vf *cptvf);
123 int cptvf_send_vf_to_grp_msg(struct cpt_vf *cptvf);
124 int cptvf_send_vf_priority_msg(struct cpt_vf *cptvf);
125 int cptvf_send_vq_size_msg(struct cpt_vf *cptvf);
126 int cptvf_check_pf_ready(struct cpt_vf *cptvf);
127 void cptvf_handle_mbox_intr(struct cpt_vf *cptvf);
129 int cvm_crypto_init(struct cpt_vf *cptvf);
130 void vq_post_process(struct cpt_vf *cptvf, u32 qno);
[all …]
Dcptvf_main.c35 static int init_worker_threads(struct cpt_vf *cptvf) in init_worker_threads()
62 static void cleanup_worker_threads(struct cpt_vf *cptvf) in cleanup_worker_threads()
142 static int init_pending_queues(struct cpt_vf *cptvf, u32 qlen, u32 nr_queues) in init_pending_queues()
160 static void cleanup_pending_queues(struct cpt_vf *cptvf) in cleanup_pending_queues()
172 static void free_command_queues(struct cpt_vf *cptvf, in free_command_queues()
206 static int alloc_command_queues(struct cpt_vf *cptvf, in alloc_command_queues()
281 static int init_command_queues(struct cpt_vf *cptvf, u32 qlen) in init_command_queues()
298 static void cleanup_command_queues(struct cpt_vf *cptvf) in cleanup_command_queues()
310 static void cptvf_sw_cleanup(struct cpt_vf *cptvf) in cptvf_sw_cleanup()
317 static int cptvf_sw_init(struct cpt_vf *cptvf, u32 qlen, u32 nr_queues) in cptvf_sw_init()
[all …]
Dcptvf_mbox.c11 static void cptvf_send_msg_to_pf(struct cpt_vf *cptvf, struct cpt_mbox *mbx) in cptvf_send_msg_to_pf()
22 void cptvf_mbox_send_ack(struct cpt_vf *cptvf, struct cpt_mbox *mbx) in cptvf_mbox_send_ack()
31 void cptvf_mbox_send_nack(struct cpt_vf *cptvf, struct cpt_mbox *mbx) in cptvf_mbox_send_nack()
38 void cptvf_handle_mbox_intr(struct cpt_vf *cptvf) in cptvf_handle_mbox_intr()
78 static int cptvf_send_msg_to_pf_timeout(struct cpt_vf *cptvf, in cptvf_send_msg_to_pf_timeout()
109 int cptvf_check_pf_ready(struct cpt_vf *cptvf) in cptvf_check_pf_ready()
127 int cptvf_send_vq_size_msg(struct cpt_vf *cptvf) in cptvf_send_vq_size_msg()
145 int cptvf_send_vf_to_grp_msg(struct cpt_vf *cptvf) in cptvf_send_vf_to_grp_msg()
164 int cptvf_send_vf_priority_msg(struct cpt_vf *cptvf) in cptvf_send_vf_priority_msg()
182 int cptvf_send_vf_up(struct cpt_vf *cptvf) in cptvf_send_vf_up()
[all …]
Drequest_manager.h92 struct cpt_vf *cptvf;
145 void vq_post_process(struct cpt_vf *cptvf, u32 qno);
146 int process_request(struct cpt_vf *cptvf, struct cpt_request_info *req);
Dcptvf_reqmanager.c46 static int setup_sgio_components(struct cpt_vf *cptvf, struct buf_ptr *list, in setup_sgio_components()
123 static inline int setup_sgio_list(struct cpt_vf *cptvf, in setup_sgio_list()
226 int send_cpt_command(struct cpt_vf *cptvf, union cpt_inst_s *cmd, in send_cpt_command()
273 void do_request_cleanup(struct cpt_vf *cptvf, in do_request_cleanup()
329 void do_post_process(struct cpt_vf *cptvf, struct cpt_info_buffer *info) in do_post_process()
341 static inline void process_pending_queue(struct cpt_vf *cptvf, in process_pending_queue()
423 int process_request(struct cpt_vf *cptvf, struct cpt_request_info *req) in process_request()
560 void vq_post_process(struct cpt_vf *cptvf, u32 qno) in vq_post_process()
575 struct cpt_vf *cptvf = (struct cpt_vf *)vfdev; in cptvf_do_request()
Dcptvf_algs.c498 int cvm_crypto_init(struct cpt_vf *cptvf) in cvm_crypto_init()