| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_xsk.c | 232 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() 451 u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; in ixgbe_clean_xdp_tx_irq() local 458 tx_bi = &tx_ring->tx_buffer_info[ntc]; in ixgbe_clean_xdp_tx_irq() 459 tx_desc = IXGBE_TX_DESC(tx_ring, ntc); in ixgbe_clean_xdp_tx_irq() 461 while (ntc != ntu) { in ixgbe_clean_xdp_tx_irq() 477 ntc++; in ixgbe_clean_xdp_tx_irq() 478 if (unlikely(ntc == tx_ring->count)) { in ixgbe_clean_xdp_tx_irq() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/hwmon/ |
| H A D | ntc_thermistor.txt | 1 NTC Thermistor hwmon sensors 16 /* 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"
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_adminq.c | 586 u16 ntc = asq->next_to_clean; in iavf_clean_asq() local 590 desc = IAVF_ADMINQ_DESC(*asq, ntc); in iavf_clean_asq() 591 details = IAVF_ADMINQ_DETAILS(*asq, ntc); in iavf_clean_asq() 592 while (rd32(hw, hw->aq.asq.head) != ntc) { in iavf_clean_asq() 594 "ntc %d head %d.\n", ntc, rd32(hw, hw->aq.asq.head)); in iavf_clean_asq() 605 ntc++; in iavf_clean_asq() 606 if (ntc == asq->count) in iavf_clean_asq() 607 ntc = 0; in iavf_clean_asq() 608 desc = IAVF_ADMINQ_DESC(*asq, ntc); in iavf_clean_asq() 609 details = IAVF_ADMINQ_DETAILS(*asq, ntc); in iavf_clean_asq() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_xsk.c | 331 u32 ntc = rx_ring->next_to_clean + 1; in i40e_inc_ntc() local 333 ntc = (ntc < rx_ring->count) ? ntc : 0; in i40e_inc_ntc() 334 rx_ring->next_to_clean = ntc; in i40e_inc_ntc() 532 unsigned int ntc; in i40e_clean_xdp_tx_irq() local 546 ntc = tx_ring->next_to_clean; in i40e_clean_xdp_tx_irq() 549 tx_bi = &tx_ring->tx_bi[ntc]; in i40e_clean_xdp_tx_irq() 558 if (++ntc >= tx_ring->count) in i40e_clean_xdp_tx_irq() 559 ntc = 0; in i40e_clean_xdp_tx_irq() 644 u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; in i40e_xsk_clean_tx_ring() local 649 while (ntc != ntu) { in i40e_xsk_clean_tx_ring() [all …]
|
| H A D | i40e_adminq.c | 725 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/ |
| H A D | ice_xsk.c | 480 int ntc = rx_ring->next_to_clean + 1; in ice_bump_ntc() local 482 ntc = (ntc < rx_ring->count) ? ntc : 0; in ice_bump_ntc() 483 rx_ring->next_to_clean = ntc; in ice_bump_ntc() 484 prefetch(ICE_RX_DESC(rx_ring, ntc)); in ice_bump_ntc() 763 s16 ntc = xdp_ring->next_to_clean; in ice_clean_tx_irq_zc() local 769 tx_desc = ICE_TX_DESC(xdp_ring, ntc); in ice_clean_tx_irq_zc() 770 tx_buf = &xdp_ring->tx_buf[ntc]; in ice_clean_tx_irq_zc() 771 ntc -= xdp_ring->count; in ice_clean_tx_irq_zc() 791 ntc++; in ice_clean_tx_irq_zc() 793 if (unlikely(!ntc)) { in ice_clean_tx_irq_zc() [all …]
|
| H A D | ice_controlq.c | 808 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_cmd.c | 19 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| H A D | hclgevf_cmd.c | 18 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/hwmon/ |
| H A D | ntc_thermistor.rst | 6 * Murata NTC Thermistors NCP15WB473, NCP18WB473, NCP21WB473, NCP03WB473, 16 * EPCOS NTC Thermistors B57330V2103 22 Other NTC thermistors can be supported simply by adding compensation 32 The NTC (Negative Temperature Coefficient) thermistor is a simple thermistor 36 The NTC driver provides lookup tables with a linear approximation function 111 Note that each NTC thermistor has only _one_ thermistor; thus, only temp1 exists.
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_trace.h | 75 __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,
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/ab8500/ |
| H A D | fg.txt | 35 measurement, 'btemp' signal is used when NTC(negative temperature 37 'batctrl' pin is used when NTC resister is internal to battery. 43 indicates: NTC resister is internal to battery, 'batctrl' is used 47 NTC resister is external to battery and 'btemp' signal is used
|
| /OK3568_Linux_fs/kernel/drivers/hwmon/ |
| H A D | ntc_thermistor.c | 3 * ntc_thermistor.c - NTC Thermistors 65 * The following compensation tables are from the specification of Murata NTC 216 * The following compensation tables are from the specifications in EPCOS NTC 307 #define NTC_TYPE(ntc, compensation) \ argument 308 [(ntc)] = { .comp = (compensation), .n_comp = ARRAY_SIZE(compensation) } 366 /* Usage of vendor name "ntc" is deprecated */ 367 { .compatible = "ntc,ncp03wb473", 369 { .compatible = "ntc,ncp15wb473", 371 { .compatible = "ntc,ncp15wl333", 373 { .compatible = "ntc,ncp18wb473", [all …]
|
| H A D | ab8500.c | 57 * VCC----[ R_up ]-----[ NTC ]----GND 58 * where R_up is pull-up resistance, and GPADC measures voltage on NTC.
|
| /OK3568_Linux_fs/kernel/drivers/power/supply/ |
| H A D | tps65217_charger.c | 50 * tps65217 rev. G, p. 31 (see p. 32 for NTC schematic) in tps65217_config_charger() 52 * The device can be configured to support a 100k NTC (B = 3960) by in tps65217_config_charger() 57 * information. If 100k NTC setting is required, please contact the in tps65217_config_charger() 62 * NTC TYPE (for battery temperature measurement) in tps65217_config_charger() 72 "failed to set 100k NTC setting: %d\n", ret); in tps65217_config_charger()
|
| H A D | ab8500_bmdata.c | 10 * These are the defined batteries that uses a NTC and ID resistor placed 309 * These are the batteries that doesn't have an internal NTC resistor to measure 310 * its temperature. The temperature in this case is measure with a NTC placed
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igc/ |
| H A D | igc_dump.c | 134 netdev_info(netdev, "Queue [NTU] [NTC] [bi(ntc)->dma ] leng ntw timestamp\n"); in igc_rings_dump() 183 next_desc = " NTC/U"; in igc_rings_dump() 187 next_desc = " NTC"; in igc_rings_dump() 212 netdev_info(netdev, "Queue [NTU] [NTC]\n"); in igc_rings_dump() 267 next_desc = " NTC"; in igc_rings_dump()
|
| H A D | igc.h | 467 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()
|
| /OK3568_Linux_fs/kernel/arch/mips/kernel/ |
| H A D | mips-mt.c | 56 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()
|
| H A D | smp-mt.c | 185 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()
|
| /OK3568_Linux_fs/kernel/include/linux/mfd/ |
| H A D | abx500.h | 35 * with a NTC resistor to both identify the battery and to measure its 47 * NTC resistor. 49 * @resist: NTC resistor net total resistance
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbevf/ |
| H A D | ixgbevf.h | 288 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()
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/powerpc/power9/ |
| H A D | pipeline.json | 100 …"BriefDescription": "The NTC instruction is being held at dispatch because it lost arbitration ont… 255 …"BriefDescription": "the NTC instruction is being held at dispatch because it is a tbegin instruct… 315 "BriefDescription": "Cycles in which the NTC instruction is held at dispatch for any reason" 335 …"BriefDescription": "Cycles in which the oldest instruction in the pipeline (NTC) finishes. This e…
|
| H A D | metrics.json | 169 …"BriefDescription": "Cycles in which the NTC instruction is not allowed to complete because it was… 187 …"BriefDescription": "Cycles in which the NTC instruction is not allowed to complete because any of… 229 … "BriefDescription": "Cycles in which the NTC instruciton is held at dispatch for any reason", 259 …"BriefDescription": "the NTC instruction is being held at dispatch because it is a tbegin instruct… 406 …"BriefDescription": "Cycles in which the oldest instruction in the pipeline (NTC) finishes. This e… 412 "BriefDescription": "Completion stall due to ntc flush", 418 …"BriefDescription": "The NTC instruction is being held at dispatch because it lost arbitration ont… 424 …"BriefDescription": "The NTC instruction is being held at dispatch because there are no slots in t… 430 …"BriefDescription": "The NTC instruction is being held at dispatch during regular pipeline cycles,…
|
| H A D | marked.json | 5 …Number of cycles the marked instruction is experiencing a stall while it is next to complete (NTC)" 55 "BriefDescription": "Completion stall due to ntc flush" 90 …"BriefDescription": "Cycles in which the NTC instruction is not allowed to complete because it was… 285 …"BriefDescription": "The NTC instruction is being held at dispatch during regular pipeline cycles,…
|