STRUCT OPP_DEVICE(9)
π struct opp_device(9) π
okay so real talk, bestie β this is a page straight outta the Kernel API Manual, and it's about struct opp_device. it's short, it's sweet, and ngl it's giving "tiny but crucial supporting character" energy. let's get into it π«Ά
β¨ NAME β¨
struct opp_device β literally the devices that 'struct opp_table' is out here managing π
π SYNOPSIS π
here's the whole vibe, character for character, no edits, no notes:
struct opp_device {
struct list_head node;
const struct device *dev;
#ifdef CONFIG_DEBUG_FS;
struct dentry *dentry;
#endif;
};
likeβ¦ look at her. she's little. she's conditional. she slays πΈ
πΌ MEMBERS πΌ
one by one, no skipping, we don't do that here:
nodeβ the list node π« (yes, she's on a list, she's booked and busy)devβ the device that this here struct object belongs to ποΈdentryβ a debugfs dentry pointer, and it's per device bestie, per device π
π¨ tiny heads up:dentryonly exists whenCONFIG_DEBUG_FSis defined β that#ifdefin the synopsis is not decorative, it's load-bearing π
π DESCRIPTION π
so what is this? this is an internal data structure β internal, as in not your main character to poke at β and its whole job is maintaining the devices that are managed by 'struct opp_table'. that's it. that's the gig. and honestly? she ate. π₯
π¦ SEE ALSO π¦
go look at the kernel file ./drivers/opp/opp.h and then go be nosy about:
struct opp_config_data(9)struct dev_pm_opp_icc_bw(9)struct dev_pm_opp(9)struct opp_table(9)
okay that's the whole page, you understood it perfectly, i'm so proud of you ππ«Ά this little love letter came to you from ./drivers/opp, version October 2026, and yes the page is still called struct opp_device(9) at both the top and the bottom because consistency is iconic π
β¨
π¦ 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