Home
last modified time | relevance | path

Searched refs:charge_type (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/usb/misc/
H A Dapple-mfi-fastcharge.c47 int charge_type; member
57 if (mfi->charge_type == val->intval) { in apple_mfi_fc_set_charge_type()
59 mfi->charge_type); in apple_mfi_fc_set_charge_type()
86 mfi->charge_type = val->intval; in apple_mfi_fc_set_charge_type()
101 val->intval = mfi->charge_type; in apple_mfi_fc_get_property()
192 mfi->charge_type = POWER_SUPPLY_CHARGE_TYPE_TRICKLE; in mfi_fc_probe()
/openbmc/u-boot/drivers/power/mfd/
H A Dmuic_max77693.c17 unsigned int charge_type, charger; in power_chrg_get_type() local
25 charge_type = val & MAX77693_MUIC_CHG_MASK; in power_chrg_get_type()
27 switch (charge_type) { in power_chrg_get_type()
/openbmc/u-boot/drivers/power/pmic/
H A Dmuic_max8997.c17 unsigned char charge_type, charger; in power_chrg_get_type() local
23 charge_type = val & MAX8997_MUIC_CHG_MASK; in power_chrg_get_type()
25 switch (charge_type) { in power_chrg_get_type()
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-power-wilco1 What: /sys/class/power_supply/wilco-charger/charge_type
32 Used when charge_type="Custom", as described above. Measured in
39 Used when charge_type="Custom", as described above. Measured in
H A Dsysfs-class-power376 What: /sys/class/power_supply/<supply_name>/charge_type
/openbmc/linux/drivers/power/supply/
H A Dcros_peripheral_charger.c33 int charge_type; member
148 port->charge_type = POWER_SUPPLY_CHARGE_TYPE_NONE; in cros_pchg_get_status()
152 port->charge_type = POWER_SUPPLY_CHARGE_TYPE_TRICKLE; in cros_pchg_get_status()
156 port->charge_type = POWER_SUPPLY_CHARGE_TYPE_STANDARD; in cros_pchg_get_status()
160 port->charge_type = POWER_SUPPLY_CHARGE_TYPE_NONE; in cros_pchg_get_status()
218 val->intval = port->charge_type; in cros_pchg_get_prop()
H A Dqcom_battmgr.c228 unsigned int charge_type; member
503 val->intval = battmgr->info.charge_type; in qcom_battmgr_bat_get_property()
1126 battmgr->info.charge_type = le32_to_cpu(resp->intval.value); in qcom_battmgr_sm8350_callback()
H A Dbq24190_charger.c167 int charge_type; member
508 union power_supply_propval val = { .intval = bdi->charge_type }; in bq24190_set_otg_vbus()
814 bdi->charge_type = val->intval; in bq24190_charger_set_charge_type()
1808 bdi->charge_type = POWER_SUPPLY_CHARGE_TYPE_FAST; in bq24190_probe()
/openbmc/linux/drivers/hid/
H A Dhid-nvidia-shield.c77 int charge_type; member
475 val->intval = prop_values.charge_type; in thunderstrike_battery_get_property()
660 int charge_type = POWER_SUPPLY_CHARGE_TYPE_UNKNOWN; in thunderstrike_parse_charger_payload() local
666 charge_type = POWER_SUPPLY_CHARGE_TYPE_NONE; in thunderstrike_parse_charger_payload()
669 charge_type = POWER_SUPPLY_CHARGE_TYPE_TRICKLE; in thunderstrike_parse_charger_payload()
672 charge_type = POWER_SUPPLY_CHARGE_TYPE_STANDARD; in thunderstrike_parse_charger_payload()
707 ts->psy_stats.charge_type = charge_type; in thunderstrike_parse_charger_payload()
H A Dhid-logitech-hidpp.c158 int charge_type; member
1387 int *level, int *charge_type) in hidpp20_battery_map_status_voltage() argument
1415 *charge_type = POWER_SUPPLY_CHARGE_TYPE_FAST; in hidpp20_battery_map_status_voltage()
1432 int *level, int *charge_type) in hidpp20_battery_get_battery_voltage() argument
1453 level, charge_type); in hidpp20_battery_get_battery_voltage()
1497 int status, voltage, level, charge_type; in hidpp20_query_battery_voltage_info() local
1519 hidpp->battery.charge_type = charge_type; in hidpp20_query_battery_voltage_info()
1529 int status, voltage, level, charge_type; in hidpp20_battery_voltage_event() local
1536 &level, &charge_type); in hidpp20_battery_voltage_event()
1546 hidpp->battery.charge_type = charge_type; in hidpp20_battery_voltage_event()
[all …]