nvme_psd_power_scale(9)
π
nvme_psd_power_scale β bestie, it's literally the page for nvme_psd_power_scale(9) from the libnvme API manual β¨
okay so picture this: you're deep in NVMe land, you've got a power state descriptor in front of you, and the upper 3 bits are just sitting there holding a power scale. this little function is your girl. she reaches in, grabs that value, hands it to you. no drama, no cap. π
β¨ NAME β¨
nvme_psd_power_scale β the power scale that occupies the upper 3 bits π«Ά
like, that's the whole thing. the power scale lives in the upper 3 bits, and this function is how you get it out. iconic behavior honestly.
πΈ SYNOPSIS πΈ
unsigned int nvme_psd_power_scale (__u8 ps );
yes that's the whole signature bestie, she's short and she knows exactly what she's doing π
π¦ ARGUMENTS π¦
psβ the power scale value π« (yes, we're passing in a power scale value so we can get a power scale value back. the circle of life. the main character energy. we love a self-aware queen.)
β RETURN β
returns the power scale value π₯ β that's it, that's the tea. no -1 surprises, no errno chaos, just your power scale value coming right back at you like a boomerang with a skincare routine π
ngl there's no hidden lore here β the return is just the power scale value, exactly as documented, no commentary needed π
π SEE ALSO π
honestly bestie there aren't any SEE ALSO entries on this one β she stands alone, independent, unbothered, moisturised, in her lane π
and that's the whole page!! short, sweet, and to the point, just like a good text back π this cutie comes to you straight from the libnvme API manual, section 9, dated October 2026 β mwah, go read your power state descriptors responsibly π§π
nvme_psd_power_scale(9) nvme_psd_power_scale
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms