Home
last modified time | relevance | path

Searched refs:psy_name (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/usb/typec/ucsi/
Dpsy.c212 char *psy_name; in ucsi_register_port_psy() local
217 psy_name = devm_kasprintf(dev, GFP_KERNEL, "ucsi-source-psy-%s%d", in ucsi_register_port_psy()
219 if (!psy_name) in ucsi_register_port_psy()
222 con->psy_desc.name = psy_name; in ucsi_register_port_psy()
/linux-6.1.9/include/linux/power/
Dcharger-manager.h164 const char *psy_name; member
/linux-6.1.9/drivers/usb/typec/tipd/
Dcore.c666 char *psy_name; in devm_tps6598_psy_register() local
671 psy_name = devm_kasprintf(tps->dev, GFP_KERNEL, "%s%s", tps6598x_psy_name_prefix, in devm_tps6598_psy_register()
673 if (!psy_name) in devm_tps6598_psy_register()
676 tps->psy_desc.name = psy_name; in devm_tps6598_psy_register()
/linux-6.1.9/drivers/usb/typec/
Drt1719.c563 char *psy_name; in devm_rt1719_psy_register() local
568 psy_name = devm_kasprintf(data->dev, GFP_KERNEL, "rt1719-source-psy-%s", in devm_rt1719_psy_register()
570 if (!psy_name) in devm_rt1719_psy_register()
573 data->psy_desc.name = psy_name; in devm_rt1719_psy_register()
Danx7411.c1416 char *psy_name; in anx7411_psy_register() local
1418 psy_name = devm_kasprintf(ctx->dev, GFP_KERNEL, "anx7411-source-psy-%s", in anx7411_psy_register()
1420 if (!psy_name) in anx7411_psy_register()
1423 psy_desc->name = psy_name; in anx7411_psy_register()
/linux-6.1.9/Documentation/power/
Dcharger-manager.rst117 `char *psy_name;`
119 "battery" if psy_name is NULL. Users can access the psy entries
120 at "/sys/class/power_supply/[psy_name]/".
/linux-6.1.9/drivers/power/supply/
Dcharger-manager.c1293 of_property_read_string(np, "cm-name", &desc->psy_name); in of_cm_parse_desc()
1518 if (!desc->psy_name) in charger_manager_probe()
1521 strncpy(cm->psy_name_buf, desc->psy_name, PSY_NAME_MAX); in charger_manager_probe()
/linux-6.1.9/drivers/usb/typec/tcpm/
Dtcpm.c6381 char *psy_name; in devm_tcpm_psy_register() local
6385 psy_name = devm_kzalloc(port->dev, psy_name_len, GFP_KERNEL); in devm_tcpm_psy_register()
6386 if (!psy_name) in devm_tcpm_psy_register()
6389 snprintf(psy_name, psy_name_len, "%s%s", tcpm_psy_name_prefix, in devm_tcpm_psy_register()
6391 port->psy_desc.name = psy_name; in devm_tcpm_psy_register()