STRUCT PWRSEQ_CONFIG(9)
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
- 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