Searched refs:supply_desc (Results 1 – 2 of 2) sorted by relevance
359 struct power_supply_desc *supply_desc; in bq24735_charger_probe() local392 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 …]
74 struct power_supply_desc supply_desc; /* Supply description */ member462 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()526 info->supply_desc.external_power_changed = NULL; in ltc294x_i2c_probe()[all …]
Completed in 8 milliseconds