Home
last modified time | relevance | path

Searched refs:charger_desc (Results 1 – 5 of 5) sorted by relevance

/drivers/power/supply/
Dgpio-charger.c36 struct power_supply_desc charger_desc; member
133 struct power_supply_desc *charger_desc; in gpio_charger_probe() local
159 charger_desc = &gpio_charger->charger_desc; in gpio_charger_probe()
161 charger_desc->name = pdata->name ? pdata->name : "gpio-charger"; in gpio_charger_probe()
162 charger_desc->type = pdata->type; in gpio_charger_probe()
163 charger_desc->properties = gpio_charger_properties; in gpio_charger_probe()
164 charger_desc->num_properties = ARRAY_SIZE(gpio_charger_properties); in gpio_charger_probe()
165 charger_desc->get_property = gpio_charger_get_property; in gpio_charger_probe()
186 charger_desc, &psy_cfg); in gpio_charger_probe()
Dcharger-manager.c275 struct charger_desc *desc = cm->desc; in is_full_charged()
364 struct charger_desc *desc = cm->desc; in try_charger_enable()
520 struct charger_desc *desc = cm->desc; in fullbatt_vchk()
559 struct charger_desc *desc = cm->desc; in check_charging_duration()
638 struct charger_desc *desc = cm->desc; in cm_check_thermal_status()
830 struct charger_desc *desc = cm->desc; in fullbatt_handler()
889 struct charger_desc *desc = cm->desc; in charger_get_property()
1233 struct charger_desc *desc = cm->desc; in charger_manager_register_extcon()
1309 struct charger_desc *desc = cm->desc; in charger_externally_control_store()
1370 struct charger_desc *desc = cm->desc; in charger_manager_register_sysfs()
[all …]
Dbq2415x_charger.c171 struct power_supply_desc charger_desc; member
1042 bq->charger_desc.name = bq->name; in bq2415x_power_supply_init()
1043 bq->charger_desc.type = POWER_SUPPLY_TYPE_USB; in bq2415x_power_supply_init()
1044 bq->charger_desc.properties = bq2415x_power_supply_props; in bq2415x_power_supply_init()
1045 bq->charger_desc.num_properties = in bq2415x_power_supply_init()
1047 bq->charger_desc.get_property = bq2415x_power_supply_get_property; in bq2415x_power_supply_init()
1070 bq->charger = power_supply_register(bq->dev, &bq->charger_desc, in bq2415x_power_supply_init()
Dbq24735-charger.c48 struct power_supply_desc charger_desc; member
371 supply_desc = &charger->charger_desc; in bq24735_charger_probe()
/drivers/acpi/
Dac.c95 struct power_supply_desc charger_desc; member
344 ac->charger_desc.name = acpi_device_bid(device); in acpi_ac_add()
350 ac->charger_desc.type = POWER_SUPPLY_TYPE_MAINS; in acpi_ac_add()
351 ac->charger_desc.properties = ac_props; in acpi_ac_add()
352 ac->charger_desc.num_properties = ARRAY_SIZE(ac_props); in acpi_ac_add()
353 ac->charger_desc.get_property = get_ac_property; in acpi_ac_add()
355 &ac->charger_desc, &psy_cfg); in acpi_ac_add()