Searched refs:chrg (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/iio/adc/
H A Daxp288_adc.c108 AXP288_ADC_MAP("BATT_CHG_I", "axp288-chrg", "axp288-chrg-curr"),
109 AXP288_ADC_MAP("BATT_DISCHRG_I", "axp288-chrg", "axp288-chrg-d-curr"),
/linux-4.4.14/drivers/power/
H A Dwm8350_power.c55 u16 sm, ov, co, chrg; wm8350_get_supplies() local
61 chrg = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_2); wm8350_get_supplies()
67 chrg &= WM8350_CHG_ISEL_MASK; wm8350_get_supplies()
79 && (ov & WM8350_USB_LIMIT_OVRDE) && (chrg == 0)) wm8350_get_supplies()
H A Dintel_mid_battery.c495 * @chrg: charge mode to set battery charger in
502 enum batt_charge_type chrg) pmic_battery_set_charger()
507 switch (chrg) { pmic_battery_set_charger()
560 enum batt_charge_type chrg; pmic_battery_handle_intrpt() local
624 chrg = BATT_USBOTG_500MA_CHARGE; pmic_battery_handle_intrpt()
627 chrg = BATT_USBOTG_TRICKLE_CHARGE; pmic_battery_handle_intrpt()
630 if (pmic_battery_set_charger(pbi, chrg)) { pmic_battery_handle_intrpt()
501 pmic_battery_set_charger(struct pmic_power_module_info *pbi, enum batt_charge_type chrg) pmic_battery_set_charger() argument
H A Daxp288_fuel_gauge.c306 ret = pmic_read_adc_val("axp288-chrg-curr", &raw_val, info); fuel_gauge_debug_show()
309 ret = pmic_read_adc_val("axp288-chrg-d-curr", &raw_val, info); fuel_gauge_debug_show()
361 ret = pmic_read_adc_val("axp288-chrg-curr", &charge, info); fuel_gauge_get_status()
367 ret = pmic_read_adc_val("axp288-chrg-d-curr", &discharge, info); fuel_gauge_get_status()
404 ret = pmic_read_adc_val("axp288-chrg-curr", &charge, info); fuel_gauge_get_current()
407 ret = pmic_read_adc_val("axp288-chrg-d-curr", &discharge, info); fuel_gauge_get_current()
H A Dtps65090-charger.c210 prop = of_property_read_bool(np, "ti,enable-low-current-chrg"); tps65090_parse_dt_charger_data()
H A Daxp288_charger.c749 /* Setup ending condition for charging to be 10% of I(chrg) */ charger_init_hw_regs()

Completed in 198 milliseconds