/drivers/net/ethernet/intel/i40evf/ |
D | i40e_adminq.c | 611 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 …]
|
D | i40e_txrx.c | 1171 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/ |
D | i40e_adminq.c | 665 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 …]
|
D | i40e_txrx.c | 1723 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/ |
D | ixgbevf.h | 348 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()
|
D | ixgbevf_main.c | 576 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/ |
D | fm10k_main.c | 510 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/ |
D | ixgbe.h | 563 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()
|
D | ixgbe_main.c | 1741 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/ |
D | tx.c | 565 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/ |
D | ntc_thermistor.c | 549 ATTRIBUTE_GROUPS(ntc);
|
D | Kconfig | 1171 will be called ntc-thermistor.
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_enet.c | 747 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/ |
D | igb_main.c | 7063 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/ |
D | en_main.c | 2190 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/ |
D | bnxt.c | 6414 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()
|