Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/power/supply/
Dpower_supply_core.c44 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by()
48 if (supply->supplied_from) { in __power_supply_is_supplied_by()
52 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by()
176 psy->supplied_from[i-1] = (char *)epsy->desc->name; in __power_supply_populate_supplied_from()
238 if (psy->supplied_from && psy->num_supplies > 0) in power_supply_check_supplies()
266 psy->supplied_from = devm_kzalloc(&psy->dev, sizeof(*psy->supplied_from), in power_supply_check_supplies()
268 if (!psy->supplied_from) in power_supply_check_supplies()
271 *psy->supplied_from = devm_kcalloc(&psy->dev, in power_supply_check_supplies()
272 cnt - 1, sizeof(**psy->supplied_from), in power_supply_check_supplies()
274 if (!*psy->supplied_from) in power_supply_check_supplies()
[all …]
/linux-6.1.9/include/linux/
Dpower_supply.h288 char **supplied_from; member