Home
last modified time | relevance | path

Searched full:ntc (Results 1 – 25 of 132) sorted by relevance

123456

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/hwmon/
Dntc_thermistor.txt1 NTC Thermistor hwmon sensors
15 /* Usage of vendor name "ntc" is deprecated */
16 <DEPRECATED> "ntc,ncp15wb473"
17 <DEPRECATED> "ntc,ncp18wb473"
18 <DEPRECATED> "ntc,ncp21wb473"
19 <DEPRECATED> "ntc,ncp03wb473"
20 <DEPRECATED> "ntc,ncp15wl333"
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/hwmon/
Dntc_thermistor.txt1 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"
/kernel/linux/linux-4.19/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_cmd.c21 int ntc = ring->next_to_clean; in hclgevf_ring_space() local
25 used = (ntu - ntc + ring->desc_num) % ring->desc_num; in hclgevf_ring_space()
33 u16 ntc = csq->next_to_clean; in hclgevf_cmd_csq_clean() local
38 desc = &csq->desc[ntc]; in hclgevf_cmd_csq_clean()
40 while (head != ntc) { in hclgevf_cmd_csq_clean()
42 ntc++; in hclgevf_cmd_csq_clean()
43 if (ntc == csq->desc_num) in hclgevf_cmd_csq_clean()
44 ntc = 0; in hclgevf_cmd_csq_clean()
45 desc = &csq->desc[ntc]; in hclgevf_cmd_csq_clean()
48 csq->next_to_clean = ntc; in hclgevf_cmd_csq_clean()
[all …]
/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 …]
/kernel/linux/linux-4.19/Documentation/hwmon/
Dntc_thermistor5 * Murata NTC Thermistors NCP15WB473, NCP18WB473, NCP21WB473, NCP03WB473,
12 * EPCOS NTC Thermistors B57330V2103
16 Other NTC thermistors can be supported simply by adding compensation
25 The NTC (Negative Temperature Coefficient) thermistor is a simple thermistor
29 The NTC driver provides lookup tables with a linear approximation function
100 Note that each NTC thermistor has only _one_ thermistor; thus, only temp1 exists.
/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 …]
/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 …]
/kernel/linux/linux-4.19/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.c21 int ntc = ring->next_to_clean; in hclge_ring_space() local
22 int used = (ntu - ntc + ring->desc_num) % ring->desc_num; in hclge_ring_space()
30 int ntc = ring->next_to_clean; in is_valid_csq_clean_head() local
32 if (ntu > ntc) in is_valid_csq_clean_head()
33 return head >= ntc && head <= ntu; in is_valid_csq_clean_head()
35 return head >= ntc || head <= ntu; in is_valid_csq_clean_head()
204 int ntc; in hclge_cmd_send() local
218 ntc = hw->cmq.csq.next_to_use; in hclge_cmd_send()
253 desc_to_use = &hw->cmq.csq.desc[ntc]; in hclge_cmd_send()
268 ntc++; in hclge_cmd_send()
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/intel/i40evf/
Di40e_adminq.c588 u16 ntc = asq->next_to_clean; in i40e_clean_asq() local
592 desc = I40E_ADMINQ_DESC(*asq, ntc); in i40e_clean_asq()
593 details = I40E_ADMINQ_DETAILS(*asq, ntc); in i40e_clean_asq()
594 while (rd32(hw, hw->aq.asq.head) != ntc) { in i40e_clean_asq()
596 "ntc %d head %d.\n", ntc, rd32(hw, hw->aq.asq.head)); in i40e_clean_asq()
607 ntc++; in i40e_clean_asq()
608 if (ntc == asq->count) in i40e_clean_asq()
609 ntc = 0; in i40e_clean_asq()
610 desc = I40E_ADMINQ_DESC(*asq, ntc); in i40e_clean_asq()
611 details = I40E_ADMINQ_DETAILS(*asq, ntc); in i40e_clean_asq()
[all …]
/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 …]
/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/Documentation/hwmon/
Dntc_thermistor.rst6 * 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.
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/power/supply/ab8500/
Dfg.txt35 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
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ab8500/
Dfg.txt35 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
/kernel/linux/linux-4.19/drivers/net/ethernet/intel/i40e/
Di40e_adminq.c660 u16 ntc = asq->next_to_clean; in i40e_clean_asq() local
664 desc = I40E_ADMINQ_DESC(*asq, ntc); in i40e_clean_asq()
665 details = I40E_ADMINQ_DETAILS(*asq, ntc); in i40e_clean_asq()
666 while (rd32(hw, hw->aq.asq.head) != ntc) { in i40e_clean_asq()
668 "ntc %d head %d.\n", ntc, rd32(hw, hw->aq.asq.head)); in i40e_clean_asq()
678 ntc++; in i40e_clean_asq()
679 if (ntc == asq->count) in i40e_clean_asq()
680 ntc = 0; in i40e_clean_asq()
681 desc = I40E_ADMINQ_DESC(*asq, ntc); in i40e_clean_asq()
682 details = I40E_ADMINQ_DETAILS(*asq, ntc); in i40e_clean_asq()
[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,
/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-4.19/drivers/net/ethernet/intel/ice/
Dice_controlq.c751 u16 ntc = sq->next_to_clean; in ice_clean_sq() local
755 desc = ICE_CTL_Q_DESC(*sq, ntc); in ice_clean_sq()
756 details = ICE_CTL_Q_DETAILS(*sq, ntc); in ice_clean_sq()
758 while (rd32(hw, cq->sq.head) != ntc) { in ice_clean_sq()
760 "ntc %d head %d.\n", ntc, rd32(hw, cq->sq.head)); in ice_clean_sq()
763 ntc++; in ice_clean_sq()
764 if (ntc == sq->count) in ice_clean_sq()
765 ntc = 0; in ice_clean_sq()
766 desc = ICE_CTL_Q_DESC(*sq, ntc); in ice_clean_sq()
767 details = ICE_CTL_Q_DETAILS(*sq, ntc); in ice_clean_sq()
[all …]
/kernel/linux/linux-4.19/drivers/hwmon/
Dntc_thermistor.c2 * ntc_thermistor.c - NTC Thermistors
64 * The following compensation tables are from the specification of Murata NTC
215 * The following compensation table is from the specification of EPCOS NTC
300 /* Usage of vendor name "ntc" is deprecated */
301 { .compatible = "ntc,ncp15wb473",
303 { .compatible = "ntc,ncp18wb473",
305 { .compatible = "ntc,ncp21wb473",
307 { .compatible = "ntc,ncp03wb473",
309 { .compatible = "ntc,ncp15wl333",
549 ATTRIBUTE_GROUPS(ntc);
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dntc_thermistor.c3 * 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 …]
/kernel/linux/linux-4.19/drivers/power/supply/
Dtps65217_charger.c50 * 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()
/kernel/linux/linux-5.10/drivers/power/supply/
Dtps65217_charger.c50 * 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()
/kernel/linux/linux-4.19/include/linux/power/
Dsmb347-charger.h83 * device data sheet and assuming NTC beta value is %3750. Even if this is
85 * corresponding NTC beta values with the help of table %2 in the data
86 * sheet. So for example if NTC beta is %3375 and we want to program hard

123456