hnae_queue
hnae_init_ring(struct hnae_queue *q, struct hnae_ring *ring, int flags)
static int hnae_init_queue(struct hnae_handle *h, struct hnae_queue *q,
static void hnae_fini_queue(struct hnae_queue *q)
struct hnae_queue;
struct hnae_queue *q;
void (*init_queue)(struct hnae_queue *q);
void (*fini_queue)(struct hnae_queue *q);
void (*get_ring_bdnum_limit)(struct hnae_queue *queue,
struct hnae_queue *qs[]; /* flexible array of all queues */
static void hns_ae_init_queue(struct hnae_queue *q)
static void hns_ae_fini_queue(struct hnae_queue *q)
struct hnae_queue *q;
static void hns_ae_get_ring_bdnum_limit(struct hnae_queue *queue,
static struct ring_pair_cb *hns_ae_get_ring_pair(struct hnae_queue *q)
struct hnae_queue *queue;
void hns_rcb_get_ring_regs(struct hnae_queue *queue, void *data)
void hns_rcb_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 mask)
void hns_rcb_int_clr_hw(struct hnae_queue *q, u32 flag)
void hns_rcbv2_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 mask)
void hns_rcbv2_int_clr_hw(struct hnae_queue *q, u32 flag)
void hns_rcb_ring_enable_hw(struct hnae_queue *q, u32 val)
void hns_rcb_set_tx_ring_bs(struct hnae_queue *q, u32 buf_size)
void hns_rcb_set_rx_ring_bs(struct hnae_queue *q, u32 buf_size)
struct hnae_queue *q = &ring_pair->q;
void hns_rcb_wait_fbd_clean(struct hnae_queue **qs, int q_num, u32 flag)
static void hns_rcb_ring_get_cfg(struct hnae_queue *q, int ring_type)
int hns_rcb_wait_tx_ring_clean(struct hnae_queue *qs)
void hns_rcb_update_stats(struct hnae_queue *queue)
void hns_rcb_get_stats(struct hnae_queue *queue, u64 *data)
void hns_rcb_reset_ring_hw(struct hnae_queue *q)
void hns_rcb_ring_enable_hw(struct hnae_queue *q, u32 val);
void hns_rcb_int_clr_hw(struct hnae_queue *q, u32 flag);
void hns_rcb_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 enable);
void hns_rcbv2_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 mask);
void hns_rcbv2_int_clr_hw(struct hnae_queue *q, u32 flag);
void hns_rcb_reset_ring_hw(struct hnae_queue *q);
void hns_rcb_wait_fbd_clean(struct hnae_queue **qs, int q_num, u32 flag);
int hns_rcb_wait_tx_ring_clean(struct hnae_queue *qs);
void hns_rcb_update_stats(struct hnae_queue *queue);
void hns_rcb_get_stats(struct hnae_queue *queue, u64 *data);
void hns_rcb_get_ring_regs(struct hnae_queue *queue, void *data);
void hns_rcb_set_rx_ring_bs(struct hnae_queue *q, u32 buf_size);
void hns_rcb_set_tx_ring_bs(struct hnae_queue *q, u32 buf_size);
struct hnae_queue q;
struct hnae_queue *queue;