Searched refs:vbat (Results 1 – 8 of 8) sorted by relevance
/drivers/power/ |
D | ab8500_fg.c | 202 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 …]
|
D | ab8500_charger.c | 279 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 …]
|
D | bq24257_charger.c | 78 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()
|
D | pm2301_charger.h | 471 int vbat; member
|
/drivers/pinctrl/ |
D | pinctrl-as3722.c | 143 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/ |
D | nct6775.c | 981 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()
|
D | w83627ehf.c | 507 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/ |
D | phy_cmn.c | 1527 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()
|