Lines Matching refs:charger_connected
184 int charger_connected; member
427 if (!di->usb.charger_connected && in ab8500_power_supply_changed()
428 !di->ac.charger_connected && in ab8500_power_supply_changed()
433 (di->ac.charger_connected || in ab8500_power_supply_changed()
434 di->usb.charger_connected)) { in ab8500_power_supply_changed()
445 if (connected != di->usb.charger_connected) { in ab8500_charger_set_usb_connected()
447 di->usb.charger_connected = connected; in ab8500_charger_set_usb_connected()
489 if (di->ac.charger_connected) { in ab8500_charger_get_ac_voltage()
544 if (di->usb.charger_connected) { in ab8500_charger_get_vbus_voltage()
1188 if (!di->ac.charger_connected) in ab8500_charger_set_current()
1197 if (!di->usb.charger_connected) in ab8500_charger_set_current()
1208 if (!di->usb.charger_connected && !di->ac.charger_connected) in ab8500_charger_set_current()
1418 if (!di->ac.charger_connected) { in ab8500_charger_ac_en()
1594 if (!di->usb.charger_connected) { in ab8500_charger_usb_en()
1748 if (!di->usb.charger_connected) in ab8500_charger_usb_check_enable()
1797 if (!di->ac.charger_connected) in ab8500_charger_ac_check_enable()
2097 di->ac.charger_connected = 1; in ab8500_charger_ac_work()
2100 di->ac.charger_connected = 0; in ab8500_charger_ac_work()
2709 if (di->usb.charger_connected) in ab8500_charger_vbus_drop_end_work()
2936 val->intval = di->ac.charger_connected; in ab8500_charger_ac_get_property()
3005 val->intval = di->usb.charger_connected; in ab8500_charger_usb_get_property()
3630 di->ac.charger_connected = 1; in ab8500_charger_probe()