Searched refs:charger_type (Results 1 – 7 of 7) sorted by relevance
170 int charger_type; member249 bat->charger_type = DA9052_CHARGER; in da9052_bat_check_status()273 bat->charger_type = DA9052_CHARGER; in da9052_bat_check_status()276 bat->charger_type = DA9052_NOCHARGER; in da9052_bat_check_status()513 (bat->charger_type == DA9052_NOCHARGER) ? 0 : 1; in da9052_bat_get_property()601 bat->charger_type = DA9052_NOCHARGER; in da9052_bat_probe()
67 enum ab8500_chargers charger_type; member333 if (di->chg_info.charger_type & USB_CHG) { in ab8500_chargalg_check_charger_enable()337 } else if (di->chg_info.charger_type & AC_CHG) { in ab8500_chargalg_check_charger_enable()358 if (di->chg_info.charger_type != AC_CHG) { in ab8500_chargalg_check_charger_connection()359 di->chg_info.charger_type = AC_CHG; in ab8500_chargalg_check_charger_connection()364 di->chg_info.charger_type = USB_CHG; in ab8500_chargalg_check_charger_connection()368 di->chg_info.charger_type = NO_CHG; in ab8500_chargalg_check_charger_connection()388 switch (di->chg_info.charger_type) { in ab8500_chargalg_start_safety_timer()543 di->chg_info.charger_type & AC_CHG) { in ab8500_chargalg_update_chg_curr()555 di->chg_info.charger_type & USB_CHG) { in ab8500_chargalg_update_chg_curr()[all …]
549 unsigned int charger_type, current_ua; in smb2_status_change_work() local562 rc = smb2_apsd_get_charger_type(chip, &charger_type); in smb2_status_change_work()582 switch (charger_type) { in smb2_status_change_work()
192 int charger_type, ret; in lc824206xa_charger_detect() local194 charger_type = lc824206xa_read_reg(data, REG_CHARGER_TYPE); in lc824206xa_charger_detect()195 if (charger_type < 0) in lc824206xa_charger_detect()198 dev_dbg(&data->client->dev, "charger type 0x%02x\n", charger_type); in lc824206xa_charger_detect()200 switch (charger_type) { in lc824206xa_charger_detect()240 dev_warn(&data->client->dev, "Unknown charger type: 0x%02x\n", charger_type); in lc824206xa_charger_detect()
46 DPTF_POWER_SHOW(charger_type, CTYP)57 static DEVICE_ATTR_RO(charger_type);
27 charger_type
1 What: /sys/bus/platform/devices/INT3407:00/dptf_power/charger_type