STRUCT PWRSEQ_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, this page is struct pwrseq_config(9) from the Kernel API Manual β€” it's literally the config used for registering a new provider. 🫢

✨ NAME ✨

struct pwrseq_config β€” configuration used for registering a new provider. that's the whole assignment. πŸ’…

🌸 SYNOPSIS 🌸

struct pwrseq_config {
    struct device *parent;
    struct module *owner;
    void *drvdata;
    pwrseq_match_func match;
    const struct pwrseq_target_data **targets;
};

πŸŽ€ Members πŸŽ€

  • parent β€” parent device for the sequencer. must be set β€” not optional, bestie, do not ghost it. 😭
  • owner β€” module providing this device. yes, the module. periodt. πŸ’–
  • drvdata β€” private driver data. your little stash of driver-specific stuff. πŸ“
  • match β€” provider callback used to match the consumer device to the sequencer. it's giving matchmaker energy. πŸ”₯
  • targets β€” array of targets for this power sequencer. must be NULL-terminated β€” do NOT forget the NULL, i am begging. πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./include/linux/pwrseq/provider.h
  • struct pwrseq_unit_data(9)
  • struct pwrseq_target_data(9)

πŸ’– that's the whole vibe β€” shipped from ./include/linux/pwrseq, dated October 2026. slay πŸ’…

πŸ“¦ where this page comes from