Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/power/supply/
Dpower_supply_core.c42 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by()
46 if (supply->supplied_from) { in __power_supply_is_supplied_by()
50 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by()
174 psy->supplied_from[i-1] = (char *)epsy->desc->name; in __power_supply_populate_supplied_from()
236 if (psy->supplied_from && psy->num_supplies > 0) in power_supply_check_supplies()
264 psy->supplied_from = devm_kzalloc(&psy->dev, sizeof(psy->supplied_from), in power_supply_check_supplies()
266 if (!psy->supplied_from) in power_supply_check_supplies()
269 *psy->supplied_from = devm_kcalloc(&psy->dev, in power_supply_check_supplies()
272 if (!*psy->supplied_from) in power_supply_check_supplies()
290 psy->supplied_from = devm_kmalloc_array(&psy->dev, nval, in power_supply_check_supplies()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dpower_supply.h279 char **supplied_from; member