nvme_psd_power_scale(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… 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