/openbmc/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | lltc,ltc4151.yaml | 19 shunt-resistor-micro-ohms: 39 shunt-resistor-micro-ohms = <1500>;
|
H A D | ti,tps23861.yaml | 28 shunt-resistor-micro-ohms: 49 shunt-resistor-micro-ohms = <255000>;
|
H A D | adi,adm1275.yaml | 36 shunt-resistor-micro-ohms: 121 shunt-resistor-micro-ohms = <500>;
|
/openbmc/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra186-p3310.dtsi | 79 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 D | sysfs-bus-iio-adc-max9611 | 5 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 D | aspeed-bmc-facebook-harma.dts | 196 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 D | aspeed-bmc-facebook-catalina.dts | 410 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 D | aspeed-bmc-asus-x4tf.dts | 280 shunt-resistor = <2>; 362 shunt-resistor = <2>; 368 shunt-resistor = <5>; 455 shunt-resistor = <5>;
|
H A D | aspeed-bmc-facebook-yosemite4.dts | 211 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 D | ti,lm25066.yaml | 32 shunt-resistor-micro-ohms: 52 shunt-resistor-micro-ohms = <675>;
|
/openbmc/linux/drivers/hwmon/ |
H A D | ina209.c | 491 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 D | fsl-ls1012a-qds.dtsi | 87 shunt-resistor = <1000>; 93 shunt-resistor = <1000>;
|
H A D | fsl-ls1043a-qds.dtsi | 97 shunt-resistor = <1000>; 103 shunt-resistor = <1000>;
|
H A D | ls1021a-qds.dtsi | 80 shunt-resistor = <1000>; 86 shunt-resistor = <1000>;
|
/openbmc/linux/drivers/hwmon/pmbus/ |
H A D | lm25066.c | 467 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 D | adm1275.c | 520 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 D | fsl-ls1088a-qds.dts | 70 shunt-resistor = <1000>; 76 shunt-resistor = <1000>;
|
H A D | fsl-ls208xa-qds.dtsi | 129 shunt-resistor = <500>; 135 shunt-resistor = <1000>;
|
/openbmc/linux/arch/powerpc/boot/dts/fsl/ |
H A D | t4240qds.dts | 418 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 D | p5020ds.dts | 145 shunt-resistor = <1000>; 150 shunt-resistor = <1000>; 155 shunt-resistor = <1000>; 160 shunt-resistor = <1000>;
|
H A D | p3041ds.dts | 145 shunt-resistor = <1000>; 150 shunt-resistor = <1000>; 155 shunt-resistor = <1000>; 160 shunt-resistor = <1000>;
|
H A D | p5040ds.dts | 154 shunt-resistor = <1000>; 159 shunt-resistor = <1000>; 164 shunt-resistor = <1000>; 169 shunt-resistor = <1000>;
|
/openbmc/linux/drivers/iio/afe/ |
H A D | iio-rescale.c | 364 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 D | ls1021a-iot.dts | 162 shunt-resistor = <1000>; 168 shunt-resistor = <1000>;
|
H A D | ls1021a-twr.dts | 124 shunt-resistor = <1000>; 130 shunt-resistor = <1000>;
|