Searched refs:cpt_vf (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/crypto/cavium/cpt/ |
H A D | cptvf.h | 94 struct cpt_vf { struct 118 int cptvf_send_vf_up(struct cpt_vf *cptvf); argument 119 int cptvf_send_vf_down(struct cpt_vf *cptvf); 120 int cptvf_send_vf_to_grp_msg(struct cpt_vf *cptvf); 121 int cptvf_send_vf_priority_msg(struct cpt_vf *cptvf); 122 int cptvf_send_vq_size_msg(struct cpt_vf *cptvf); 123 int cptvf_check_pf_ready(struct cpt_vf *cptvf); 124 void cptvf_handle_mbox_intr(struct cpt_vf *cptvf); 126 int cvm_crypto_init(struct cpt_vf *cptvf); 127 void vq_post_process(struct cpt_vf *cptvf, u32 qno); [all …]
|
H A D | cptvf_main.c | 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() 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() 305 static void cptvf_sw_cleanup(struct cpt_vf *cptvf) in cptvf_sw_cleanup() 516 struct cpt_vf *cptvf = (struct cpt_vf *)cptvf_irq; in cptvf_misc_intr_handler() 587 struct cpt_vf *cptvf = (struct cpt_vf *)cptvf_irq; in cptvf_done_intr_handler() 638 static void cptvf_device_init(struct cpt_vf *cptvf) in cptvf_device_init() 664 struct cpt_vf *cptvf; in cptvf_probe() [all …]
|
H A D | cptvf_mbox.c | 8 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()
|
H A D | request_manager.h | 91 struct cpt_vf *cptvf; 144 void vq_post_process(struct cpt_vf *cptvf, u32 qno); 145 int process_request(struct cpt_vf *cptvf, struct cpt_request_info *req);
|
H A D | cptvf_reqmanager.c | 44 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()
|
H A D | cptvf_algs.c | 460 int cvm_crypto_init(struct cpt_vf *cptvf) in cvm_crypto_init()
|