lwmi_cd_debugfs_add(9)
π lwmi_cd_debugfs_add π
okay so bestie, welcome to the lwmi_cd_debugfs_add(9) page from the Kernel API Manual β yes, the manual name is folded in right here at the top instead of getting its own copied header line, we love a lil title-card moment β¨. This is the kernel API function that creates a debugfs directory and files for a device, and weβre keeping every single technical crumb exactly as-is, fr fr.
πΈ NAME πΈ
lwmi_cd_debugfs_add β Create debugfs directory and files for a device. Thatβs the official one-liner, and honestly it ate: create a debugfs directory and files for a device. Periodt π
.
π¦ SYNOPSIS π¦
the signature, verbatim, no edits, no cleverness:
void lwmi_cd_debugfs_add (struct lwmi_cd_priv *priv );
π ARGUMENTS π
privβ lenovo-wmi-capdata driver data. Thatβs the driver data for lenovo-wmi-capdata, and yep, the parameter is literally calledprivπ«Ά.
π SEE ALSO π
okay the whole see-also squad is here, no one left behind:
- Kernel file
./drivers/platform/x86/lenovo/wmi-capdata.c 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_fan_show(9)lwmi_cd_debugfs_show(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 every single reference from the original list, bestie β not me dropping a single (9) π.
cute sign-off time: the source/version in the footer is ./drivers/platform/x86/lenovo, and the date is October 2026. The page name is still lwmi_cd_debugfs_add(9), obviously. byeee, go create those debugfs directory-and-files vibes π
β¨
π¦ 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