Home
last modified time | relevance | path

Searched refs:usb_online (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/power/
Dpcf50633-charger.c34 int usb_online; member
125 if (mbc->usb_online) in pcf50633_mbc_get_status()
151 return mbc->usb_online; in pcf50633_mbc_get_usb_online_status()
269 mbc->usb_online = 1; in pcf50633_mbc_irq_handler()
271 mbc->usb_online = 0; in pcf50633_mbc_irq_handler()
319 val->intval = mbc->usb_online && in usb_get_property()
340 val->intval = mbc->usb_online && in ac_get_property()
Dmax8925_power.c75 unsigned usb_online:1; member
237 val->intval = info->usb_online; in max8925_usb_get_prop()
240 if (info->usb_online) { in max8925_usb_get_prop()
326 if (info->usb_online || info->ac_online) { in max8925_bat_get_prop()
380 info->usb_online = 0; in max8925_init_charger()
Dsmb347-charger.c136 bool usb_online; member
265 ret = smb->mains_online != dc || smb->usb_online != usb; in smb347_update_status()
267 smb->usb_online = usb; in smb347_update_status()
287 ret = smb->usb_online || smb->mains_online; in smb347_is_online()
971 val->intval = smb->usb_online; in smb347_usb_get_property()