Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c232 u32 ntc = rx_ring->next_to_clean + 1; in ixgbe_inc_ntc() local
234 ntc = (ntc < rx_ring->count) ? ntc : 0; in ixgbe_inc_ntc()
235 rx_ring->next_to_clean = ntc; in ixgbe_inc_ntc()
236 prefetch(IXGBE_RX_DESC(rx_ring, ntc)); in ixgbe_inc_ntc()
449 u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; in ixgbe_clean_xdp_tx_irq() local
456 tx_bi = &tx_ring->tx_buffer_info[ntc]; in ixgbe_clean_xdp_tx_irq()
457 tx_desc = IXGBE_TX_DESC(tx_ring, ntc); in ixgbe_clean_xdp_tx_irq()
459 while (ntc != ntu) { in ixgbe_clean_xdp_tx_irq()
475 ntc++; in ixgbe_clean_xdp_tx_irq()
476 if (unlikely(ntc == tx_ring->count)) { in ixgbe_clean_xdp_tx_irq()
[all …]
Dixgbe.h511 u16 ntc = ring->next_to_clean; in ixgbe_desc_unused() local
514 return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1; in ixgbe_desc_unused()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/hwmon/
Dntc_thermistor.txt16 /* Usage of vendor name "ntc" is deprecated */
17 <DEPRECATED> "ntc,ncp15wb473"
18 <DEPRECATED> "ntc,ncp18wb473"
19 <DEPRECATED> "ntc,ncp21wb473"
20 <DEPRECATED> "ntc,ncp03wb473"
21 <DEPRECATED> "ntc,ncp15wl333"
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_xsk.c464 int ntc = rx_ring->next_to_clean + 1; in ice_bump_ntc() local
466 ntc = (ntc < rx_ring->count) ? ntc : 0; in ice_bump_ntc()
467 rx_ring->next_to_clean = ntc; in ice_bump_ntc()
468 prefetch(ICE_RX_DESC(rx_ring, ntc)); in ice_bump_ntc()
747 s16 ntc = xdp_ring->next_to_clean; in ice_clean_tx_irq_zc() local
753 tx_desc = ICE_TX_DESC(xdp_ring, ntc); in ice_clean_tx_irq_zc()
754 tx_buf = &xdp_ring->tx_buf[ntc]; in ice_clean_tx_irq_zc()
755 ntc -= xdp_ring->count; in ice_clean_tx_irq_zc()
775 ntc++; in ice_clean_tx_irq_zc()
777 if (unlikely(!ntc)) { in ice_clean_tx_irq_zc()
[all …]
Dice_controlq.c808 u16 ntc = sq->next_to_clean; in ice_clean_sq() local
812 desc = ICE_CTL_Q_DESC(*sq, ntc); in ice_clean_sq()
813 details = ICE_CTL_Q_DETAILS(*sq, ntc); in ice_clean_sq()
815 while (rd32(hw, cq->sq.head) != ntc) { in ice_clean_sq()
817 "ntc %d head %d.\n", ntc, rd32(hw, cq->sq.head)); in ice_clean_sq()
820 ntc++; in ice_clean_sq()
821 if (ntc == sq->count) in ice_clean_sq()
822 ntc = 0; in ice_clean_sq()
823 desc = ICE_CTL_Q_DESC(*sq, ntc); in ice_clean_sq()
824 details = ICE_CTL_Q_DETAILS(*sq, ntc); in ice_clean_sq()
[all …]
Dice_txrx.c1029 u16 ntc = rx_ring->next_to_clean + 1; in ice_put_rx_buf() local
1032 ntc = (ntc < rx_ring->count) ? ntc : 0; in ice_put_rx_buf()
1033 rx_ring->next_to_clean = ntc; in ice_put_rx_buf()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c276 u32 ntc = rx_ring->next_to_clean + 1; in i40e_inc_ntc() local
278 ntc = (ntc < rx_ring->count) ? ntc : 0; in i40e_inc_ntc()
279 rx_ring->next_to_clean = ntc; in i40e_inc_ntc()
477 unsigned int ntc; in i40e_clean_xdp_tx_irq() local
491 ntc = tx_ring->next_to_clean; in i40e_clean_xdp_tx_irq()
494 tx_bi = &tx_ring->tx_bi[ntc]; in i40e_clean_xdp_tx_irq()
503 if (++ntc >= tx_ring->count) in i40e_clean_xdp_tx_irq()
504 ntc = 0; in i40e_clean_xdp_tx_irq()
589 u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; in i40e_xsk_clean_tx_ring() local
594 while (ntc != ntu) { in i40e_xsk_clean_tx_ring()
[all …]
Di40e_adminq.c725 u16 ntc = asq->next_to_clean; in i40e_clean_asq() local
729 desc = I40E_ADMINQ_DESC(*asq, ntc); in i40e_clean_asq()
730 details = I40E_ADMINQ_DETAILS(*asq, ntc); in i40e_clean_asq()
731 while (rd32(hw, hw->aq.asq.head) != ntc) { in i40e_clean_asq()
733 "ntc %d head %d.\n", ntc, rd32(hw, hw->aq.asq.head)); in i40e_clean_asq()
743 ntc++; in i40e_clean_asq()
744 if (ntc == asq->count) in i40e_clean_asq()
745 ntc = 0; in i40e_clean_asq()
746 desc = I40E_ADMINQ_DESC(*asq, ntc); in i40e_clean_asq()
747 details = I40E_ADMINQ_DETAILS(*asq, ntc); in i40e_clean_asq()
[all …]
Di40e_txrx.c2150 u32 ntc = rx_ring->next_to_clean + 1; in i40e_is_non_eop() local
2153 ntc = (ntc < rx_ring->count) ? ntc : 0; in i40e_is_non_eop()
2154 rx_ring->next_to_clean = ntc; in i40e_is_non_eop()
2156 prefetch(I40E_RX_DESC(rx_ring, ntc)); in i40e_is_non_eop()
2315 u32 ntc = rx_ring->next_to_clean + 1; in i40e_inc_ntc() local
2317 ntc = (ntc < rx_ring->count) ? ntc : 0; in i40e_inc_ntc()
2318 rx_ring->next_to_clean = ntc; in i40e_inc_ntc()
2319 prefetch(I40E_RX_DESC(rx_ring, ntc)); in i40e_inc_ntc()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_adminq.c575 u16 ntc = asq->next_to_clean; in iavf_clean_asq() local
579 desc = IAVF_ADMINQ_DESC(*asq, ntc); in iavf_clean_asq()
580 details = IAVF_ADMINQ_DETAILS(*asq, ntc); in iavf_clean_asq()
581 while (rd32(hw, hw->aq.asq.head) != ntc) { in iavf_clean_asq()
583 "ntc %d head %d.\n", ntc, rd32(hw, hw->aq.asq.head)); in iavf_clean_asq()
594 ntc++; in iavf_clean_asq()
595 if (ntc == asq->count) in iavf_clean_asq()
596 ntc = 0; in iavf_clean_asq()
597 desc = IAVF_ADMINQ_DESC(*asq, ntc); in iavf_clean_asq()
598 details = IAVF_ADMINQ_DETAILS(*asq, ntc); in iavf_clean_asq()
[all …]
Diavf_txrx.c1443 u32 ntc = rx_ring->next_to_clean + 1; in iavf_is_non_eop() local
1446 ntc = (ntc < rx_ring->count) ? ntc : 0; in iavf_is_non_eop()
1447 rx_ring->next_to_clean = ntc; in iavf_is_non_eop()
1449 prefetch(IAVF_RX_DESC(rx_ring, ntc)); in iavf_is_non_eop()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.c19 int ntc = ring->next_to_clean; in hclge_ring_space() local
20 int used = (ntu - ntc + ring->desc_num) % ring->desc_num; in hclge_ring_space()
28 int ntc = ring->next_to_clean; in is_valid_csq_clean_head() local
30 if (ntu > ntc) in is_valid_csq_clean_head()
31 return head >= ntc && head <= ntu; in is_valid_csq_clean_head()
33 return head >= ntc || head <= ntu; in is_valid_csq_clean_head()
225 int num, int ntc) in hclge_cmd_check_retval() argument
232 desc[handle] = hw->cmq.csq.desc[ntc]; in hclge_cmd_check_retval()
233 ntc++; in hclge_cmd_check_retval()
234 if (ntc >= hw->cmq.csq.desc_num) in hclge_cmd_check_retval()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_trace.h75 __field(int, ntc)
84 __entry->ntc = ring->next_to_clean;
94 __entry->ntc, &__entry->desc_dma,
106 __field(int, ntc)
116 __entry->ntc = ring->next_to_clean;
127 __entry->ntc, &__entry->desc_dma, &__entry->buf_dma,
Dhns3_enet.c2559 int ntc = ring->next_to_clean; in hns3_nic_reclaim_desc() local
2564 while (ltu != ntc) { in hns3_nic_reclaim_desc()
2565 desc = &ring->desc[ntc]; in hns3_nic_reclaim_desc()
2571 desc_cb = &ring->desc_cb[ntc]; in hns3_nic_reclaim_desc()
2575 hns3_free_buffer_detach(ring, ntc, budget); in hns3_nic_reclaim_desc()
2577 if (++ntc == ring->desc_num) in hns3_nic_reclaim_desc()
2578 ntc = 0; in hns3_nic_reclaim_desc()
2581 prefetch(&ring->desc_cb[ntc]); in hns3_nic_reclaim_desc()
2591 smp_store_release(&ring->next_to_clean, ntc); in hns3_nic_reclaim_desc()
2635 int ntc = ring->next_to_clean; in hns3_desc_unused() local
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_cmd.c18 int ntc = ring->next_to_clean; in hclgevf_ring_space() local
22 used = (ntu - ntc + ring->desc_num) % ring->desc_num; in hclgevf_ring_space()
31 int ntc = ring->next_to_clean; in hclgevf_is_valid_csq_clean_head() local
33 if (ntu > ntc) in hclgevf_is_valid_csq_clean_head()
34 return head >= ntc && head <= ntu; in hclgevf_is_valid_csq_clean_head()
36 return head >= ntc || head <= ntu; in hclgevf_is_valid_csq_clean_head()
230 int ntc; in hclgevf_cmd_send() local
252 ntc = hw->cmq.csq.next_to_use; in hclgevf_cmd_send()
285 desc_to_use = &hw->cmq.csq.desc[ntc]; in hclgevf_cmd_send()
295 ntc++; in hclgevf_cmd_send()
[all …]
/kernel/linux/linux-5.10/arch/mips/kernel/
Dmips-mt.c56 int ntc; in mips_mt_regdump() local
70 ntc = ((mvpconf0 & MVPCONF0_PTC) >> MVPCONF0_PTC_SHIFT) + 1; in mips_mt_regdump()
73 for (tc = 0; tc < ntc; tc++) { in mips_mt_regdump()
95 for (tc = 0; tc < ntc; tc++) { in mips_mt_regdump()
Dsmp-mt.c185 unsigned int mvpconf0, ntc, tc, ncpu = 0; in vsmp_smp_setup() local
204 ntc = (mvpconf0 & MVPCONF0_PTC) >> MVPCONF0_PTC_SHIFT; in vsmp_smp_setup()
211 for (tc = 0; tc <= ntc; tc++) { in vsmp_smp_setup()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h288 u16 ntc = ring->next_to_clean; in ixgbevf_desc_unused() local
291 return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1; in ixgbevf_desc_unused()
Dixgbevf_main.c585 u32 ntc = rx_ring->next_to_clean + 1; in ixgbevf_is_non_eop() local
588 ntc = (ntc < rx_ring->count) ? ntc : 0; in ixgbevf_is_non_eop()
589 rx_ring->next_to_clean = ntc; in ixgbevf_is_non_eop()
591 prefetch(IXGBEVF_RX_DESC(rx_ring, ntc)); in ixgbevf_is_non_eop()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc.h467 u16 ntc = ring->next_to_clean; in igc_desc_unused() local
470 return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1; in igc_desc_unused()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c490 u32 ntc = rx_ring->next_to_clean + 1; in fm10k_is_non_eop() local
493 ntc = (ntc < rx_ring->count) ? ntc : 0; in fm10k_is_non_eop()
494 rx_ring->next_to_clean = ntc; in fm10k_is_non_eop()
496 prefetch(FM10K_RX_DESC(rx_ring, ntc)); in fm10k_is_non_eop()
/kernel/linux/linux-5.10/drivers/hwmon/
Dntc_thermistor.c307 #define NTC_TYPE(ntc, compensation) \ argument
308 [(ntc)] = { .comp = (compensation), .n_comp = ARRAY_SIZE(compensation) }
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c1060 int ntc = ring->next_to_clean; in hns_roce_cmq_space() local
1061 int used = (ntu - ntc + ring->desc_num) % ring->desc_num; in hns_roce_cmq_space()
1216 u16 ntc = csq->next_to_clean; in hns_roce_cmq_csq_clean() local
1220 desc = &csq->desc[ntc]; in hns_roce_cmq_csq_clean()
1222 while (head != ntc) { in hns_roce_cmq_csq_clean()
1224 ntc++; in hns_roce_cmq_csq_clean()
1225 if (ntc == csq->desc_num) in hns_roce_cmq_csq_clean()
1226 ntc = 0; in hns_roce_cmq_csq_clean()
1227 desc = &csq->desc[ntc]; in hns_roce_cmq_csq_clean()
1230 csq->next_to_clean = ntc; in hns_roce_cmq_csq_clean()
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dexynos3250-monk.dts145 compatible = "ntc,ncp15wb473";
153 compatible = "ntc,ncp15wb473";
Dexynos3250-rinato.dts145 compatible = "ntc,ncp15wb473";
153 compatible = "ntc,ncp15wb473";

12