Searched refs:psy_name (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/usb/typec/ucsi/ |
D | psy.c | 212 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/ |
D | charger-manager.h | 164 const char *psy_name; member
|
/linux-6.1.9/drivers/usb/typec/tipd/ |
D | core.c | 666 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/ |
D | rt1719.c | 563 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()
|
D | anx7411.c | 1416 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/ |
D | charger-manager.rst | 117 `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/ |
D | charger-manager.c | 1293 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/ |
D | tcpm.c | 6381 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()
|