Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A 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);
184 struct hinic_sq_wqe *hinic_sq_get_wqe(struct hinic_sq *sq,
189 void hinic_sq_write_wqe(struct hinic_sq *sq, u16 prod_idx,
193 struct hinic_sq_wqe *hinic_sq_read_wqe(struct hinic_sq *sq,
197 struct hinic_sq_wqe *hinic_sq_read_wqebb(struct hinic_sq *sq,
[all …]
H A 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()
657 struct hinic_sq_wqe *hinic_sq_get_wqe(struct hinic_sq *sq, in hinic_sq_get_wqe()
687 void hinic_sq_write_wqe(struct hinic_sq *sq, u16 prod_idx, in hinic_sq_write_wqe()
711 struct hinic_sq_wqe *hinic_sq_read_wqebb(struct hinic_sq *sq, in hinic_sq_read_wqebb()
749 struct hinic_sq_wqe *hinic_sq_read_wqe(struct hinic_sq *sq, in hinic_sq_read_wqe()
[all …]
H A Dhinic_tx.h31 struct hinic_sq *sq;
49 int hinic_init_txq(struct hinic_txq *txq, struct hinic_sq *sq,
H A 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()
H A Dhinic_debugfs.h83 void hinic_sq_debug_rem(struct hinic_sq *sq);
H A 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()
H A 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,
H A 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()
H A 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()