STRUCT PWRSEQ_TARGET(9)
π struct pwrseq_target(9) β Kernel API Manual β¨
okay so bestie, welcome to struct pwrseq_target, which is literally the private power-sequence target data. that's it, that's the whole vibe. it's giving backstage-pass energy π
π NAME π
struct pwrseq_target β private power-sequence target data. no cap, that's the whole glow-up π
β¨ SYNOPSIS β¨
struct pwrseq_target {
struct list_head list;
const char *name;
struct pwrseq_unit *unit;
pwrseq_power_state_func post_enable;
};
look at her. main character struct. four fields. flawless. πΈ
π¦ Members π¦
okay so let's meet the cast, one by one, no skipping, i promise we're doing all of them π«Ά
listβ the siblings! this is thestruct list_headthat hooks this target into the list of all the targets a power sequencer exposes. she's on the group chat, fr fr π¬nameβ the target's name. that's it. that's the whole field. iconic, lowkey πunitβ the final unit for this target. the endgame. the last stop on the power-up journey π₯post_enableβ a callback that runs after the target's unit has been enabled, and β read this twice bestie β after the state lock has been released. like, actually after. it's super useful for implementing boot-up delays without blocking other users from powering up using the same power sequencer. so everyone else can still get their power on while you're out here napping in your delay. considerate queen behavior πβ¨
π SEE ALSO π
kernel file ./drivers/power/sequencing/core.c, plus the whole friend group:
struct pwrseq_unit(9)struct pwrseq_unit_dep(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_get(9)pwrseq_put(9)devm_pwrseq_get(9)pwrseq_enable(9)pwrseq_disable(9)pwrseq_to_device(9)
go read them. i'll wait. iykyk π§π
ok and that's the page!! mwah π from the./drivers/power/sequencinggirls, dated October 2026, and yes this wasstruct pwrseq_target(9)the whole time ππ¦β
π¦ 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