chg_info 245 drivers/power/supply/abx500_chargalg.c struct abx500_chargalg_charger_info chg_info; chg_info 355 drivers/power/supply/abx500_chargalg.c if (di->chg_info.charger_type & USB_CHG) { chg_info 359 drivers/power/supply/abx500_chargalg.c } else if ((di->chg_info.charger_type & AC_CHG) && chg_info 377 drivers/power/supply/abx500_chargalg.c if (di->chg_info.conn_chg != di->chg_info.prev_conn_chg || chg_info 383 drivers/power/supply/abx500_chargalg.c if ((di->chg_info.conn_chg & AC_CHG) && chg_info 386 drivers/power/supply/abx500_chargalg.c if (di->chg_info.charger_type != AC_CHG) { chg_info 387 drivers/power/supply/abx500_chargalg.c di->chg_info.charger_type = AC_CHG; chg_info 390 drivers/power/supply/abx500_chargalg.c } else if ((di->chg_info.conn_chg & USB_CHG) && chg_info 393 drivers/power/supply/abx500_chargalg.c di->chg_info.charger_type = USB_CHG; chg_info 395 drivers/power/supply/abx500_chargalg.c } else if (di->chg_info.conn_chg && chg_info 399 drivers/power/supply/abx500_chargalg.c di->chg_info.charger_type = NO_CHG; chg_info 403 drivers/power/supply/abx500_chargalg.c di->chg_info.charger_type = NO_CHG; chg_info 406 drivers/power/supply/abx500_chargalg.c di->chg_info.prev_conn_chg = di->chg_info.conn_chg; chg_info 409 drivers/power/supply/abx500_chargalg.c return di->chg_info.conn_chg; chg_info 440 drivers/power/supply/abx500_chargalg.c switch (di->chg_info.charger_type) { chg_info 516 drivers/power/supply/abx500_chargalg.c di->chg_info.online_chg & AC_CHG) { chg_info 529 drivers/power/supply/abx500_chargalg.c di->chg_info.online_chg & USB_CHG) chg_info 559 drivers/power/supply/abx500_chargalg.c di->chg_info.ac_iset = iset; chg_info 560 drivers/power/supply/abx500_chargalg.c di->chg_info.ac_vset = vset; chg_info 595 drivers/power/supply/abx500_chargalg.c di->chg_info.usb_iset = iset; chg_info 596 drivers/power/supply/abx500_chargalg.c di->chg_info.usb_vset = vset; chg_info 614 drivers/power/supply/abx500_chargalg.c di->chg_info.charger_type & AC_CHG) { chg_info 622 drivers/power/supply/abx500_chargalg.c di->chg_info.ac_iset = iset; chg_info 626 drivers/power/supply/abx500_chargalg.c di->chg_info.charger_type & USB_CHG) { chg_info 634 drivers/power/supply/abx500_chargalg.c di->chg_info.usb_iset = iset; chg_info 694 drivers/power/supply/abx500_chargalg.c switch (di->chg_info.charger_type) { chg_info 768 drivers/power/supply/abx500_chargalg.c if (di->chg_info.usb_volt > di->bm->chg_params->usb_volt_max) chg_info 769 drivers/power/supply/abx500_chargalg.c di->chg_info.usb_chg_ok = false; chg_info 771 drivers/power/supply/abx500_chargalg.c di->chg_info.usb_chg_ok = true; chg_info 773 drivers/power/supply/abx500_chargalg.c if (di->chg_info.ac_volt > di->bm->chg_params->ac_volt_max) chg_info 774 drivers/power/supply/abx500_chargalg.c di->chg_info.ac_chg_ok = false; chg_info 776 drivers/power/supply/abx500_chargalg.c di->chg_info.ac_chg_ok = true; chg_info 994 drivers/power/supply/abx500_chargalg.c (di->chg_info.conn_chg & AC_CHG)) { chg_info 995 drivers/power/supply/abx500_chargalg.c di->chg_info.prev_conn_chg = chg_info 996 drivers/power/supply/abx500_chargalg.c di->chg_info.conn_chg; chg_info 997 drivers/power/supply/abx500_chargalg.c di->chg_info.conn_chg &= ~AC_CHG; chg_info 1001 drivers/power/supply/abx500_chargalg.c !(di->chg_info.conn_chg & AC_CHG)) { chg_info 1002 drivers/power/supply/abx500_chargalg.c di->chg_info.prev_conn_chg = chg_info 1003 drivers/power/supply/abx500_chargalg.c di->chg_info.conn_chg; chg_info 1004 drivers/power/supply/abx500_chargalg.c di->chg_info.conn_chg |= AC_CHG; chg_info 1010 drivers/power/supply/abx500_chargalg.c (di->chg_info.conn_chg & USB_CHG)) { chg_info 1011 drivers/power/supply/abx500_chargalg.c di->chg_info.prev_conn_chg = chg_info 1012 drivers/power/supply/abx500_chargalg.c di->chg_info.conn_chg; chg_info 1013 drivers/power/supply/abx500_chargalg.c di->chg_info.conn_chg &= ~USB_CHG; chg_info 1017 drivers/power/supply/abx500_chargalg.c !(di->chg_info.conn_chg & USB_CHG)) { chg_info 1018 drivers/power/supply/abx500_chargalg.c di->chg_info.prev_conn_chg = chg_info 1019 drivers/power/supply/abx500_chargalg.c di->chg_info.conn_chg; chg_info 1020 drivers/power/supply/abx500_chargalg.c di->chg_info.conn_chg |= USB_CHG; chg_info 1035 drivers/power/supply/abx500_chargalg.c (di->chg_info.online_chg & AC_CHG)) { chg_info 1036 drivers/power/supply/abx500_chargalg.c di->chg_info.prev_online_chg = chg_info 1037 drivers/power/supply/abx500_chargalg.c di->chg_info.online_chg; chg_info 1038 drivers/power/supply/abx500_chargalg.c di->chg_info.online_chg &= ~AC_CHG; chg_info 1042 drivers/power/supply/abx500_chargalg.c !(di->chg_info.online_chg & AC_CHG)) { chg_info 1043 drivers/power/supply/abx500_chargalg.c di->chg_info.prev_online_chg = chg_info 1044 drivers/power/supply/abx500_chargalg.c di->chg_info.online_chg; chg_info 1045 drivers/power/supply/abx500_chargalg.c di->chg_info.online_chg |= AC_CHG; chg_info 1053 drivers/power/supply/abx500_chargalg.c (di->chg_info.online_chg & USB_CHG)) { chg_info 1054 drivers/power/supply/abx500_chargalg.c di->chg_info.prev_online_chg = chg_info 1055 drivers/power/supply/abx500_chargalg.c di->chg_info.online_chg; chg_info 1056 drivers/power/supply/abx500_chargalg.c di->chg_info.online_chg &= ~USB_CHG; chg_info 1060 drivers/power/supply/abx500_chargalg.c !(di->chg_info.online_chg & USB_CHG)) { chg_info 1061 drivers/power/supply/abx500_chargalg.c di->chg_info.prev_online_chg = chg_info 1062 drivers/power/supply/abx500_chargalg.c di->chg_info.online_chg; chg_info 1063 drivers/power/supply/abx500_chargalg.c di->chg_info.online_chg |= USB_CHG; chg_info 1162 drivers/power/supply/abx500_chargalg.c di->chg_info.ac_volt = ret.intval / 1000; chg_info 1165 drivers/power/supply/abx500_chargalg.c di->chg_info.usb_volt = ret.intval / 1000; chg_info 1218 drivers/power/supply/abx500_chargalg.c di->chg_info.ac_curr = chg_info 1222 drivers/power/supply/abx500_chargalg.c di->chg_info.usb_curr = chg_info 1360 drivers/power/supply/abx500_chargalg.c !di->chg_info.usb_chg_ok || chg_info 1361 drivers/power/supply/abx500_chargalg.c !di->chg_info.ac_chg_ok) { chg_info 1402 drivers/power/supply/abx500_chargalg.c di->chg_info.charger_type, chg_info 1404 drivers/power/supply/abx500_chargalg.c di->chg_info.conn_chg & AC_CHG, chg_info 1405 drivers/power/supply/abx500_chargalg.c di->chg_info.conn_chg & USB_CHG, chg_info 1406 drivers/power/supply/abx500_chargalg.c di->chg_info.online_chg & AC_CHG, chg_info 1407 drivers/power/supply/abx500_chargalg.c di->chg_info.online_chg & USB_CHG, chg_info 1410 drivers/power/supply/abx500_chargalg.c di->chg_info.ac_curr, chg_info 1411 drivers/power/supply/abx500_chargalg.c di->chg_info.usb_curr, chg_info 1412 drivers/power/supply/abx500_chargalg.c di->chg_info.ac_vset, chg_info 1413 drivers/power/supply/abx500_chargalg.c di->chg_info.ac_iset, chg_info 1414 drivers/power/supply/abx500_chargalg.c di->chg_info.usb_vset, chg_info 1415 drivers/power/supply/abx500_chargalg.c di->chg_info.usb_iset); chg_info 1474 drivers/power/supply/abx500_chargalg.c di->chg_info.usb_chg_ok && chg_info 1475 drivers/power/supply/abx500_chargalg.c di->chg_info.ac_chg_ok) chg_info 1653 drivers/power/supply/abx500_chargalg.c if (di->chg_info.conn_chg) chg_info 1922 drivers/power/supply/abx500_chargalg.c if (di->chg_info.online_chg) chg_info 1939 drivers/power/supply/abx500_chargalg.c if (di->chg_info.online_chg) chg_info 2049 drivers/power/supply/abx500_chargalg.c di->chg_info.prev_conn_chg = -1;