STRUCT PWRSEQ_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct pwrseq_desc(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this is the page for struct pwrseq_desc, and it's genuinely such a clean little design. What it does? It wraps access to the pwrseq_device and makes sure that one user can't break the reference counting for everybody else. like, it's the responsible friend holding the group's stuff so nobody double-frees the vibes πŸ’–


✨ NAME ✨

struct pwrseq_desc β€” wraps access to the pwrseq_device and ensures that one user cannot break the reference counting for others. no cap, that's the whole job and it does it flawlessly 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

struct pwrseq_desc {
    struct pwrseq_device *pwrseq;
    struct pwrseq_target *target;
    bool powered_on;
 };

πŸŽ€ Members πŸŽ€

  • pwrseq β€” the reference to the power sequencing device itself. your main character pointer, honestly πŸ’…
  • target β€” a reference to the target that this descriptor allows you to control. it's giving "this is my lane" energy ✨
  • powered_on β€” the power state set by the holder of the descriptor. and bestie, read this carefully: it does not necessarily correspond to the actual power state of the device. it's what you said, not what the hardware's doing πŸ™ˆ

🌈 SEE ALSO 🌈

okay this is the friend group, they all show up together:


aaaand that's the whole page, bestie β€” short, sweet, and iconic πŸ‘‘ this came out of ./drivers/power/sequencing in October 2026, so like… remember that date for the exam πŸ’€ ily, go read pwrseq_get(9) next πŸ“πŸ’œ

πŸ“¦ where this page comes from