voltdm_lookup(9)
π voltdm_lookup(9) β Kernel API Manual π
okay so bestie, this is voltdm_lookup(9) from the Kernel API Manual, and it is lowkey one of those tiny functions that still ate. No cap, it's just here to find your voltagedomain and hand you a pointer. π
β¨ NAME β¨
voltdm_lookup β look up a voltagedomain by name, return a pointer. periodt.
β¨ SYNOPSIS β¨
the signature, exactly as written β do not come for the spacing, it's iconic:
struct voltagedomain * voltdm_lookup (const char *name );
π ARGUMENTS π
nameβ the name of the voltagedomain, bestie. that's the whole argument. π
π¦ DESCRIPTION π¦
Find a registered voltagedomain by its name β yes, the argument is literally named name, iykyk. If it's found, you get a pointer to the struct voltagedomain. If it's not found, you get NULL β that's the not-found answer. That's the vibe check: pointer or NULL, no in-between. πΈ
π SEE ALSO π
Peep the Kernel file ./arch/arm/mach-omap2/voltage.c and its whole friend group:
voltdm_get_voltage(9)voltdm_scale(9)voltdm_reset(9)omap_voltage_get_volttable(9)omap_voltage_get_voltdata(9)omap_voltage_register_pmic(9)omap_voltage_late_init(9)voltdm_init(9)
and that's the whole page, bestie π«Ά β brought to you by the source path ./arch/arm/mach-omap2, dated October 2026, with the page tag voltdm_lookup(9). slay responsibly β¨
π¦ 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