Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp.h85 struct hinic_sq { struct
121 struct hinic_sq sq; argument
132 struct hinic_sq *sq, u16 global_qid);
137 int hinic_init_sq(struct hinic_sq *sq, struct hinic_hwif *hwif,
141 void hinic_clean_sq(struct hinic_sq *sq);
148 int hinic_get_sq_free_wqebbs(struct hinic_sq *sq);
152 void hinic_sq_prepare_wqe(struct hinic_sq *sq, u16 prod_idx,
156 void hinic_sq_write_db(struct hinic_sq *sq, u16 prod_idx, unsigned int wqe_size,
159 struct hinic_sq_wqe *hinic_sq_get_wqe(struct hinic_sq *sq,
162 void hinic_sq_write_wqe(struct hinic_sq *sq, u16 prod_idx,
[all …]
Dhinic_hw_qp.c104 struct hinic_sq *sq, u16 global_qid) in hinic_sq_prepare_ctxt()
225 static int alloc_sq_skb_arr(struct hinic_sq *sq) in alloc_sq_skb_arr()
242 static void free_sq_skb_arr(struct hinic_sq *sq) in free_sq_skb_arr()
287 int hinic_init_sq(struct hinic_sq *sq, struct hinic_hwif *hwif, in hinic_init_sq()
311 void hinic_clean_sq(struct hinic_sq *sq) in hinic_clean_sq()
462 int hinic_get_sq_free_wqebbs(struct hinic_sq *sq) in hinic_get_sq_free_wqebbs()
540 void hinic_sq_prepare_wqe(struct hinic_sq *sq, u16 prod_idx, in hinic_sq_prepare_wqe()
562 static u32 sq_prepare_db(struct hinic_sq *sq, u16 prod_idx, unsigned int cos) in sq_prepare_db()
582 void hinic_sq_write_db(struct hinic_sq *sq, u16 prod_idx, unsigned int wqe_size, in hinic_sq_write_db()
603 struct hinic_sq_wqe *hinic_sq_get_wqe(struct hinic_sq *sq, in hinic_sq_get_wqe()
[all …]
Dhinic_tx.h39 struct hinic_sq *sq;
57 int hinic_init_txq(struct hinic_txq *txq, struct hinic_sq *sq,
Dhinic_tx.c279 struct hinic_sq *sq = txq->sq; in free_all_tx_skbs()
314 struct hinic_sq *sq = txq->sq; in free_tx_poll()
416 struct hinic_sq *sq = txq->sq; in tx_request_irq()
438 struct hinic_sq *sq = txq->sq; in tx_free_irq()
452 int hinic_init_txq(struct hinic_txq *txq, struct hinic_sq *sq, in hinic_init_txq()
Dhinic_hw_dev.h225 struct hinic_sq *hinic_hwdev_get_sq(struct hinic_hwdev *hwdev, int i);
236 int hinic_hwdev_hw_ci_addr_set(struct hinic_hwdev *hwdev, struct hinic_sq *sq,
Dhinic_hw_dev.c904 struct hinic_sq *hinic_hwdev_get_sq(struct hinic_hwdev *hwdev, int i) in hinic_hwdev_get_sq()
977 int hinic_hwdev_hw_ci_addr_set(struct hinic_hwdev *hwdev, struct hinic_sq *sq, in hinic_hwdev_hw_ci_addr_set()
Dhinic_main.c275 struct hinic_sq *sq = hinic_hwdev_get_sq(nic_dev->hwdev, i); in create_txqs()