devm_regula...supply_alias(9)
π devm_regula...supply_alias(9) π
okay bestie, welcome to the Kernel API Manual entry for the managed regulator bulk supply alias helper. the header title is shortened, but the full function name is right there in NAME and it is iconic. no cap.
β¨ NAME β¨
devm_regulator_bulk_register_supply_alias β Managed register multiple aliases
π§Ύ SYNOPSIS π§Ύ
int devm_regulator_bulk_register_supply_alias (struct device *dev ,
const char *const *id , struct device *alias_dev , const char *const
*alias_id , int num_id );
π ARGUMENTS π
devβ the device to supply, bestie.idβ list of supply names or regulator IDs.alias_devβ device that should be used to lookup the supply.alias_idβ list of supply names or regulator IDs that should be used to lookup the supply.num_idβ number of aliases to register.
πΈ DESCRIPTION πΈ
it returns 0 on success, and a negative error number on failure. periodt.
this helper function lets drivers register several supply aliases in one operation. the aliases will be automatically unregistered when the source device is unbound. and if any of the aliases cannot be registered, any aliases that were registered will be removed before returning to the caller β so the cleanup is handled before it hands control back, fr fr.
π₯ SEE ALSO π₯
kernel file: ./drivers/regulator/devres.c
the whole friend group:
devm_regulator_get(9)devm_regulator_get_exclusive(9)devm_regulator_get_enable_optional(9)devm_regulator_get_enable(9)devm_regulator_get_optional(9)devm_regulator_get_enable_read_voltage(9)devm_regulator_put(9)devm_regulator_bulk_get(9)devm_regulator_bulk_get_exclusive(9)devm_regulator_bulk_get_const(9)devm_regulator_bulk_put(9)devm_regulator_bulk_get_enable(9)devm_regulator_register(9)devm_regulator_register_supply_alias(9)devm_regulator_register_notifier(9)devm_regulator_unregister_notifier(9)devm_regulator_irq_helper(9)devm_of_regulator_get(9)devm_of_regulator_get_optional(9)
mwah π β source is ./drivers/regulator, date is October 2026, and the footer title is devm_regula...supply_alias(9). iykyk β¨π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms