#include "cptvf.h"
#include "cptvf_algs.h"
#include "request_manager.h"
static struct pending_entry *get_free_pending_entry(struct pending_queue *q,
int qlen)
{ … }
static inline void pending_queue_inc_front(struct pending_qinfo *pqinfo,
int qno)
{ … }
static int setup_sgio_components(struct cpt_vf *cptvf, struct buf_ptr *list,
int buf_count, u8 *buffer)
{ … }
static inline int setup_sgio_list(struct cpt_vf *cptvf,
struct cpt_info_buffer *info,
struct cpt_request_info *req)
{ … }
static int send_cpt_command(struct cpt_vf *cptvf, union cpt_inst_s *cmd,
u32 qno)
{ … }
static void do_request_cleanup(struct cpt_vf *cptvf,
struct cpt_info_buffer *info)
{ … }
static void do_post_process(struct cpt_vf *cptvf, struct cpt_info_buffer *info)
{ … }
static inline void process_pending_queue(struct cpt_vf *cptvf,
struct pending_qinfo *pqinfo,
int qno)
{ … }
int process_request(struct cpt_vf *cptvf, struct cpt_request_info *req)
{ … }
void vq_post_process(struct cpt_vf *cptvf, u32 qno)
{ … }
int cptvf_do_request(void *vfdev, struct cpt_request_info *req)
{ … }