Home
last modified time | relevance | path

Searched refs:chrg (Results 1 – 16 of 16) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/power/battery/
H A Dbat_trats.c23 if (bat->chrg->chrg_state(p_bat->chrg, PMIC_CHARGER_ENABLE, 450)) in power_battery_charge()
26 for (k = 0; bat->chrg->chrg_bat_present(p_bat->chrg) && in power_battery_charge()
27 bat->chrg->chrg_type(p_bat->muic) && in power_battery_charge()
46 bat->chrg->chrg_state(p_bat->chrg, PMIC_CHARGER_DISABLE, 0); in power_battery_charge()
57 bat_->pbat->chrg = chrg_; in power_battery_init_trats()
61 bat_->chrg = chrg_->chrg; in power_battery_init_trats()
62 bat_->chrg->chrg_type = muic_->chrg->chrg_type; in power_battery_init_trats()
H A Dbat_trats2.c20 if (bat->chrg->chrg_state(p_bat->chrg, PMIC_CHARGER_ENABLE, 450)) in power_battery_charge()
32 bat_->pbat->chrg = chrg_; in power_battery_init_trats2()
36 bat_->chrg = chrg_->chrg; in power_battery_init_trats2()
37 bat_->chrg->chrg_type = muic_->chrg->chrg_type; in power_battery_init_trats2()
/OK3568_Linux_fs/u-boot/board/samsung/trats2/
H A Dtrats2.c134 int chrg; in exynos_power_init() local
161 if (p_chrg->chrg->chrg_bat_present(p_chrg) == 0) in exynos_power_init()
177 chrg = p_muic->chrg->chrg_type(p_muic); in exynos_power_init()
178 debug("CHARGER TYPE: %d\n", chrg); in exynos_power_init()
180 if (!p_chrg->chrg->chrg_bat_present(p_chrg)) { in exynos_power_init()
187 if (pb->bat->state == CHARGE && chrg == CHARGER_USB) in exynos_power_init()
278 return !!muic->chrg->chrg_type(muic); in g_dnl_board_usb_cable_connected()
/OK3568_Linux_fs/u-boot/board/samsung/trats/
H A Dtrats.c118 int chrg, ret; in exynos_power_init() local
167 chrg = p_muic->chrg->chrg_type(p_muic); in exynos_power_init()
168 debug("CHARGER TYPE: %d\n", chrg); in exynos_power_init()
170 if (!p_chrg->chrg->chrg_bat_present(p_chrg)) { in exynos_power_init()
177 if (pb->bat->state == CHARGE && chrg == CHARGER_USB) in exynos_power_init()
301 return !!muic->chrg->chrg_type(muic); in g_dnl_board_usb_cable_connected()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/
H A Dtps65090.txt7 -ti,enable-low-current-chrg: Enables charging when a low current is detected
16 ti,enable-low-current-chrg;
H A Dlt3651-charger.txt11 - lltc,chrg-gpios: Connect to CHRG output. See remark below.
28 lltc,chrg-gpios = <&gpio0 63 GPIO_ACTIVE_LOW>;
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/power/
H A Dtps65090.txt7 -ti,enable-low-current-chrg: Enables charging when a low current is detected
16 ti,enable-low-current-chrg;
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dwm8350_power.c52 u16 sm, ov, co, chrg; in wm8350_get_supplies() local
58 chrg = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_2); in wm8350_get_supplies()
64 chrg &= WM8350_CHG_ISEL_MASK; in wm8350_get_supplies()
76 && (ov & WM8350_USB_LIMIT_OVRDE) && (chrg == 0)) in wm8350_get_supplies()
/OK3568_Linux_fs/u-boot/include/power/
H A Dpmic.h64 struct pmic *chrg, *fg, *muic; member
80 struct power_chrg *chrg; member
/OK3568_Linux_fs/u-boot/drivers/power/mfd/
H A Dmuic_max77693.c74 p->chrg = &power_chrg_muic_ops; in power_muic_init()
H A Dpmic_max77693.c93 p->chrg = &power_chrg_pmic_ops; in pmic_init_max77693()
/OK3568_Linux_fs/u-boot/drivers/power/pmic/
H A Dmuic_max8997.c72 p->chrg = &power_chrg_muic_ops; in power_muic_init()
H A Dpmic_max8997.c105 p->chrg = &power_chrg_pmic_ops; in pmic_init()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/leds/
H A Dleds-pwm.txt46 label = "omap4:green:chrg";
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Domap4-sdp.dts100 label = "omap4:green:chrg";
H A Dtegra114-dalmore.dts834 ti,enable-low-current-chrg;