#include "efct_driver.h"
#include "efct_hw.h"
#include "efct_unsol.h"
int
efct_hw_init_queues(struct efct_hw *hw)
{ … }
int
efct_hw_map_wq_cpu(struct efct_hw *hw)
{ … }
struct hw_eq *
efct_hw_new_eq(struct efct_hw *hw, u32 entry_count)
{ … }
struct hw_cq *
efct_hw_new_cq(struct hw_eq *eq, u32 entry_count)
{ … }
u32
efct_hw_new_cq_set(struct hw_eq *eqs[], struct hw_cq *cqs[],
u32 num_cqs, u32 entry_count)
{ … }
struct hw_mq *
efct_hw_new_mq(struct hw_cq *cq, u32 entry_count)
{ … }
struct hw_wq *
efct_hw_new_wq(struct hw_cq *cq, u32 entry_count)
{ … }
u32
efct_hw_new_rq_set(struct hw_cq *cqs[], struct hw_rq *rqs[],
u32 num_rq_pairs, u32 entry_count)
{ … }
void
efct_hw_del_eq(struct hw_eq *eq)
{ … }
void
efct_hw_del_cq(struct hw_cq *cq)
{ … }
void
efct_hw_del_mq(struct hw_mq *mq)
{ … }
void
efct_hw_del_wq(struct hw_wq *wq)
{ … }
void
efct_hw_del_rq(struct hw_rq *rq)
{ … }
void
efct_hw_queue_teardown(struct efct_hw *hw)
{ … }
static inline int
efct_hw_rqpair_find(struct efct_hw *hw, u16 rq_id)
{ … }
static struct efc_hw_sequence *
efct_hw_rqpair_get(struct efct_hw *hw, u16 rqindex, u16 bufindex)
{ … }
int
efct_hw_rqpair_process_rq(struct efct_hw *hw, struct hw_cq *cq,
u8 *cqe)
{ … }
static int
efct_hw_rqpair_put(struct efct_hw *hw, struct efc_hw_sequence *seq)
{ … }
int
efct_hw_rqpair_sequence_free(struct efct_hw *hw, struct efc_hw_sequence *seq)
{ … }
int
efct_efc_hw_sequence_free(struct efc *efc, struct efc_hw_sequence *seq)
{ … }