Home
last modified time | relevance | path

Searched refs:supply_desc (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/power/supply/
Dbq24735-charger.c360 struct power_supply_desc *supply_desc; in bq24735_charger_probe() local
393 supply_desc = &charger->charger_desc; in bq24735_charger_probe()
395 supply_desc->name = name; in bq24735_charger_probe()
396 supply_desc->type = POWER_SUPPLY_TYPE_MAINS; in bq24735_charger_probe()
397 supply_desc->properties = bq24735_charger_properties; in bq24735_charger_probe()
398 supply_desc->num_properties = ARRAY_SIZE(bq24735_charger_properties); in bq24735_charger_probe()
399 supply_desc->get_property = bq24735_charger_get_property; in bq24735_charger_probe()
400 supply_desc->set_property = bq24735_charger_set_property; in bq24735_charger_probe()
401 supply_desc->property_is_writeable = in bq24735_charger_probe()
449 charger->charger = devm_power_supply_register(&client->dev, supply_desc, in bq24735_charger_probe()
[all …]
Dltc2941-battery-gauge.c74 struct power_supply_desc supply_desc; /* Supply description */ member
463 info->supply_desc.name = np->name; in ltc294x_i2c_probe()
506 info->supply_desc.type = POWER_SUPPLY_TYPE_BATTERY; in ltc294x_i2c_probe()
507 info->supply_desc.properties = ltc294x_properties; in ltc294x_i2c_probe()
511 info->supply_desc.num_properties = in ltc294x_i2c_probe()
515 info->supply_desc.num_properties = in ltc294x_i2c_probe()
520 info->supply_desc.num_properties = in ltc294x_i2c_probe()
524 info->supply_desc.get_property = ltc294x_get_property; in ltc294x_i2c_probe()
525 info->supply_desc.set_property = ltc294x_set_property; in ltc294x_i2c_probe()
526 info->supply_desc.property_is_writeable = ltc294x_property_is_writeable; in ltc294x_i2c_probe()
[all …]