Searched refs:hw_wqe (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_qp.c | 663 struct hinic_hw_wqe *hw_wqe = hinic_get_wqe(sq->wq, wqe_size, in hinic_sq_get_wqe() local 666 if (IS_ERR(hw_wqe)) in hinic_sq_get_wqe() 669 return &hw_wqe->sq_wqe; in hinic_sq_get_wqe() 694 struct hinic_hw_wqe *hw_wqe = (struct hinic_hw_wqe *)sq_wqe; in hinic_sq_write_wqe() local 701 hinic_write_wqe(sq->wq, hw_wqe, wqe_size); in hinic_sq_write_wqe() 718 struct hinic_hw_wqe *hw_wqe; in hinic_sq_read_wqebb() local 725 hw_wqe = hinic_read_wqe(sq->wq, sizeof(*ctrl), cons_idx); in hinic_sq_read_wqebb() 726 if (IS_ERR(hw_wqe)) in hinic_sq_read_wqebb() 731 sq_wqe = &hw_wqe->sq_wqe; in hinic_sq_read_wqebb() 740 return &hw_wqe->sq_wqe; in hinic_sq_read_wqebb() [all …]
|
D | hinic_hw_cmdq.c | 349 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 …]
|
D | hinic_rx.c | 246 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()
|