Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A 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 …]
H A 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()
376 static int alloc_wqes_shadow(struct hinic_wq *wq) in alloc_wqes_shadow()
402 static void free_wqes_shadow(struct hinic_wq *wq) in free_wqes_shadow()
503 int hinic_wq_allocate(struct hinic_wqs *wqs, struct hinic_wq *wq, in hinic_wq_allocate()
579 void hinic_wq_free(struct hinic_wqs *wqs, struct hinic_wq *wq) in hinic_wq_free()
600 struct hinic_wq *wq, struct hinic_hwif *hwif, in hinic_wqs_cmdq_alloc()
689 struct hinic_wq *wq, int cmdq_blocks) in hinic_wqs_cmdq_free()
789 void hinic_return_wqe(struct hinic_wq *wq, unsigned int wqe_size) in hinic_return_wqe()
803 void hinic_put_wqe(struct hinic_wq *wq, unsigned int wqe_size) in hinic_put_wqe()
[all …]
H A Dhinic_hw_qp.h82 struct hinic_wq *wq;
101 struct hinic_wq *wq;
139 struct hinic_wq *wq, struct msix_entry *entry, void *ci_addr,
145 struct hinic_wq *wq, struct msix_entry *entry);
H A Dhinic_hw_qp.c98 struct hinic_wq *wq; in hinic_sq_prepare_ctxt()
160 struct hinic_wq *wq; in hinic_rq_prepare_ctxt()
221 struct hinic_wq *wq = sq->wq; in alloc_sq_skb_arr()
249 struct hinic_wq *wq = rq->wq; in alloc_rq_skb_arr()
282 struct hinic_wq *wq, struct msix_entry *entry, in hinic_init_sq()
321 struct hinic_wq *wq = rq->wq; in alloc_rq_cqe()
364 struct hinic_wq *wq = rq->wq; in free_rq_cqe()
457 struct hinic_wq *wq = sq->wq; in hinic_get_sq_free_wqebbs()
470 struct hinic_wq *wq = rq->wq; in hinic_get_rq_free_wqebbs()
638 struct hinic_wq *wq = sq->wq; in hinic_sq_write_db()
[all …]
H A Dhinic_hw_io.h67 struct hinic_wq *sq_wq;
68 struct hinic_wq *rq_wq;
H A Dhinic_hw_cmdq.h143 struct hinic_wq *wq;
163 struct hinic_wq *saved_wqs;
H A Dhinic_debugfs.c25 struct hinic_wq *wq = sq->wq; in hinic_dbg_get_sq_info()
55 struct hinic_wq *wq = rq->wq; in hinic_dbg_get_rq_info()
H A Dhinic_hw_cmdq.c343 struct hinic_wq *wq = cmdq->wq; in cmdq_sync_cmd_direct_resp()
422 struct hinic_wq *wq = cmdq->wq; in cmdq_set_arm_bit()
699 struct hinic_wq *wq = cmdq->wq; in cmdq_init_queue_ctxt()
738 static int init_cmdq(struct hinic_cmdq *cmdq, struct hinic_wq *wq, in init_cmdq()
H A Dhinic_tx.c704 struct hinic_wq *wq = sq->wq; in free_tx_poll()