Searched refs:hinic_sq (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/huawei/hinic/ |
| D | hinic_hw_qp.h | 76 struct hinic_sq { struct 112 struct hinic_sq sq; argument 123 struct hinic_sq *sq, u16 global_qid); 128 int hinic_init_sq(struct hinic_sq *sq, struct hinic_hwif *hwif, 132 void hinic_clean_sq(struct hinic_sq *sq); 139 int hinic_get_sq_free_wqebbs(struct hinic_sq *sq); 168 void hinic_sq_prepare_wqe(struct hinic_sq *sq, u16 prod_idx, 172 void hinic_sq_write_db(struct hinic_sq *sq, u16 prod_idx, unsigned int wqe_size, 175 struct hinic_sq_wqe *hinic_sq_get_wqe(struct hinic_sq *sq, 178 void hinic_sq_return_wqe(struct hinic_sq *sq, unsigned int wqe_size); [all …]
|
| D | hinic_hw_qp.c | 93 struct hinic_sq *sq, u16 global_qid) in hinic_sq_prepare_ctxt() 214 static int alloc_sq_skb_arr(struct hinic_sq *sq) in alloc_sq_skb_arr() 231 static void free_sq_skb_arr(struct hinic_sq *sq) in free_sq_skb_arr() 276 int hinic_init_sq(struct hinic_sq *sq, struct hinic_hwif *hwif, in hinic_init_sq() 300 void hinic_clean_sq(struct hinic_sq *sq) in hinic_clean_sq() 451 int hinic_get_sq_free_wqebbs(struct hinic_sq *sq) in hinic_get_sq_free_wqebbs() 592 void hinic_sq_prepare_wqe(struct hinic_sq *sq, u16 prod_idx, in hinic_sq_prepare_wqe() 614 static u32 sq_prepare_db(struct hinic_sq *sq, u16 prod_idx, unsigned int cos) in sq_prepare_db() 634 void hinic_sq_write_db(struct hinic_sq *sq, u16 prod_idx, unsigned int wqe_size, in hinic_sq_write_db() 655 struct hinic_sq_wqe *hinic_sq_get_wqe(struct hinic_sq *sq, in hinic_sq_get_wqe() [all …]
|
| D | hinic_tx.h | 31 struct hinic_sq *sq; 49 int hinic_init_txq(struct hinic_txq *txq, struct hinic_sq *sq,
|
| D | hinic_hw_dev.h | 274 struct hinic_sq *hinic_hwdev_get_sq(struct hinic_hwdev *hwdev, int i); 285 int hinic_hwdev_hw_ci_addr_set(struct hinic_hwdev *hwdev, struct hinic_sq *sq,
|
| D | hinic_tx.c | 578 struct hinic_sq *sq = txq->sq; in free_all_tx_skbs() 613 struct hinic_sq *sq = txq->sq; in free_tx_poll() 719 struct hinic_sq *sq = txq->sq; in tx_request_irq() 741 struct hinic_sq *sq = txq->sq; in tx_free_irq() 755 int hinic_init_txq(struct hinic_txq *txq, struct hinic_sq *sq, in hinic_init_txq()
|
| D | hinic_hw_dev.c | 901 struct hinic_sq *hinic_hwdev_get_sq(struct hinic_hwdev *hwdev, int i) in hinic_hwdev_get_sq() 974 int hinic_hwdev_hw_ci_addr_set(struct hinic_hwdev *hwdev, struct hinic_sq *sq, in hinic_hwdev_hw_ci_addr_set()
|
| D | hinic_main.c | 147 struct hinic_sq *sq = hinic_hwdev_get_sq(nic_dev->hwdev, i); in create_txqs()
|