Home
last modified time | relevance | path

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

/Linux-v5.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 …]
/Linux-v5.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 …]
/Linux-v5.10/drivers/iio/temperature/
Dltc2983.c110 /* cold junction for thermocouples and rsense for rtd's and thermistor's */
579 struct ltc2983_rsense *rsense = to_rsense(sensor); in ltc2983_r_sense_assign_chan() local
582 chan_val = LTC2983_R_SENSE_VAL(rsense->r_sense_val); in ltc2983_r_sense_assign_chan()
704 phandle = of_parse_phandle(child, "adi,rsense-handle", 0); in ltc2983_rtd_new()
706 dev_err(dev, "Property adi,rsense-handle missing or invalid"); in ltc2983_rtd_new()
729 /* 4 wires, Kelvin Rsense */ in ltc2983_rtd_new()
739 if (of_property_read_bool(child, "adi,rsense-share")) { in ltc2983_rtd_new()
740 /* Current rotation is only available with rsense sharing */ in ltc2983_rtd_new()
757 * For 4wire RTDs with kelvin rsense, the rsense channel cannot be in ltc2983_rtd_new()
771 /* kelvin rsense*/ in ltc2983_rtd_new()
[all …]
/Linux-v5.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()
/Linux-v5.10/arch/arm/boot/dts/
Daspeed-bmc-arm-centriq2400-rep.dts188 Rsense = <500>;
/Linux-v5.10/Documentation/devicetree/bindings/mfd/
Drohm,bd71828-pmic.yaml52 External sense resistor (RSENSE in data sheet) should be used. If some
/Linux-v5.10/sound/soc/codecs/
Drt1305.c67 { RT1305_ADC_SET_1, 0x170f }, /* 0.2 ohm RSense*/