Home
last modified time | relevance | path

Searched refs:hw_wqe (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_qp.c663 if (IS_ERR(hw_wqe)) in hinic_sq_get_wqe()
666 return &hw_wqe->sq_wqe; in hinic_sq_get_wqe()
723 if (IS_ERR(hw_wqe)) in hinic_sq_read_wqebb()
728 sq_wqe = &hw_wqe->sq_wqe; in hinic_sq_read_wqebb()
737 return &hw_wqe->sq_wqe; in hinic_sq_read_wqebb()
758 return &hw_wqe->sq_wqe; in hinic_sq_read_wqe()
802 if (IS_ERR(hw_wqe)) in hinic_rq_get_wqe()
805 return &hw_wqe->rq_wqe; in hinic_rq_get_wqe()
847 if (IS_ERR(hw_wqe)) in hinic_rq_read_wqe()
860 return &hw_wqe->rq_wqe; in hinic_rq_read_wqe()
[all …]
H A Dhinic_hw_cmdq.c344 struct hinic_hw_wqe *hw_wqe; in cmdq_sync_cmd_direct_resp() local
352 if (IS_ERR(hw_wqe)) { in cmdq_sync_cmd_direct_resp()
357 curr_cmdq_wqe = &hw_wqe->cmdq_wqe; in cmdq_sync_cmd_direct_resp()
423 struct hinic_hw_wqe *hw_wqe; in cmdq_set_arm_bit() local
431 if (IS_ERR(hw_wqe)) { in cmdq_set_arm_bit()
436 curr_cmdq_wqe = &hw_wqe->cmdq_wqe; in cmdq_set_arm_bit()
645 struct hinic_hw_wqe *hw_wqe; in cmdq_ceq_handler() local
652 if (IS_ERR(hw_wqe)) in cmdq_ceq_handler()
655 header = CMDQ_WQE_HEADER(&hw_wqe->cmdq_wqe); in cmdq_ceq_handler()
662 if (cmdq_arm_ceq_handler(cmdq, &hw_wqe->cmdq_wqe)) in cmdq_ceq_handler()
[all …]
H A Dhinic_rx.c246 struct hinic_hw_wqe *hw_wqe; in free_all_rx_skbs() local
250 while ((hw_wqe = hinic_read_wqe(rq->wq, HINIC_RQ_WQE_SIZE, &ci))) { in free_all_rx_skbs()
251 if (IS_ERR(hw_wqe)) in free_all_rx_skbs()
254 hinic_rq_get_sge(rq, &hw_wqe->rq_wqe, ci, &sge); in free_all_rx_skbs()