lwmi_cd_fan_show(9)
π lwmi_cd_fan_show(9) β like, the whole Kernel API Manual vibe β¨
okay so bestie, gather round, because this little function from the Kernel API Manual is genuinely one of the cutest ones in the lwmi_cd family and I need you to know about it π«Ά
It's called lwmi_cd_fan_show, and its whole personality is: dump the capdata_fan. That's it. That's the job. No cap.
β¨ NAME β¨
lwmi_cd_fan_show β literally just dumps capdata_fan π
πΈ SYNOPSIS πΈ
void lwmi_cd_fan_show (struct seq_file *s , struct capdata_fan *cd_fan
);
look at that signature. two args, no return, zero drama. main character energy fr fr π
π ARGUMENTS π
sβ pointer to aseq_file, and that's where thecapdata_fangets dumped. it's the destination, the stage, the whole venue π€cd_fanβ pointer to acapdata_fanstruct, i.e. the thing that's actually getting dumped. this one's the star of the show ngl π
π¦ SEE ALSO π¦
the kernel file lives right here, no guessing:
./drivers/platform/x86/lenovo/wmi-capdata.c
and here's the whole friend group, every single one of them, not a single name skipped because we do NOT leave anyone on read ππ
lwmi_cd_match(9)lwmi_cd_match_add_all(9)lwmi_cd_call_master_cb(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_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)
like, that's a whole squad and lwmi_cd_fan_show is right there in it. slay π
ngl there are no options, no exit statuses, no env vars, no warnings in this one β it's a clean little dumper and honestly? iconic for that. simple, useful, no notes π
and that's the page, bestie!! this one came out of ./drivers/platform/x86/lenovo in October 2026, and it's filed under lwmi_cd_fan_show(9) β go dump that capdata_fan and live ur truth ππ§β¨
π¦ 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