/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | samsung,battery.yaml | 25 description: 3.8V 1500 mAh battery used in Samsung GT-I8190 27 description: 3.8V 1500 mAh battery used in Samsung SGH-T599 and SGH-I407 29 description: 3.8V 1500 mAh battery used in Samsung GT-I8160 31 description: 3.8V 1700 mAh battery used in Samsung GT-S7710 33 description: 3.8V 1500 mAh battery used in Samsung GT-I9070 35 description: 3.8V 2000 mAh battery used in Samsung GT-I8530
|
H A D | maxim,ds2760.yaml | 37 The rated capacity of the battery, in mAh.
|
/openbmc/linux/drivers/power/supply/ |
H A D | ab8500_fg.c | 127 int mah; member 378 * @sample: the capacity in mAh to add to the filter 436 * @sample: the capacity in mAh to fill the filter with 438 * The capacity filter is filled with a capacity in mAh 999 * ab8500_fg_convert_mah_to_permille() - Capacity in mAh to permille 1001 * @cap_mah: capacity in mAh 1003 * Converts capacity in mAh to capacity in permille 1011 * ab8500_fg_convert_permille_to_mah() - Capacity in permille to mAh 1015 * Converts capacity in permille to capacity in mAh 1023 * ab8500_fg_convert_mah_to_uwh() - Capacity in mAh to uWh [all …]
|
H A D | ds2760_battery.c | 44 MODULE_PARM_DESC(rated_capacity, "rated battery capacity, 10*mAh or index"); 99 int accum_current_raw; /* units of 0.25 mAh */ 220 /* Some batteries have their rated capacity stored a N * 10 mAh, while 295 /* DS2760 reports accumulated current in signed units of 0.25mAh. */ in ds2760_battery_read_status() 370 /* acr is in units of 0.25 mAh */ in ds2760_battery_set_current_accum() 716 rated_capacity = tmp / 10; /* property is in mAh */ in w1_ds2760_add_slave()
|
H A D | sc27xx_fuel_gauge.c | 82 * @total_cap: the total capacity of the battery in mAh 83 * @init_cap: the initial capacity of the battery in mAh 435 * Convert coulomb counter to delta capacity (mAh), and set multiplier in sc27xx_fgu_get_capacity() 946 * Get current capacity (mAh) = battery total capacity (mAh) * in sc27xx_fgu_cap_to_clbcnt() 952 * Convert current capacity (mAh) to coulomb counter according to the in sc27xx_fgu_cap_to_clbcnt() 953 * formula: 1 mAh =3.6 coulomb. in sc27xx_fgu_cap_to_clbcnt()
|
H A D | rk817_charger.c | 79 * capacity depending upon wear. BSP kernel saves to nvram in mAh, 80 * so this value is in mAh not the standard uAh. 221 * write the remaining capacity in mah to the nvram location used by in rk817_record_battery_nvram_values() 230 /* write the fcc_mah in mAh, just as the BSP kernel does. */ in rk817_record_battery_nvram_values() 713 * practical for this device (BSP Kernel assumes 500mAH or less) for in rk817_read_battery_nvram_values()
|
H A D | 88pm860x_battery.c | 117 int total_chg; /* mAh(3.6C) */ 118 int total_dischg; /* mAh(3.6C) */ 123 * The first number is mAh(=3.6C), and the second number is percent point. 300 * charge(mAh) = count * 1.6984 * 1e(-8) in calc_ccnt()
|
H A D | twl4030_madc_battery.c | 157 /* in mAh */ in twl4030_madc_bat_get_property()
|
H A D | ab8500_bmdata.c | 156 /* The default capacity is 612 mAh for unknown batteries */ in ab8500_bm_of_probe()
|
H A D | qcom_battmgr.c | 140 * 1: mAh 190 /* mWh or mAh, based on info->power_unit */
|
H A D | samsung-sdi-battery.c | 799 /* CHECKME: vendor uses the 1500 mAh table, check against datasheet */ 915 dev_info(dev, "Samsung SDI %s battery %d mAh\n", in samsung_sdi_battery_get_info()
|
/openbmc/linux/drivers/infiniband/hw/mlx4/ |
H A D | ah.c | 172 struct mlx4_ib_ah *mah = to_mah(ah); in mlx4_ib_create_ah_slave() local 185 mah->av.ib.port_pd &= cpu_to_be32(0x7FFFFFFF); in mlx4_ib_create_ah_slave() 188 memcpy(mah->av.eth.s_mac, s_mac, 6); in mlx4_ib_create_ah_slave() 192 mah->av.eth.vlan = cpu_to_be16(vlan_tag); in mlx4_ib_create_ah_slave()
|
/openbmc/u-boot/drivers/power/mfd/ |
H A D | fg_max77693.c | 93 printf(" voltage: %d.%6.6d [V] (expected to be %d [mAh])\n", in power_check_battery()
|
/openbmc/linux/Documentation/wmi/devices/ |
H A D | dell-wmi-ddv.rst | 99 Returns the design capacity of the battery in mAh as an u16. 104 Returns the full charge capacity of the battery in mAh as an u16.
|
/openbmc/u-boot/drivers/power/fuel_gauge/ |
H A D | fg_max17042.c | 243 printf(" voltage: %d.%6.6d [V] (expected to be %d [mAh])\n", in power_check_battery()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
H A D | ipoib.c | 703 struct mlx5_ib_ah *mah = to_mah(address); in mlx5i_xmit() local 706 mlx5i_sq_xmit(sq, skb, &mah->av, dqpn, ipriv->qkey, netdev_xmit_more()); in mlx5i_xmit()
|
/openbmc/linux/include/linux/ |
H A D | power_supply.h | 719 * when it is cold. You can put in 1500mAh and only get 800mAh out before the
|
/openbmc/linux/drivers/pwm/ |
H A D | pwm-rz-mtu3.c | 8 …* https://www.renesas.com/eu/en/document/mah/rzg2l-group-rzg2lc-group-users-manual-hardware-0?lang…
|
/openbmc/linux/drivers/acpi/ |
H A D | battery.c | 77 * switches between mWh and mAh depending on whether the system 78 * is running on battery or not. When mAh is the unit, most
|
/openbmc/linux/include/linux/platform_data/ |
H A D | cros_ec_commands.h | 6240 * @design_capacity: Battery Design Capacity (mAh) 6277 * @remaining_capacity: Remaining capacity (mAh) 6278 * @full_capacity: Capacity (mAh, might change occasionally)
|