Home
last modified time | relevance | path

Searched full:rsense (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/temperature/
Dadi,ltc2983.yaml199 adi,rsense-handle:
201 Phandle pointing to a rsense object associated with this RTD.
207 property to 5 means 4 wires with Kelvin Rsense.
211 adi,rsense-share:
213 Boolean property which enables Rsense sharing, where one sense
252 - adi,rsense-handle
255 adi,current-rotate: [ "adi,rsense-share" ]
279 adi,rsense-handle:
281 Phandle pointing to a rsense object associated with this
290 adi,rsense-share:
[all …]
/kernel/linux/linux-6.6/drivers/power/supply/
Dmax1721x_battery.c32 #define MAX1721X_REG_NRSENSE 0x1CF /* RSense in 10^-5 Ohm */
65 unsigned int rsense; /* in tenths uOhm */ member
108 * RSense stored in 10^-5 Ohm, so measurement voltage must be
174 /* We need signed current, so must cast info->rsense to signed type */ in max1721x_battery_get_property()
178 max172xx_current_to_voltage(reg) / (int)info->rsense; in max1721x_battery_get_property()
183 max172xx_current_to_voltage(reg) / (int)info->rsense; in max1721x_battery_get_property()
367 /* rsense init */ in devm_w1_max1721x_add_device()
368 info->rsense = 0; in devm_w1_max1721x_add_device()
369 if (regmap_read(info->regmap, MAX1721X_REG_NRSENSE, &info->rsense)) { in devm_w1_max1721x_add_device()
370 dev_err(info->w1_dev, "Can't read RSense. Hardware error.\n"); in devm_w1_max1721x_add_device()
[all …]
/kernel/linux/linux-5.10/drivers/power/supply/
Dmax1721x_battery.c32 #define MAX1721X_REG_NRSENSE 0x1CF /* RSense in 10^-5 Ohm */
65 unsigned int rsense; /* in tenths uOhm */ member
108 * RSense stored in 10^-5 Ohm, so mesaurment voltage must be
174 /* We need signed current, so must cast info->rsense to signed type */ in max1721x_battery_get_property()
178 max172xx_current_to_voltage(reg) / (int)info->rsense; in max1721x_battery_get_property()
183 max172xx_current_to_voltage(reg) / (int)info->rsense; in max1721x_battery_get_property()
367 /* rsense init */ in devm_w1_max1721x_add_device()
368 info->rsense = 0; in devm_w1_max1721x_add_device()
369 if (regmap_read(info->regmap, MAX1721X_REG_NRSENSE, &info->rsense)) { in devm_w1_max1721x_add_device()
370 dev_err(info->w1_dev, "Can't read RSense. Hardware error.\n"); in devm_w1_max1721x_add_device()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/temperature/
Dadi,ltc2983.yaml217 adi,rsense-handle:
229 adi,rsense-share:
265 - adi,rsense-handle
281 adi,current-rotate: [ "adi,rsense-share" ]
312 adi,rsense-handle:
320 adi,rsense-share:
362 - adi,rsense-handle
365 adi,current-rotate: [ "adi,rsense-share" ]
438 "^rsense@":
453 adi,rsense-val-milli-ohms:
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/afe/
Dtemperature-transducer.yaml25 V(T) = Rsense * Isense(T)
27 T = 1 / (Rsense * alpha) * (V + offset * Rsense * alpha)
29 When using a temperature to voltage transducer, Rsense is set to 1.
46 | Rsense | |
/kernel/linux/linux-5.10/drivers/iio/temperature/
Dltc2983.c112 /* cold junction for thermocouples and rsense for rtd's and thermistor's */
581 struct ltc2983_rsense *rsense = to_rsense(sensor); in ltc2983_r_sense_assign_chan() local
584 chan_val = LTC2983_R_SENSE_VAL(rsense->r_sense_val); in ltc2983_r_sense_assign_chan()
706 phandle = of_parse_phandle(child, "adi,rsense-handle", 0); in ltc2983_rtd_new()
708 dev_err(dev, "Property adi,rsense-handle missing or invalid"); in ltc2983_rtd_new()
731 /* 4 wires, Kelvin Rsense */ in ltc2983_rtd_new()
741 if (of_property_read_bool(child, "adi,rsense-share")) { in ltc2983_rtd_new()
742 /* Current rotation is only available with rsense sharing */ in ltc2983_rtd_new()
759 * For 4wire RTDs with kelvin rsense, the rsense channel cannot be in ltc2983_rtd_new()
773 /* kelvin rsense*/ in ltc2983_rtd_new()
[all …]
/kernel/linux/linux-6.6/drivers/iio/temperature/
Dltc2983.c127 /* cold junction for thermocouples and rsense for rtd's and thermistor's */
619 struct ltc2983_rsense *rsense = to_rsense(sensor); in ltc2983_r_sense_assign_chan() local
622 chan_val = LTC2983_R_SENSE_VAL(rsense->r_sense_val); in ltc2983_r_sense_assign_chan()
760 ref = fwnode_find_reference(child, "adi,rsense-handle", 0); in ltc2983_rtd_new()
762 dev_err(dev, "Property adi,rsense-handle missing or invalid"); in ltc2983_rtd_new()
785 /* 4 wires, Kelvin Rsense */ in ltc2983_rtd_new()
795 if (fwnode_property_read_bool(child, "adi,rsense-share")) { in ltc2983_rtd_new()
796 /* Current rotation is only available with rsense sharing */ in ltc2983_rtd_new()
813 * For 4wire RTDs with kelvin rsense, the rsense channel cannot be in ltc2983_rtd_new()
827 /* kelvin rsense*/ in ltc2983_rtd_new()
[all …]
/kernel/linux/linux-6.6/drivers/iio/adc/
Dqcom-spmi-iadc.c98 * @rsense: Values of the internal and external sense resister in micro Ohms.
110 u32 rsense[2]; member
331 isense_ua = vsense_uv / iadc->rsense[chan->channel]; in iadc_read_raw()
435 &iadc->rsense[IADC_EXT_RSENSE]); in iadc_rsense_read()
437 iadc->rsense[IADC_EXT_RSENSE] = IADC_INT_RSENSE_IDEAL_VALUE; in iadc_rsense_read()
439 if (!iadc->rsense[IADC_EXT_RSENSE]) { in iadc_rsense_read()
461 iadc->rsense[IADC_INT_RSENSE] = int_sense; in iadc_rsense_read()
522 iadc->rsense[IADC_INT_RSENSE], in iadc_probe()
523 iadc->rsense[IADC_EXT_RSENSE]); in iadc_probe()
/kernel/linux/linux-5.10/drivers/iio/adc/
Dqcom-spmi-iadc.c99 * @rsense: Values of the internal and external sense resister in micro Ohms.
111 u32 rsense[2]; member
332 isense_ua = vsense_uv / iadc->rsense[chan->channel]; in iadc_read_raw()
436 &iadc->rsense[IADC_EXT_RSENSE]); in iadc_rsense_read()
438 iadc->rsense[IADC_EXT_RSENSE] = IADC_INT_RSENSE_IDEAL_VALUE; in iadc_rsense_read()
440 if (!iadc->rsense[IADC_EXT_RSENSE]) { in iadc_rsense_read()
462 iadc->rsense[IADC_INT_RSENSE] = int_sense; in iadc_rsense_read()
523 iadc->rsense[IADC_INT_RSENSE], in iadc_probe()
524 iadc->rsense[IADC_EXT_RSENSE]); in iadc_probe()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Daspeed-bmc-arm-centriq2400-rep.dts188 Rsense = <500>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Drohm,bd71828-pmic.yaml52 External sense resistor (RSENSE in data sheet) should be used. If some
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Drohm,bd71815-pmic.yaml58 resistor (RSENSE in data sheet) should be used. If something other
Drohm,bd71828-pmic.yaml58 External sense resistor (RSENSE in data sheet) should be used. If some
/kernel/linux/linux-6.6/arch/arm/boot/dts/nuvoton/
Dnuvoton-npcm750-runbmc-olympus.dts401 Rsense = <500>;
/kernel/linux/linux-6.6/sound/soc/codecs/
Drt1305.c65 { RT1305_ADC_SET_1, 0x170f }, /* 0.2 ohm RSense*/
/kernel/linux/linux-5.10/sound/soc/codecs/
Drt1305.c67 { RT1305_ADC_SET_1, 0x170f }, /* 0.2 ohm RSense*/