linux/drivers/hwmon/pmbus
Josh Lehan 8ba75b2028 hwmon: (pmbus/core) Use s64 instead of long for calculations
Using s64 type, instead of long type, for internal calculations and for
the sysfs interface.

This allows 64-bit values to appear correctly on 32-bit kernels.
As wattage is reported in microwatts, monitoring a power supply over
2KW requires this.

Although it may seem unlikely to run a 32-bit kernel on such a large
machine, enterprise servers often include a BMC, and the BMC might be
running a 32-bit kernel.

Signed-off-by: Josh Lehan <krellan@google.com>
[groeck: Removed Change-Id and other tags, reformatted description]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2020-07-24 07:44:57 -07:00
..
Kconfig hwmon: (pmbus/max20730) Add max20710 support 2020-07-24 07:44:18 -07:00
Makefile hwmon: (pmbus) Driver for Maxim MAX16601 2020-05-22 06:28:38 -07:00
adm1275.c hwmon: (adm1275) Enable adm1278 ADM1278_TEMP1_EN 2020-07-19 16:25:21 -07:00
bel-pfe.c hwmon: (pmbus) add driver for BEL PFE1100 and PFE3000 2019-11-06 14:37:19 -08:00
ibm-cffps.c hwmon: (pmbus/ibm-cffps) Add another PSU CCIN to version detection 2020-03-15 06:38:59 -07:00
inspur-ipsps.c hwmon: pmbus: Add Inspur Power System power supply driver 2019-09-03 12:47:17 -07:00
ir35221.c hwmon: (pmbus) Add 'phase' parameter where needed for multi-phase support 2020-03-08 20:35:47 -07:00
ir38064.c hwmon: (pmbus/ir38064) Add driver for Infineon IR38064 Voltage Regulator 2019-04-15 17:19:53 -07:00
irps5401.c hwmon: (pmbus) Add Infineon IRPS5401 driver 2019-06-23 18:33:01 -07:00
isl68137.c hwmon: (pmbus/isl68137) Fix up chip IDs 2020-04-12 15:12:51 -07:00
lm25066.c hwmon: (pmbus) Add 'phase' parameter where needed for multi-phase support 2020-03-08 20:35:47 -07:00
ltc2978.c hwmon: (pmbus) Add 'phase' parameter where needed for multi-phase support 2020-03-08 20:35:47 -07:00
ltc3815.c hwmon: (pmbus) Add 'phase' parameter where needed for multi-phase support 2020-03-08 20:35:47 -07:00
max8688.c hwmon: (pmbus) Add 'phase' parameter where needed for multi-phase support 2020-03-08 20:35:47 -07:00
max16064.c hwmon: (pmbus) Add 'phase' parameter where needed for multi-phase support 2020-03-08 20:35:47 -07:00
max16601.c hwmon: (pmbus) Driver for Maxim MAX16601 2020-05-22 06:28:38 -07:00
max20730.c hwmon: (pmbus/max20730) Add max20710 support 2020-07-24 07:44:18 -07:00
max20751.c hwmon: (pmbus/core) Add support for vid mode detection per page bases 2020-01-23 13:15:10 -08:00
max31785.c hwmon: (pmbus) Add 'phase' parameter where needed for multi-phase support 2020-03-08 20:35:47 -07:00
max34440.c hwmon: (pmbus) Add 'phase' parameter where needed for multi-phase support 2020-03-08 20:35:47 -07:00
pmbus.c hwmon: (pmbus) Add 'phase' parameter where needed for multi-phase support 2020-03-08 20:35:47 -07:00
pmbus.h hwmon: (pmbus) Implement multi-phase support 2020-03-08 20:35:47 -07:00
pmbus_core.c hwmon: (pmbus/core) Use s64 instead of long for calculations 2020-07-24 07:44:57 -07:00
pxe1610.c hwmon: (pmbus/core) Add support for vid mode detection per page bases 2020-01-23 13:15:10 -08:00
tps40422.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
tps53679.c hwmon: (pmbus/tps53679) Add support for TPS53647 and TPS53667 2020-03-08 20:35:47 -07:00
ucd9000.c hwmon: (pmbus) Add 'phase' parameter where needed for multi-phase support 2020-03-08 20:35:47 -07:00
ucd9200.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
xdpe12284.c hwmon: (pmbus) Add 'phase' parameter where needed for multi-phase support 2020-03-08 20:35:47 -07:00
zl6100.c hwmon: (pmbus) Add 'phase' parameter where needed for multi-phase support 2020-03-08 20:35:47 -07:00