Home
last modified time | relevance | path

Searched refs:hinic_wq (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.h22 struct hinic_wq { struct
78 struct hinic_wq *wq, struct hinic_hwif *hwif,
83 struct hinic_wq *wq, int cmdq_blocks);
90 int hinic_wq_allocate(struct hinic_wqs *wqs, struct hinic_wq *wq,
94 void hinic_wq_free(struct hinic_wqs *wqs, struct hinic_wq *wq);
96 struct hinic_hw_wqe *hinic_get_wqe(struct hinic_wq *wq, unsigned int wqe_size,
99 void hinic_return_wqe(struct hinic_wq *wq, unsigned int wqe_size);
101 void hinic_put_wqe(struct hinic_wq *wq, unsigned int wqe_size);
103 struct hinic_hw_wqe *hinic_read_wqe(struct hinic_wq *wq, unsigned int wqe_size,
106 struct hinic_hw_wqe *hinic_read_wqe_direct(struct hinic_wq *wq, u16 cons_idx);
[all …]
Dhinic_hw_wq.c81 static inline int WQE_PAGE_OFF(struct hinic_wq *wq, u16 idx) in WQE_PAGE_OFF()
87 static inline int WQE_PAGE_NUM(struct hinic_wq *wq, u16 idx) in WQE_PAGE_NUM()
377 static int alloc_wqes_shadow(struct hinic_wq *wq) in alloc_wqes_shadow()
404 static void free_wqes_shadow(struct hinic_wq *wq) in free_wqes_shadow()
419 static void free_wq_pages(struct hinic_wq *wq, struct hinic_hwif *hwif, in free_wq_pages()
446 static int alloc_wq_pages(struct hinic_wq *wq, struct hinic_hwif *hwif, in alloc_wq_pages()
505 int hinic_wq_allocate(struct hinic_wqs *wqs, struct hinic_wq *wq, in hinic_wq_allocate()
581 void hinic_wq_free(struct hinic_wqs *wqs, struct hinic_wq *wq) in hinic_wq_free()
602 struct hinic_wq *wq, struct hinic_hwif *hwif, in hinic_wqs_cmdq_alloc()
691 struct hinic_wq *wq, int cmdq_blocks) in hinic_wqs_cmdq_free()
[all …]
Dhinic_hw_qp.c98 struct hinic_wq *wq; in hinic_sq_prepare_ctxt()
155 struct hinic_wq *wq; in hinic_rq_prepare_ctxt()
216 struct hinic_wq *wq = sq->wq; in alloc_sq_skb_arr()
244 struct hinic_wq *wq = rq->wq; in alloc_rq_skb_arr()
277 struct hinic_wq *wq, struct msix_entry *entry, in hinic_init_sq()
316 struct hinic_wq *wq = rq->wq; in alloc_rq_cqe()
359 struct hinic_wq *wq = rq->wq; in free_rq_cqe()
380 struct hinic_wq *wq, struct msix_entry *entry) in hinic_init_rq()
453 struct hinic_wq *wq = sq->wq; in hinic_get_sq_free_wqebbs()
466 struct hinic_wq *wq = rq->wq; in hinic_get_rq_free_wqebbs()
[all …]
Dhinic_hw_qp.h79 struct hinic_wq *wq;
95 struct hinic_wq *wq;
129 struct hinic_wq *wq, struct msix_entry *entry, void *ci_addr,
135 struct hinic_wq *wq, struct msix_entry *entry);
Dhinic_hw_io.h55 struct hinic_wq *sq_wq;
56 struct hinic_wq *rq_wq;
Dhinic_hw_cmdq.h133 struct hinic_wq *wq;
153 struct hinic_wq *saved_wqs;
Dhinic_hw_cmdq.c348 struct hinic_wq *wq = cmdq->wq; in cmdq_sync_cmd_direct_resp()
425 struct hinic_wq *wq = cmdq->wq; in cmdq_set_arm_bit()
700 struct hinic_wq *wq = cmdq->wq; in cmdq_init_queue_ctxt()
736 static int init_cmdq(struct hinic_cmdq *cmdq, struct hinic_wq *wq, in init_cmdq()
876 saved_wqs_size = HINIC_MAX_CMDQ_TYPES * sizeof(struct hinic_wq); in hinic_init_cmdqs()
Dhinic_tx.c614 struct hinic_wq *wq = sq->wq; in free_tx_poll()