Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dbq24735-charger.c359 struct power_supply_desc *supply_desc; in bq24735_charger_probe() local
392 supply_desc = &charger->charger_desc; in bq24735_charger_probe()
394 supply_desc->name = name; in bq24735_charger_probe()
395 supply_desc->type = POWER_SUPPLY_TYPE_MAINS; in bq24735_charger_probe()
396 supply_desc->properties = bq24735_charger_properties; in bq24735_charger_probe()
397 supply_desc->num_properties = ARRAY_SIZE(bq24735_charger_properties); in bq24735_charger_probe()
398 supply_desc->get_property = bq24735_charger_get_property; in bq24735_charger_probe()
399 supply_desc->set_property = bq24735_charger_set_property; in bq24735_charger_probe()
400 supply_desc->property_is_writeable = in bq24735_charger_probe()
448 charger->charger = devm_power_supply_register(&client->dev, supply_desc, in bq24735_charger_probe()
[all …]
H A Dltc2941-battery-gauge.c74 struct power_supply_desc supply_desc; /* Supply description */ member
462 info->supply_desc.name = np->name; in ltc294x_i2c_probe()
505 info->supply_desc.type = POWER_SUPPLY_TYPE_BATTERY; in ltc294x_i2c_probe()
506 info->supply_desc.properties = ltc294x_properties; in ltc294x_i2c_probe()
510 info->supply_desc.num_properties = in ltc294x_i2c_probe()
514 info->supply_desc.num_properties = in ltc294x_i2c_probe()
519 info->supply_desc.num_properties = in ltc294x_i2c_probe()
523 info->supply_desc.get_property = ltc294x_get_property; in ltc294x_i2c_probe()
524 info->supply_desc.set_property = ltc294x_set_property; in ltc294x_i2c_probe()
525 info->supply_desc.property_is_writeable = ltc294x_property_is_writeable; in ltc294x_i2c_probe()
[all …]