lwmi_cd_match_add_all(9)
π lwmi_cd_match_add_all(9) β Kernel API Manual, bestie π
okay so welcome to the Kernel API Manual page for lwmi_cd_match_add_all(9), and she is serving βadd all the match rules for the master driverβ realness. no cap, this oneβs a tiny function with big component-match energy π«Ά
πΈ NAME πΈ
lwmi_cd_match_add_all β Add all match rule for the master driver. periodt. π
β¨ SYNOPSIS β¨
void lwmi_cd_match_add_all (struct device *master , struct
component_match **matchptr );
π ARGUMENTS π
masterβ pointer to the master device. thatβs the main-character device in this situation πmatchptrβ pointer to the returnedcomponent_matchpointer. yes bestie, a pointer to a pointer; the matching list lives through it π¦
π¦ DESCRIPTION π¦
okay so what she does: lwmi_cd_match_add_all adds all component matches to the list stored in matchptr for the master device. itβs giving βcollect every match, put them in the list, doneβ β¨
β οΈ real talk:matchptrmust be initialized toNULL. this is not a vibe-check-optional situation; initialize it toNULL, bestie π
π SEE ALSO π
Kernel file: ./drivers/platform/x86/lenovo/wmi-capdata.c
lwmi_cd_match(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_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)
and thatβs the whole page, bestie π«Ά signed off with source/version ./drivers/platform/x86/lenovo and date October 2026 β mwah π
π¦ 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