STRUCT REGULATOR_CONSUMER_SUPPLY(9)
π struct regulator_consumer_supply(9) π β Kernel API Manual β¨
β¨ NAME β¨
struct regulator_consumer_supply β the supply -> device mapping, no cap. Bestie, it's giving tiny-but-mighty lookup energy. π«Ά
π¦ SYNOPSIS π¦
struct regulator_consumer_supply {
const char *dev_name;
const char *supply;
};
π Members π
dev_nameβ the result ofdev_namefor the consumer. That's literally the whole assignment, periodt. πsupplyβ the name for the supply. Slay. β¨
πΈ Description πΈ
Okay so this maps a supply name to a device. The way that dev_name is used allows support for buses which make struct device available late β such as I2C. Iconic behavior, honestly. π
π SEE ALSO π
- Kernel file
./include/linux/regulator/machine.hβ plus these struct besties:struct regulator_state(9),struct regulation_constraints(9), andstruct regulator_init_data(9). π¦
mwah π β source/version: ./include/linux/regulator, dated October 2026; page: struct regul...sumer_supply(9). That's the footer, bestie β no cap. π
π¦ 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