Searched refs:hw_ci (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_dev.c | 1159 struct hinic_cmd_hw_ci hw_ci; in hinic_hwdev_hw_ci_addr_set() local 1161 hw_ci.dma_attr_off = 0; in hinic_hwdev_hw_ci_addr_set() 1162 hw_ci.pending_limit = pending_limit; in hinic_hwdev_hw_ci_addr_set() 1163 hw_ci.coalesc_timer = coalesc_timer; in hinic_hwdev_hw_ci_addr_set() 1165 hw_ci.msix_en = 1; in hinic_hwdev_hw_ci_addr_set() 1166 hw_ci.msix_entry_idx = sq->msix_entry; in hinic_hwdev_hw_ci_addr_set() 1168 hw_ci.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_hwdev_hw_ci_addr_set() 1170 hw_ci.sq_id = qp->q_id; in hinic_hwdev_hw_ci_addr_set() 1172 hw_ci.ci_addr = ADDR_IN_4BYTES(sq->hw_ci_dma_addr); in hinic_hwdev_hw_ci_addr_set() 1178 &hw_ci, sizeof(hw_ci), NULL, in hinic_hwdev_hw_ci_addr_set()
|
D | hinic_tx.c | 708 u16 hw_ci, sw_ci; in free_tx_poll() local 711 hw_ci = HW_CONS_IDX(sq) & wq->mask; in free_tx_poll() 718 (((hw_ci - sw_ci) & wq->mask) * wq->wqebb_size < wqe_size)) in free_tx_poll()
|
D | hinic_main.c | 823 u16 sw_pi, hw_ci, sw_ci; in hinic_tx_timeout() local 837 hw_ci = be16_to_cpu(*(u16 *)(sq->hw_ci_addr)) & sq->wq->mask; in hinic_tx_timeout() 840 q_id, sw_pi, hw_ci, sw_ci, in hinic_tx_timeout()
|