Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/power/supply/
Dgpio-charger.c35 struct power_supply_desc charger_desc; member
106 struct power_supply_desc *charger_desc; in gpio_charger_probe() local
154 charger_desc = &gpio_charger->charger_desc; in gpio_charger_probe()
155 charger_desc->properties = gpio_charger_properties; in gpio_charger_probe()
156 charger_desc->num_properties = ARRAY_SIZE(gpio_charger_properties); in gpio_charger_probe()
157 charger_desc->get_property = gpio_charger_get_property; in gpio_charger_probe()
163 charger_desc->name = pdata->name; in gpio_charger_probe()
164 charger_desc->type = pdata->type; in gpio_charger_probe()
168 charger_desc->name = dev->of_node->name; in gpio_charger_probe()
169 charger_desc->type = gpio_charger_get_type(dev); in gpio_charger_probe()
[all …]
Dltc3651-charger.c24 struct power_supply_desc charger_desc; member
102 struct power_supply_desc *charger_desc; in ltc3651_charger_probe() local
132 charger_desc = &ltc3651_charger->charger_desc; in ltc3651_charger_probe()
133 charger_desc->name = pdev->dev.of_node->name; in ltc3651_charger_probe()
134 charger_desc->type = POWER_SUPPLY_TYPE_MAINS; in ltc3651_charger_probe()
135 charger_desc->properties = ltc3651_charger_properties; in ltc3651_charger_probe()
136 charger_desc->num_properties = ARRAY_SIZE(ltc3651_charger_properties); in ltc3651_charger_probe()
137 charger_desc->get_property = ltc3651_charger_get_property; in ltc3651_charger_probe()
142 charger_desc, &psy_cfg); in ltc3651_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()
1308 struct charger_desc *desc = cm->desc; in charger_externally_control_store()
1369 struct charger_desc *desc = cm->desc; in charger_manager_register_sysfs()
[all …]
Dbq2415x_charger.c171 struct power_supply_desc charger_desc; member
1045 bq->charger_desc.name = bq->name; in bq2415x_power_supply_init()
1046 bq->charger_desc.type = POWER_SUPPLY_TYPE_USB; in bq2415x_power_supply_init()
1047 bq->charger_desc.properties = bq2415x_power_supply_props; in bq2415x_power_supply_init()
1048 bq->charger_desc.num_properties = in bq2415x_power_supply_init()
1050 bq->charger_desc.get_property = bq2415x_power_supply_get_property; in bq2415x_power_supply_init()
1073 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
390 supply_desc = &charger->charger_desc; in bq24735_charger_probe()
/Linux-v4.19/drivers/acpi/
Dac.c106 struct power_supply_desc charger_desc; member
362 ac->charger_desc.name = acpi_device_bid(device); in acpi_ac_add()
368 ac->charger_desc.type = POWER_SUPPLY_TYPE_MAINS; in acpi_ac_add()
369 ac->charger_desc.properties = ac_props; in acpi_ac_add()
370 ac->charger_desc.num_properties = ARRAY_SIZE(ac_props); in acpi_ac_add()
371 ac->charger_desc.get_property = get_ac_property; in acpi_ac_add()
373 &ac->charger_desc, &psy_cfg); in acpi_ac_add()
/Linux-v4.19/include/linux/power/
Dcharger-manager.h171 struct charger_desc { struct
232 struct charger_desc *desc;
/Linux-v4.19/include/linux/mfd/
D88pm860x.h459 struct charger_desc *chg_desc;
/Linux-v4.19/Documentation/power/
Dcharger-manager.txt108 4. Charger-Manager Data (struct charger_desc)
114 struct charger_desc {