Searched refs:hw_ci (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_dev.c | 1137 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()
|
D | hinic_tx.c | 710 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()
|
D | hinic_main.c | 816 u16 sw_pi, hw_ci, sw_ci; in hinic_tx_timeout() local 830 hw_ci = be16_to_cpu(*(u16 *)(sq->hw_ci_addr)) & sq->wq->mask; in hinic_tx_timeout() 833 q_id, sw_pi, hw_ci, sw_ci, in hinic_tx_timeout()
|