Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp.h79 struct hinic_sq { struct
122 struct hinic_sq sq;
133 struct hinic_sq *sq, u16 global_qid);
138 int hinic_init_sq(struct hinic_sq *sq, struct hinic_hwif *hwif,
142 void hinic_clean_sq(struct hinic_sq *sq);
149 int hinic_get_sq_free_wqebbs(struct hinic_sq *sq);
178 void hinic_sq_prepare_wqe(struct hinic_sq *sq, struct hinic_sq_wqe *wqe,
181 void hinic_sq_write_db(struct hinic_sq *sq, u16 prod_idx, unsigned int wqe_size,
184 struct hinic_sq_wqe *hinic_sq_get_wqe(struct hinic_sq *sq,
187 void hinic_sq_return_wqe(struct hinic_sq *sq, unsigned int wqe_size);
[all …]
Dhinic_hw_qp.c93 struct hinic_sq *sq, u16 global_qid) in hinic_sq_prepare_ctxt()
219 static int alloc_sq_skb_arr(struct hinic_sq *sq) in alloc_sq_skb_arr()
236 static void free_sq_skb_arr(struct hinic_sq *sq) in free_sq_skb_arr()
281 int hinic_init_sq(struct hinic_sq *sq, struct hinic_hwif *hwif, in hinic_init_sq()
305 void hinic_clean_sq(struct hinic_sq *sq) in hinic_clean_sq()
455 int hinic_get_sq_free_wqebbs(struct hinic_sq *sq) in hinic_get_sq_free_wqebbs()
594 void hinic_sq_prepare_wqe(struct hinic_sq *sq, struct hinic_sq_wqe *sq_wqe, in hinic_sq_prepare_wqe()
615 static u32 sq_prepare_db(struct hinic_sq *sq, u16 prod_idx, unsigned int cos) in sq_prepare_db()
635 void hinic_sq_write_db(struct hinic_sq *sq, u16 prod_idx, unsigned int wqe_size, in hinic_sq_write_db()
657 struct hinic_sq_wqe *hinic_sq_get_wqe(struct hinic_sq *sq, in hinic_sq_get_wqe()
[all …]
Dhinic_tx.h31 struct hinic_sq *sq;
49 int hinic_init_txq(struct hinic_txq *txq, struct hinic_sq *sq,
Dhinic_debugfs.c23 static u64 hinic_dbg_get_sq_info(struct hinic_dev *nic_dev, struct hinic_sq *sq, int idx) in hinic_dbg_get_sq_info()
214 struct hinic_sq *sq; in hinic_sq_debug_add()
228 void hinic_sq_debug_rem(struct hinic_sq *sq) in hinic_sq_debug_rem()
Dhinic_tx.c668 struct hinic_sq *sq = txq->sq; in free_all_tx_skbs()
703 struct hinic_sq *sq = txq->sq; in free_tx_poll()
804 struct hinic_sq *sq = txq->sq; in tx_request_irq()
844 struct hinic_sq *sq = txq->sq; in tx_free_irq()
858 int hinic_init_txq(struct hinic_txq *txq, struct hinic_sq *sq, in hinic_init_txq()
Dhinic_debugfs.h83 void hinic_sq_debug_rem(struct hinic_sq *sq);
Dhinic_hw_dev.h637 struct hinic_sq *hinic_hwdev_get_sq(struct hinic_hwdev *hwdev, int i);
648 int hinic_hwdev_hw_ci_addr_set(struct hinic_hwdev *hwdev, struct hinic_sq *sq,
Dhinic_hw_dev.c1058 struct hinic_sq *hinic_hwdev_get_sq(struct hinic_hwdev *hwdev, int i) in hinic_hwdev_get_sq()
1131 int hinic_hwdev_hw_ci_addr_set(struct hinic_hwdev *hwdev, struct hinic_sq *sq, in hinic_hwdev_hw_ci_addr_set()
Dhinic_main.c145 struct hinic_sq *sq = hinic_hwdev_get_sq(nic_dev->hwdev, i); in create_txqs()
817 struct hinic_sq *sq; in hinic_tx_timeout()