Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp.c664 struct hinic_hw_wqe *hw_wqe = hinic_get_wqe(sq->wq, wqe_size, in hinic_sq_get_wqe() local
667 if (IS_ERR(hw_wqe)) in hinic_sq_get_wqe()
670 return &hw_wqe->sq_wqe; in hinic_sq_get_wqe()
695 struct hinic_hw_wqe *hw_wqe = (struct hinic_hw_wqe *)sq_wqe; in hinic_sq_write_wqe() local
702 hinic_write_wqe(sq->wq, hw_wqe, wqe_size); in hinic_sq_write_wqe()
719 struct hinic_hw_wqe *hw_wqe; in hinic_sq_read_wqebb() local
726 hw_wqe = hinic_read_wqe(sq->wq, sizeof(*ctrl), cons_idx); in hinic_sq_read_wqebb()
727 if (IS_ERR(hw_wqe)) in hinic_sq_read_wqebb()
732 sq_wqe = &hw_wqe->sq_wqe; in hinic_sq_read_wqebb()
741 return &hw_wqe->sq_wqe; in hinic_sq_read_wqebb()
[all …]
Dhinic_hw_cmdq.c349 struct hinic_hw_wqe *hw_wqe; in cmdq_sync_cmd_direct_resp() local
356 hw_wqe = hinic_get_wqe(wq, WQE_LCMD_SIZE, &curr_prod_idx); in cmdq_sync_cmd_direct_resp()
357 if (IS_ERR(hw_wqe)) { in cmdq_sync_cmd_direct_resp()
362 curr_cmdq_wqe = &hw_wqe->cmdq_wqe; in cmdq_sync_cmd_direct_resp()
428 struct hinic_hw_wqe *hw_wqe; in cmdq_set_arm_bit() local
435 hw_wqe = hinic_get_wqe(wq, WQE_SCMD_SIZE, &curr_prod_idx); in cmdq_set_arm_bit()
436 if (IS_ERR(hw_wqe)) { in cmdq_set_arm_bit()
441 curr_cmdq_wqe = &hw_wqe->cmdq_wqe; in cmdq_set_arm_bit()
650 struct hinic_hw_wqe *hw_wqe; in cmdq_ceq_handler() local
656 while ((hw_wqe = hinic_read_wqe(cmdq->wq, WQE_SCMD_SIZE, &ci))) { in cmdq_ceq_handler()
[all …]
Dhinic_rx.c251 struct hinic_hw_wqe *hw_wqe; in free_all_rx_skbs() local
255 while ((hw_wqe = hinic_read_wqe(rq->wq, HINIC_RQ_WQE_SIZE, &ci))) { in free_all_rx_skbs()
256 if (IS_ERR(hw_wqe)) in free_all_rx_skbs()
259 hinic_rq_get_sge(rq, &hw_wqe->rq_wqe, ci, &sge); in free_all_rx_skbs()