Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/power/supply/
Dgpio-charger.c32 struct power_supply_desc charger_desc; member
257 struct power_supply_desc *charger_desc; in gpio_charger_probe() local
307 charger_desc = &gpio_charger->charger_desc; in gpio_charger_probe()
308 charger_desc->properties = gpio_charger_properties; in gpio_charger_probe()
309 charger_desc->num_properties = num_props; in gpio_charger_probe()
310 charger_desc->get_property = gpio_charger_get_property; in gpio_charger_probe()
311 charger_desc->set_property = gpio_charger_set_property; in gpio_charger_probe()
312 charger_desc->property_is_writeable = in gpio_charger_probe()
319 charger_desc->name = pdata->name; in gpio_charger_probe()
320 charger_desc->type = pdata->type; in gpio_charger_probe()
[all …]
Dlt3651-charger.c20 struct power_supply_desc charger_desc; member
98 struct power_supply_desc *charger_desc; in lt3651_charger_probe() local
128 charger_desc = &lt3651_charger->charger_desc; in lt3651_charger_probe()
129 charger_desc->name = pdev->dev.of_node->name; in lt3651_charger_probe()
130 charger_desc->type = POWER_SUPPLY_TYPE_MAINS; in lt3651_charger_probe()
131 charger_desc->properties = lt3651_charger_properties; in lt3651_charger_probe()
132 charger_desc->num_properties = ARRAY_SIZE(lt3651_charger_properties); in lt3651_charger_probe()
133 charger_desc->get_property = lt3651_charger_get_property; in lt3651_charger_probe()
138 charger_desc, &psy_cfg); in lt3651_charger_probe()
Dcharger-manager.c282 struct charger_desc *desc = cm->desc; in is_full_charged()
375 struct charger_desc *desc = cm->desc; in try_charger_enable()
454 struct charger_desc *desc = cm->desc; in check_charging_duration()
528 struct charger_desc *desc = cm->desc; in cm_check_thermal_status()
716 struct charger_desc *desc = cm->desc; in charger_get_property()
1030 struct charger_desc *desc = cm->desc; in charger_manager_register_extcon()
1111 struct charger_desc *desc = cm->desc; in charger_externally_control_store()
1172 struct charger_desc *desc = cm->desc; in charger_manager_prepare_sysfs()
1235 struct charger_desc *desc = cm->desc; in cm_init_thermal_data()
1281 static struct charger_desc *of_cm_parse_desc(struct device *dev) in of_cm_parse_desc()
[all …]
Dbq2415x_charger.c162 struct power_supply_desc charger_desc; member
1484 bq->charger_desc.name = bq->name; in bq2415x_power_supply_init()
1485 bq->charger_desc.type = POWER_SUPPLY_TYPE_USB; in bq2415x_power_supply_init()
1486 bq->charger_desc.properties = bq2415x_power_supply_props; in bq2415x_power_supply_init()
1487 bq->charger_desc.num_properties = in bq2415x_power_supply_init()
1489 bq->charger_desc.get_property = bq2415x_power_supply_get_property; in bq2415x_power_supply_init()
1512 bq->charger = power_supply_register(bq->dev, &bq->charger_desc, in bq2415x_power_supply_init()
Dbq24735-charger.c51 struct power_supply_desc charger_desc; member
393 supply_desc = &charger->charger_desc; in bq24735_charger_probe()
/linux-6.1.9/drivers/acpi/
Dac.c68 struct power_supply_desc charger_desc; member
242 ac->charger_desc.name = acpi_device_bid(device); in acpi_ac_add()
243 ac->charger_desc.type = POWER_SUPPLY_TYPE_MAINS; in acpi_ac_add()
244 ac->charger_desc.properties = ac_props; in acpi_ac_add()
245 ac->charger_desc.num_properties = ARRAY_SIZE(ac_props); in acpi_ac_add()
246 ac->charger_desc.get_property = get_ac_property; in acpi_ac_add()
248 &ac->charger_desc, &psy_cfg); in acpi_ac_add()
/linux-6.1.9/include/linux/power/
Dcharger-manager.h163 struct charger_desc { struct
222 struct charger_desc *desc;
/linux-6.1.9/include/linux/mfd/
D88pm860x.h456 struct charger_desc *chg_desc;
/linux-6.1.9/Documentation/power/
Dcharger-manager.rst109 4. Charger-Manager Data (struct charger_desc)
115 struct charger_desc elements: