Home
last modified time | relevance | path

Searched refs:ntc (Results 1 – 16 of 16) sorted by relevance

/drivers/net/ethernet/intel/i40evf/
Di40e_adminq.c611 u16 ntc = asq->next_to_clean; in i40e_clean_asq() local
615 desc = I40E_ADMINQ_DESC(*asq, ntc); in i40e_clean_asq()
616 details = I40E_ADMINQ_DETAILS(*asq, ntc); in i40e_clean_asq()
617 while (rd32(hw, hw->aq.asq.head) != ntc) { in i40e_clean_asq()
619 "ntc %d head %d.\n", ntc, rd32(hw, hw->aq.asq.head)); in i40e_clean_asq()
630 ntc++; in i40e_clean_asq()
631 if (ntc == asq->count) in i40e_clean_asq()
632 ntc = 0; in i40e_clean_asq()
633 desc = I40E_ADMINQ_DESC(*asq, ntc); in i40e_clean_asq()
634 details = I40E_ADMINQ_DETAILS(*asq, ntc); in i40e_clean_asq()
[all …]
Di40e_txrx.c1171 u32 ntc = rx_ring->next_to_clean + 1; in i40e_is_non_eop() local
1174 ntc = (ntc < rx_ring->count) ? ntc : 0; in i40e_is_non_eop()
1175 rx_ring->next_to_clean = ntc; in i40e_is_non_eop()
1177 prefetch(I40E_RX_DESC(rx_ring, ntc)); in i40e_is_non_eop()
1185 rx_ring->rx_bi[ntc].skb = skb; in i40e_is_non_eop()
/drivers/net/ethernet/intel/i40e/
Di40e_adminq.c665 u16 ntc = asq->next_to_clean; in i40e_clean_asq() local
669 desc = I40E_ADMINQ_DESC(*asq, ntc); in i40e_clean_asq()
670 details = I40E_ADMINQ_DETAILS(*asq, ntc); in i40e_clean_asq()
671 while (rd32(hw, hw->aq.asq.head) != ntc) { in i40e_clean_asq()
673 "ntc %d head %d.\n", ntc, rd32(hw, hw->aq.asq.head)); in i40e_clean_asq()
683 ntc++; in i40e_clean_asq()
684 if (ntc == asq->count) in i40e_clean_asq()
685 ntc = 0; in i40e_clean_asq()
686 desc = I40E_ADMINQ_DESC(*asq, ntc); in i40e_clean_asq()
687 details = I40E_ADMINQ_DETAILS(*asq, ntc); in i40e_clean_asq()
[all …]
Di40e_txrx.c1723 u32 ntc = rx_ring->next_to_clean + 1; in i40e_is_non_eop() local
1726 ntc = (ntc < rx_ring->count) ? ntc : 0; in i40e_is_non_eop()
1727 rx_ring->next_to_clean = ntc; in i40e_is_non_eop()
1729 prefetch(I40E_RX_DESC(rx_ring, ntc)); in i40e_is_non_eop()
1734 rx_ring->rx_bi[ntc].skb = skb; in i40e_is_non_eop()
1743 rx_ring->rx_bi[ntc].skb = skb; in i40e_is_non_eop()
/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h348 u16 ntc = ring->next_to_clean; in ixgbevf_desc_unused() local
351 return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1; in ixgbevf_desc_unused()
Dixgbevf_main.c576 u32 ntc = rx_ring->next_to_clean + 1; in ixgbevf_is_non_eop() local
579 ntc = (ntc < rx_ring->count) ? ntc : 0; in ixgbevf_is_non_eop()
580 rx_ring->next_to_clean = ntc; in ixgbevf_is_non_eop()
582 prefetch(IXGBEVF_RX_DESC(rx_ring, ntc)); in ixgbevf_is_non_eop()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c510 u32 ntc = rx_ring->next_to_clean + 1; in fm10k_is_non_eop() local
513 ntc = (ntc < rx_ring->count) ? ntc : 0; in fm10k_is_non_eop()
514 rx_ring->next_to_clean = ntc; in fm10k_is_non_eop()
516 prefetch(FM10K_RX_DESC(rx_ring, ntc)); in fm10k_is_non_eop()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h563 u16 ntc = ring->next_to_clean; in ixgbe_desc_unused() local
566 return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1; in ixgbe_desc_unused()
Dixgbe_main.c1741 u32 ntc = rx_ring->next_to_clean + 1; in ixgbe_is_non_eop() local
1744 ntc = (ntc < rx_ring->count) ? ntc : 0; in ixgbe_is_non_eop()
1745 rx_ring->next_to_clean = ntc; in ixgbe_is_non_eop()
1747 prefetch(IXGBE_RX_DESC(rx_ring, ntc)); in ixgbe_is_non_eop()
1761 ntc = le32_to_cpu(rx_desc->wb.upper.status_error); in ixgbe_is_non_eop()
1762 ntc &= IXGBE_RXDADV_NEXTP_MASK; in ixgbe_is_non_eop()
1763 ntc >>= IXGBE_RXDADV_NEXTP_SHIFT; in ixgbe_is_non_eop()
1772 rx_ring->rx_buffer_info[ntc].skb = skb; in ixgbe_is_non_eop()
/drivers/net/ethernet/sfc/
Dtx.c565 struct tc_to_netdev *ntc) in efx_setup_tc() argument
573 if (ntc->type != TC_SETUP_MQPRIO) in efx_setup_tc()
576 num_tc = ntc->tc; in efx_setup_tc()
/drivers/hwmon/
Dntc_thermistor.c549 ATTRIBUTE_GROUPS(ntc);
DKconfig1171 will be called ntc-thermistor.
/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c747 int ntc = ring->next_to_clean; in hns_desc_unused() local
750 return ((ntc >= ntu) ? 0 : ring->desc_num) + ntc - ntu; in hns_desc_unused()
/drivers/net/ethernet/intel/igb/
Digb_main.c7063 u32 ntc = rx_ring->next_to_clean + 1; in igb_is_non_eop() local
7066 ntc = (ntc < rx_ring->count) ? ntc : 0; in igb_is_non_eop()
7067 rx_ring->next_to_clean = ntc; in igb_is_non_eop()
7069 prefetch(IGB_RX_DESC(rx_ring, ntc)); in igb_is_non_eop()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c2190 int ntc = priv->params.num_tc; in mlx5e_netdev_set_tcs() local
2195 if (ntc == 1) in mlx5e_netdev_set_tcs()
2198 netdev_set_num_tc(netdev, ntc); in mlx5e_netdev_set_tcs()
2203 for (tc = 0; tc < ntc; tc++) in mlx5e_netdev_set_tcs()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c6414 struct tc_to_netdev *ntc) in bnxt_setup_tc() argument
6420 if (ntc->type != TC_SETUP_MQPRIO) in bnxt_setup_tc()
6423 tc = ntc->tc; in bnxt_setup_tc()