Home
last modified time | relevance | path

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

/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()
/linux/drivers/power/supply/
H A Dcros_peripheral_charger.c34 int charge_type; member
149 port->charge_type = POWER_SUPPLY_CHARGE_TYPE_NONE; in cros_pchg_get_status()
153 port->charge_type = POWER_SUPPLY_CHARGE_TYPE_TRICKLE; in cros_pchg_get_status()
157 port->charge_type = POWER_SUPPLY_CHARGE_TYPE_STANDARD; in cros_pchg_get_status()
161 port->charge_type = POWER_SUPPLY_CHARGE_TYPE_NONE; in cros_pchg_get_status()
219 val->intval = port->charge_type; in cros_pchg_get_prop()
H A Dbq24190_charger.c233 int charge_type; member
546 union power_supply_propval val = { .intval = bdi->charge_type }; in bq24190_set_otg_vbus()
572 union power_supply_propval val = { .intval = bdi->charge_type }; in bq24296_set_otg_vbus()
966 bdi->charge_type = val->intval; in bq24190_charger_set_charge_type()
2084 bdi->charge_type = POWER_SUPPLY_CHARGE_TYPE_FAST; in bq24190_probe()
H A Dqcom_battmgr.c228 unsigned int charge_type; member
503 val->intval = battmgr->info.charge_type; in qcom_battmgr_bat_get_property()
1131 battmgr->info.charge_type = le32_to_cpu(resp->intval.value); in qcom_battmgr_sm8350_callback()
/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
421 Identical to charge_type but reading returns a list of supported
425 power_supply class devices may support both charge_type and
/linux/drivers/hid/
H A Dhid-logitech-hidpp.c158 int charge_type; member
1378 int *level, int *charge_type) in hidpp20_battery_map_status_voltage() argument
1404 *charge_type = POWER_SUPPLY_CHARGE_TYPE_STANDARD; in hidpp20_battery_map_status_voltage()
1406 *charge_type = POWER_SUPPLY_CHARGE_TYPE_FAST; in hidpp20_battery_map_status_voltage()
1409 *charge_type = POWER_SUPPLY_CHARGE_TYPE_TRICKLE; in hidpp20_battery_map_status_voltage()
1423 int *level, int *charge_type) in hidpp20_battery_get_battery_voltage() argument
1444 level, charge_type); in hidpp20_battery_get_battery_voltage()
1487 int status, voltage, level, charge_type; in hidpp20_query_battery_voltage_info() local
1498 &status, &voltage, &level, &charge_type); in hidpp20_query_battery_voltage_info()
1508 hidpp->battery.charge_type = charge_type; in hidpp20_query_battery_voltage_info()
[all …]