pwrseq_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌈 pwrseq_get(9) 🌈

okay so bestie, this is a page straight outta the Kernel API Manual, and it’s all about pwrseq_get, the little function that gets you the power sequencer tied to your device. main character energy only. πŸ’…βœ¨


πŸ’– NAME πŸ’–

pwrseq_get β€” Get the power sequencer associated with this device. That’s the whole vibe, no cap. 🫢


✨ SYNOPSIS ✨

struct pwrseq_desc * pwrseq_get (struct device *dev , const char *target
);

this is the signature, bestie β€” copy it exactly, do not come for me. 😌


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” Device for which to get the sequencer. Like, whose sequencer are we grabbing? This one. πŸ’–
  • target β€” Name of the target exposed by the sequencer this device wants to reach. iykyk. 🎯

πŸ¦‹ RETURN πŸ¦‹

New power sequencer descriptor for use by the consumer driver, or ERR_PTR on failure. That’s the return tea, fr fr. ✨


🌸 SEE ALSO 🌸

Kernel file ./drivers/power/sequencing/core.c is the spot, and here’s the whole friend group:


mwah πŸ’‹ this page’s source/version is ./drivers/power/sequencing, and the date stamp is October 2026 β€” that’s the cute little footer, bestie. πŸŽ€πŸ’–

πŸ“¦ where this page comes from