pwrseq_get(9)
π 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:
struct pwrseq_unit(9)struct pwrseq_unit_dep(9)struct pwrseq_target(9)struct pwrseq_device(9)struct pwrseq_desc(9)pwrseq_device_register(9)pwrseq_device_unregister(9)devm_pwrseq_device_register(9)pwrseq_device_get_drvdata(9)pwrseq_put(9)devm_pwrseq_get(9)pwrseq_enable(9)pwrseq_disable(9)pwrseq_to_device(9)
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
- 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