STRUCT PWRSEQ_TARGET_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to the Kernel API Manual page for struct pwrseq_target_data(9) β€” yes, that’s the title, and this is literally the configuration of a power sequencing target. no cap. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

here’s the struct in all its iconic glory:

struct pwrseq_target_data {
    const char *name;
    const struct pwrseq_unit_data *unit;
    pwrseq_power_state_func post_enable;
};

πŸŽ€ Members πŸŽ€

  • name β€” name of the target. cute and simple. ✨
  • unit β€” the final unit that this target must reach in order to be considered enabled. like the finish line, fr fr. 🏁
  • post_enable β€” callback run after the target unit has been enabled, after the state lock has been released. it’s useful for implementing boot-up delays without blocking other users from powering up using the same power sequencer. highkey important, bestie. πŸ’–

🌈 SEE ALSO 🌈

also peep the Kernel file ./include/linux/pwrseq/provider.h, plus struct pwrseq_unit_data(9) and struct pwrseq_config(9). iykyk. πŸ¦‹


mwah πŸ’‹ this page’s source/version is ./include/linux/pwrseq and its date is October 2026 β€” and yes, the footer was gonna repeat struct pwrseq_target_data(9), but we already knew that, bestie. 🫢

πŸ“¦ where this page comes from