Home
last modified time | relevance | path

Searched refs:vbat (Results 1 – 8 of 8) sorted by relevance

/drivers/power/
Dab8500_fg.c202 int vbat; member
839 int vbat; in ab8500_fg_bat_voltage() local
842 vbat = ab8500_gpadc_convert(di->gpadc, MAIN_BAT_V); in ab8500_fg_bat_voltage()
843 if (vbat < 0) { in ab8500_fg_bat_voltage()
850 prev = vbat; in ab8500_fg_bat_voltage()
851 return vbat; in ab8500_fg_bat_voltage()
902 di->vbat = ab8500_fg_bat_voltage(di); in ab8500_fg_uncomp_volt_to_capacity()
903 return ab8500_fg_volt_to_capacity(di, di->vbat); in ab8500_fg_uncomp_volt_to_capacity()
961 int vbat = 0; in ab8500_fg_load_comp_volt_to_capacity() local
966 vbat += ab8500_fg_bat_voltage(di); in ab8500_fg_load_comp_volt_to_capacity()
[all …]
Dab8500_charger.c279 int vbat; member
1269 if (di->vbat < VBAT_TRESH_IP_CUR_RED) in ab8500_charger_set_vbus_in_curr()
1273 if (di->vbat < VBAT_TRESH_IP_CUR_RED) in ab8500_charger_set_vbus_in_curr()
1983 di->vbat = ret.intval / 1000; in ab8500_charger_get_ext_psy_data()
2016 di->old_vbat = di->vbat; in ab8500_charger_check_vbat_work()
2019 di->vbat <= VBAT_TRESH_IP_CUR_RED) || in ab8500_charger_check_vbat_work()
2021 di->vbat > VBAT_TRESH_IP_CUR_RED))) { in ab8500_charger_check_vbat_work()
2025 di->vbat, di->old_vbat); in ab8500_charger_check_vbat_work()
2031 di->old_vbat = di->vbat; in ab8500_charger_check_vbat_work()
2037 if (di->vbat < (VBAT_TRESH_IP_CUR_RED + 100) && in ab8500_charger_check_vbat_work()
[all …]
Dbq24257_charger.c78 u8 vbat; /* regulation voltage */ member
384 val->intval = bq24257_vbat_map[bq->init_data.vbat]; in bq24257_power_supply_get_property()
696 {F_VBAT, bq->init_data.vbat}, in bq24257_hw_init()
909 bq->init_data.vbat = bq24257_find_idx(property, bq24257_vbat_map, in bq24257_fw_probe()
Dpm2301_charger.h471 int vbat; member
/drivers/pinctrl/
Dpinctrl-as3722.c143 FUNCTION_GROUP(vsup-vbat-low-undebounce-out, VSUB_VBAT_UNDEB_LOW_OUT),
144 FUNCTION_GROUP(vsup-vbat-low-debounce-out, VSUB_VBAT_LOW_DEB_OUT),
/drivers/hwmon/
Dnct6775.c981 u8 vbat; member
2151 u8 vbat, diode, vbit, dbit; in store_temp_type() local
2165 vbat = nct6775_read_value(data, data->REG_VBAT) & ~vbit; in store_temp_type()
2169 vbat |= vbit; in store_temp_type()
2173 vbat |= dbit; in store_temp_type()
2178 nct6775_write_value(data, data->REG_VBAT, vbat); in store_temp_type()
4135 data->vbat = nct6775_read_value(data, data->REG_VBAT); in nct6775_suspend()
4200 nct6775_write_value(data, data->REG_VBAT, data->vbat); in nct6775_resume()
Dw83627ehf.c507 u8 vbat; member
2608 data->vbat = w83627ehf_read_value(data, W83627EHF_REG_VBAT); in w83627ehf_suspend()
2665 w83627ehf_write_value(data, W83627EHF_REG_VBAT, data->vbat); in w83627ehf_resume()
/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_cmn.c1527 s8 temp, vbat; in wlc_phy_upd_env_txpwr_rate_limits() local
1532 vbat = wlc_phy_env_measure_vbat(pi); in wlc_phy_upd_env_txpwr_rate_limits()