ntu 826 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int ntu = ring->next_to_use; ntu 828 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int used = (ntu - ntc + ring->desc_num) % ring->desc_num; ntu 708 drivers/net/ethernet/hisilicon/hns/hns_enet.c int ntu = ring->next_to_use; ntu 710 drivers/net/ethernet/hisilicon/hns/hns_enet.c return ((ntc >= ntu) ? 0 : ring->desc_num) + ntc - ntu; ntu 2386 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c int ntu = ring->next_to_use; ntu 2388 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c return ((ntc >= ntu) ? 0 : ring->desc_num) + ntc - ntu; ntu 20 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c int ntu = ring->next_to_use; ntu 22 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c int used = (ntu - ntc + ring->desc_num) % ring->desc_num; ntu 29 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c int ntu = ring->next_to_use; ntu 32 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c if (ntu > ntc) ntu 33 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c return head >= ntc && head <= ntu; ntu 35 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c return head >= ntc || head <= ntu; ntu 22 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c int ntu = ring->next_to_use; ntu 25 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c used = (ntu - ntc + ring->desc_num) % ring->desc_num; ntu 33 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c int ntu = ring->next_to_use; ntu 36 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c if (ntu > ntc) ntu 37 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c return head >= ntc && head <= ntu; ntu 39 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c return head >= ntc || head <= ntu; ntu 955 drivers/net/ethernet/intel/i40e/i40e_adminq.c u16 ntu; ntu 971 drivers/net/ethernet/intel/i40e/i40e_adminq.c ntu = rd32(hw, hw->aq.arq.head) & I40E_PF_ARQH_ARQH_MASK; ntu 972 drivers/net/ethernet/intel/i40e/i40e_adminq.c if (ntu == ntc) { ntu 1025 drivers/net/ethernet/intel/i40e/i40e_adminq.c hw->aq.arq.next_to_use = ntu; ntu 1031 drivers/net/ethernet/intel/i40e/i40e_adminq.c *pending = (ntc > ntu ? hw->aq.arq.count : 0) + (ntu - ntc); ntu 1570 drivers/net/ethernet/intel/i40e/i40e_txrx.c u16 ntu = rx_ring->next_to_use; ntu 1578 drivers/net/ethernet/intel/i40e/i40e_txrx.c rx_desc = I40E_RX_DESC(rx_ring, ntu); ntu 1579 drivers/net/ethernet/intel/i40e/i40e_txrx.c bi = &rx_ring->rx_bi[ntu]; ntu 1598 drivers/net/ethernet/intel/i40e/i40e_txrx.c ntu++; ntu 1599 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (unlikely(ntu == rx_ring->count)) { ntu 1602 drivers/net/ethernet/intel/i40e/i40e_txrx.c ntu = 0; ntu 1611 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (rx_ring->next_to_use != ntu) ntu 1612 drivers/net/ethernet/intel/i40e/i40e_txrx.c i40e_release_rx_desc(rx_ring, ntu); ntu 1617 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (rx_ring->next_to_use != ntu) ntu 1618 drivers/net/ethernet/intel/i40e/i40e_txrx.c i40e_release_rx_desc(rx_ring, ntu); ntu 318 drivers/net/ethernet/intel/i40e/i40e_xsk.c u16 ntu = rx_ring->next_to_use; ntu 323 drivers/net/ethernet/intel/i40e/i40e_xsk.c rx_desc = I40E_RX_DESC(rx_ring, ntu); ntu 324 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi = &rx_ring->rx_bi[ntu]; ntu 339 drivers/net/ethernet/intel/i40e/i40e_xsk.c ntu++; ntu 341 drivers/net/ethernet/intel/i40e/i40e_xsk.c if (unlikely(ntu == rx_ring->count)) { ntu 344 drivers/net/ethernet/intel/i40e/i40e_xsk.c ntu = 0; ntu 352 drivers/net/ethernet/intel/i40e/i40e_xsk.c if (rx_ring->next_to_use != ntu) ntu 353 drivers/net/ethernet/intel/i40e/i40e_xsk.c i40e_release_rx_desc(rx_ring, ntu); ntu 843 drivers/net/ethernet/intel/i40e/i40e_xsk.c u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; ntu 848 drivers/net/ethernet/intel/i40e/i40e_xsk.c while (ntc != ntu) { ntu 856 drivers/net/ethernet/intel/iavf/iavf_adminq.c u16 ntu; ntu 872 drivers/net/ethernet/intel/iavf/iavf_adminq.c ntu = rd32(hw, hw->aq.arq.head) & IAVF_VF_ARQH1_ARQH_MASK; ntu 873 drivers/net/ethernet/intel/iavf/iavf_adminq.c if (ntu == ntc) { ntu 926 drivers/net/ethernet/intel/iavf/iavf_adminq.c hw->aq.arq.next_to_use = ntu; ntu 931 drivers/net/ethernet/intel/iavf/iavf_adminq.c *pending = (ntc > ntu ? hw->aq.arq.count : 0) + (ntu - ntc); ntu 881 drivers/net/ethernet/intel/iavf/iavf_txrx.c u16 ntu = rx_ring->next_to_use; ntu 889 drivers/net/ethernet/intel/iavf/iavf_txrx.c rx_desc = IAVF_RX_DESC(rx_ring, ntu); ntu 890 drivers/net/ethernet/intel/iavf/iavf_txrx.c bi = &rx_ring->rx_bi[ntu]; ntu 909 drivers/net/ethernet/intel/iavf/iavf_txrx.c ntu++; ntu 910 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (unlikely(ntu == rx_ring->count)) { ntu 913 drivers/net/ethernet/intel/iavf/iavf_txrx.c ntu = 0; ntu 922 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (rx_ring->next_to_use != ntu) ntu 923 drivers/net/ethernet/intel/iavf/iavf_txrx.c iavf_release_rx_desc(rx_ring, ntu); ntu 928 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (rx_ring->next_to_use != ntu) ntu 929 drivers/net/ethernet/intel/iavf/iavf_txrx.c iavf_release_rx_desc(rx_ring, ntu); ntu 1045 drivers/net/ethernet/intel/ice/ice_controlq.c u16 ntu; ntu 1061 drivers/net/ethernet/intel/ice/ice_controlq.c ntu = (u16)(rd32(hw, cq->rq.head) & cq->rq.head_mask); ntu 1063 drivers/net/ethernet/intel/ice/ice_controlq.c if (ntu == ntc) { ntu 1112 drivers/net/ethernet/intel/ice/ice_controlq.c cq->rq.next_to_use = ntu; ntu 1118 drivers/net/ethernet/intel/ice/ice_controlq.c ntu = (u16)(rd32(hw, cq->rq.head) & cq->rq.head_mask); ntu 1119 drivers/net/ethernet/intel/ice/ice_controlq.c *pending = (u16)((ntc > ntu ? cq->rq.count : 0) + (ntu - ntc)); ntu 1095 drivers/net/ethernet/intel/ice/ice_main.c u16 ntu; ntu 1097 drivers/net/ethernet/intel/ice/ice_main.c ntu = (u16)(rd32(hw, cq->rq.head) & cq->rq.head_mask); ntu 1098 drivers/net/ethernet/intel/ice/ice_main.c return cq->rq.next_to_clean != ntu; ntu 470 drivers/net/ethernet/intel/ice/ice_txrx.c u16 ntu = rx_ring->next_to_use; ntu 478 drivers/net/ethernet/intel/ice/ice_txrx.c rx_desc = ICE_RX_DESC(rx_ring, ntu); ntu 479 drivers/net/ethernet/intel/ice/ice_txrx.c bi = &rx_ring->rx_buf[ntu]; ntu 499 drivers/net/ethernet/intel/ice/ice_txrx.c ntu++; ntu 500 drivers/net/ethernet/intel/ice/ice_txrx.c if (unlikely(ntu == rx_ring->count)) { ntu 503 drivers/net/ethernet/intel/ice/ice_txrx.c ntu = 0; ntu 512 drivers/net/ethernet/intel/ice/ice_txrx.c if (rx_ring->next_to_use != ntu) ntu 513 drivers/net/ethernet/intel/ice/ice_txrx.c ice_release_rx_desc(rx_ring, ntu); ntu 440 drivers/net/ethernet/intel/igc/igc.h u16 ntu = ring->next_to_use; ntu 442 drivers/net/ethernet/intel/igc/igc.h return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1; ntu 510 drivers/net/ethernet/intel/ixgbe/ixgbe.h u16 ntu = ring->next_to_use; ntu 512 drivers/net/ethernet/intel/ixgbe/ixgbe.h return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1; ntu 643 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; ntu 653 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c while (ntc != ntu) { ntu 731 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; ntu 736 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c while (ntc != ntu) { ntu 289 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h u16 ntu = ring->next_to_use; ntu 291 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1;