lwmi_cd_call_master_cb(9)
π lwmi_cd_call_master_cb(9) β like, the Kernel API Manual page, bestie π
okay so this is a page from the Kernel API Manual (section 9, iykyk) and it's about one tiny little function that does one tiny little thing, but it's kind of a big deal in the dependency-chain world. let's get into it β¨
β¨ NAME β¨
lwmi_cd_call_master_cb β literally just calls the master callback for the sub-component. that's it. that's the whole vibe π«Ά
π¦ SYNOPSIS π¦
void lwmi_cd_call_master_cb (struct lwmi_cd_priv *priv );
not me telling you it returns void β it does NOT hand anything back, it just does the thing and leaves. main character energy tbh π
πΈ ARGUMENTS πΈ
privβ a pointer to the capability data private data. yes bestie, the capability data private data. it's the private data. for the capability data. that's the whole description, we don't make the rules π
β DESCRIPTION β
so here's the tea: this function calls the master callback, and it passes the sub-component list along to it β but only if the whole dependency chain is complete. and what's the dependency chain, you ask? it's:
master <-> sub-master <-> sub-component
all three, linked up, no missing pieces. if that chain is complete? callback gets called and gets handed the sub-component list, slay. if it's not complete? well... the doc doesn't say more than that, so we're not gonna invent anything. no cap π₯
π SEE ALSO π
the kernel file for this one lives at ./drivers/platform/x86/lenovo/wmi-capdata.c β go read it, it's giving source of truth π§
and here's the whole friend group, all the sibling pages:
lwmi_cd_match(9)lwmi_cd_match_add_all(9)lwmi_cd_component_bind(9)lwmi_cd_component_unbind(9)lwmi_cd_sub_master_bind(9)lwmi_cd_sub_master_unbind(9)lwmi_cd_sub_master_add(9)lwmi_cd_sub_master_del(9)lwmi_cd_sub_component_bind(9)lwmi_cd00_show(9)lwmi_cd01_show(9)lwmi_cd_fan_show(9)lwmi_cd_debugfs_show(9)lwmi_cd_debugfs_add(9)lwmi_cd_debugfs_remove(9)lwmi_cd_cache(9)lwmi_cd_fan_list_alloc_cache(9)lwmi_cd_alloc(9)lwmi_cd_setup(9)lwmi_cd01_notifier_call(9)lwmi_cd01_unregister(9)
that's twenty-one links, count 'em π go read all of them, they're iconic, periodt π
mwah π this page came from ./drivers/platform/x86/lenovo, dated October 2026, and it's filed under lwmi_cd_call_master_cb(9) in the Kernel API Manual β bye bestie, go call that callback πβ¨
π¦ 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