Home
last modified time | relevance | path

Searched refs:hw_ci (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/huawei/hinic/
A Dhinic_hw_dev.c1137 struct hinic_cmd_hw_ci hw_ci; in hinic_hwdev_hw_ci_addr_set() local
1139 hw_ci.dma_attr_off = 0; in hinic_hwdev_hw_ci_addr_set()
1140 hw_ci.pending_limit = pending_limit; in hinic_hwdev_hw_ci_addr_set()
1141 hw_ci.coalesc_timer = coalesc_timer; in hinic_hwdev_hw_ci_addr_set()
1143 hw_ci.msix_en = 1; in hinic_hwdev_hw_ci_addr_set()
1144 hw_ci.msix_entry_idx = sq->msix_entry; in hinic_hwdev_hw_ci_addr_set()
1146 hw_ci.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_hwdev_hw_ci_addr_set()
1148 hw_ci.sq_id = qp->q_id; in hinic_hwdev_hw_ci_addr_set()
1150 hw_ci.ci_addr = ADDR_IN_4BYTES(sq->hw_ci_dma_addr); in hinic_hwdev_hw_ci_addr_set()
1156 &hw_ci, sizeof(hw_ci), NULL, in hinic_hwdev_hw_ci_addr_set()
A Dhinic_tx.c710 u16 hw_ci, sw_ci; in free_tx_poll() local
713 hw_ci = HW_CONS_IDX(sq) & wq->mask; in free_tx_poll()
720 (((hw_ci - sw_ci) & wq->mask) * wq->wqebb_size < wqe_size)) in free_tx_poll()
A Dhinic_main.c818 u16 sw_pi, hw_ci, sw_ci; in hinic_tx_timeout() local
832 hw_ci = be16_to_cpu(*(u16 *)(sq->hw_ci_addr)) & sq->wq->mask; in hinic_tx_timeout()
835 q_id, sw_pi, hw_ci, sw_ci, in hinic_tx_timeout()
/drivers/net/ethernet/huawei/hinic3/
A Dhinic3_tx.c583 u16 sw_pi, hw_ci; in is_hw_complete_sq_process() local
586 hw_ci = hinic3_get_sq_hw_ci(sq); in is_hw_complete_sq_process()
588 return sw_pi == hw_ci; in is_hw_complete_sq_process()
630 u16 hw_ci, sw_ci, q_id = txq->sq->q_id; in hinic3_tx_poll() local
636 hw_ci = hinic3_get_sq_hw_ci(txq->sq); in hinic3_tx_poll()
644 if (hw_ci == sw_ci || in hinic3_tx_poll()
645 ((hw_ci - sw_ci) & txq->q_mask) < tx_info->wqebb_cnt) in hinic3_tx_poll()

Completed in 20 milliseconds