Home
last modified time | relevance | path

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

/drivers/usb/typec/ucsi/
Dpsy.c235 char *psy_name; in ucsi_register_port_psy() local
240 psy_name = devm_kasprintf(dev, GFP_KERNEL, "ucsi-source-psy-%s%d", in ucsi_register_port_psy()
242 if (!psy_name) in ucsi_register_port_psy()
245 con->psy_desc.name = psy_name; in ucsi_register_port_psy()
/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()
/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()
/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()
/drivers/usb/typec/tcpm/
Dtcpm.c6737 char *psy_name; in devm_tcpm_psy_register() local
6741 psy_name = devm_kzalloc(port->dev, psy_name_len, GFP_KERNEL); in devm_tcpm_psy_register()
6742 if (!psy_name) in devm_tcpm_psy_register()
6745 snprintf(psy_name, psy_name_len, "%s%s", tcpm_psy_name_prefix, in devm_tcpm_psy_register()
6747 port->psy_desc.name = psy_name; in devm_tcpm_psy_register()