Home
last modified time | relevance | path

Searched refs:shunt (Results 26 – 50 of 109) sorted by relevance

12345

/openbmc/linux/Documentation/devicetree/bindings/hwmon/
H A Dlltc,ltc4151.yaml19 shunt-resistor-micro-ohms:
39 shunt-resistor-micro-ohms = <1500>;
H A Dti,tps23861.yaml28 shunt-resistor-micro-ohms:
49 shunt-resistor-micro-ohms = <255000>;
H A Dadi,adm1275.yaml36 shunt-resistor-micro-ohms:
121 shunt-resistor-micro-ohms = <500>;
/openbmc/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra186-p3310.dtsi79 shunt-resistor-micro-ohms = <10000>;
85 shunt-resistor-micro-ohms = <10000>;
91 shunt-resistor-micro-ohms = <10000>;
104 shunt-resistor-micro-ohms = <5000>;
110 shunt-resistor-micro-ohms = <10000>;
116 shunt-resistor-micro-ohms = <10000>;
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-adc-max96115 Description: The value of the shunt resistor used to compute power drain on
12 Description: The value of the shunt resistor used to compute current flowing
/openbmc/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-facebook-harma.dts196 shunt-resistor = <1000>;
202 shunt-resistor = <1000>;
208 shunt-resistor = <1000>;
214 shunt-resistor = <1000>;
251 shunt-resistor = <1000>;
257 shunt-resistor = <1000>;
263 shunt-resistor = <1000>;
269 shunt-resistor = <1000>;
327 shunt-resistor-micro-ohms = <250>;
H A Daspeed-bmc-facebook-catalina.dts410 shunt-resistor = <500>;
415 shunt-resistor = <500>;
420 shunt-resistor = <500>;
455 shunt-resistor-micro-ohms = <200>;
460 shunt-resistor-micro-ohms = <200>;
639 shunt-resistor = <2000>;
644 shunt-resistor = <2000>;
649 shunt-resistor = <2000>;
654 shunt-resistor = <2000>;
H A Daspeed-bmc-asus-x4tf.dts280 shunt-resistor = <2>;
362 shunt-resistor = <2>;
368 shunt-resistor = <5>;
455 shunt-resistor = <5>;
H A Daspeed-bmc-facebook-yosemite4.dts211 shunt-resistor-micro-ohms = <500>;
257 shunt-resistor-micro-ohms = <500>;
303 shunt-resistor-micro-ohms = <500>;
349 shunt-resistor-micro-ohms = <500>;
395 shunt-resistor-micro-ohms = <500>;
441 shunt-resistor-micro-ohms = <500>;
487 shunt-resistor-micro-ohms = <500>;
533 shunt-resistor-micro-ohms = <500>;
/openbmc/linux/Documentation/devicetree/bindings/hwmon/pmbus/
H A Dti,lm25066.yaml32 shunt-resistor-micro-ohms:
52 shunt-resistor-micro-ohms = <675>;
/openbmc/linux/drivers/hwmon/
H A Dina209.c491 u32 shunt; in ina209_init_client() local
507 shunt = pdata->shunt_uohms; in ina209_init_client()
509 &shunt)) { in ina209_init_client()
510 if (shunt == 0) in ina209_init_client()
513 shunt = data->calibration_orig ? in ina209_init_client()
526 clamp_val(40960000 / shunt, 1, 65535)); in ina209_init_client()
/openbmc/u-boot/arch/arm/dts/
H A Dfsl-ls1012a-qds.dtsi87 shunt-resistor = <1000>;
93 shunt-resistor = <1000>;
H A Dfsl-ls1043a-qds.dtsi97 shunt-resistor = <1000>;
103 shunt-resistor = <1000>;
H A Dls1021a-qds.dtsi80 shunt-resistor = <1000>;
86 shunt-resistor = <1000>;
/openbmc/linux/drivers/hwmon/pmbus/
H A Dlm25066.c467 u32 shunt; in lm25066_probe() local
548 if (of_property_read_u32(client->dev.of_node, "shunt-resistor-micro-ohms", &shunt)) in lm25066_probe()
549 shunt = 1000; in lm25066_probe()
551 info->m[PSC_CURRENT_IN] = info->m[PSC_CURRENT_IN] * shunt / 1000; in lm25066_probe()
552 info->m[PSC_POWER] = info->m[PSC_POWER] * shunt / 1000; in lm25066_probe()
H A Dadm1275.c520 u32 shunt; in adm1275_probe() local
576 "shunt-resistor-micro-ohms", &shunt)) in adm1275_probe()
577 shunt = 1000; /* 1 mOhm if not set via DT */ in adm1275_probe()
579 if (shunt == 0) in adm1275_probe()
834 coefficients[cindex].m * shunt / 1000; in adm1275_probe()
840 coefficients[pindex].m * shunt / 1000; in adm1275_probe()
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-ls1088a-qds.dts70 shunt-resistor = <1000>;
76 shunt-resistor = <1000>;
H A Dfsl-ls208xa-qds.dtsi129 shunt-resistor = <500>;
135 shunt-resistor = <1000>;
/openbmc/linux/arch/powerpc/boot/dts/fsl/
H A Dt4240qds.dts418 shunt-resistor = <1000>;
424 shunt-resistor = <1000>;
430 shunt-resistor = <1000>;
436 shunt-resistor = <1000>;
442 shunt-resistor = <1000>;
448 shunt-resistor = <1000>;
H A Dp5020ds.dts145 shunt-resistor = <1000>;
150 shunt-resistor = <1000>;
155 shunt-resistor = <1000>;
160 shunt-resistor = <1000>;
H A Dp3041ds.dts145 shunt-resistor = <1000>;
150 shunt-resistor = <1000>;
155 shunt-resistor = <1000>;
160 shunt-resistor = <1000>;
H A Dp5040ds.dts154 shunt-resistor = <1000>;
159 shunt-resistor = <1000>;
164 shunt-resistor = <1000>;
169 shunt-resistor = <1000>;
/openbmc/linux/drivers/iio/afe/
H A Diio-rescale.c364 u32 shunt; in rescale_current_sense_shunt_props() local
369 &shunt); in rescale_current_sense_shunt_props()
375 factor = gcd(shunt, 1000000); in rescale_current_sense_shunt_props()
377 rescale->denominator = shunt / factor; in rescale_current_sense_shunt_props()
/openbmc/linux/arch/arm/boot/dts/nxp/ls/
H A Dls1021a-iot.dts162 shunt-resistor = <1000>;
168 shunt-resistor = <1000>;
H A Dls1021a-twr.dts124 shunt-resistor = <1000>;
130 shunt-resistor = <1000>;

12345