Home
last modified time | relevance | path

Searched refs:charger_type (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/power/supply/
Dda9052-battery.c170 int charger_type; member
249 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()
Dab8500_chargalg.c67 enum ab8500_chargers charger_type; member
333 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 …]
Dqcom_pmi8998_charger.c549 unsigned int charger_type, current_ua; in smb2_status_change_work() local
562 rc = smb2_apsd_get_charger_type(chip, &charger_type); in smb2_status_change_work()
582 switch (charger_type) { in smb2_status_change_work()
/linux-6.12.1/drivers/extcon/
Dextcon-lc824206xa.c192 int charger_type, ret; in lc824206xa_charger_detect() local
194 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()
/linux-6.12.1/drivers/acpi/dptf/
Ddptf_power.c46 DPTF_POWER_SHOW(charger_type, CTYP)
57 static DEVICE_ATTR_RO(charger_type);
DKconfig27 charger_type
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-platform-dptf1 What: /sys/bus/platform/devices/INT3407:00/dptf_power/charger_type