devm_cxl_enumerate_decoders(9)
π devm_cxl_enumerate_decoders(9) π
okay bestie, welcome to the Kernel API Manual β¨ this one's devm_cxl_enumerate_decoders(9) and it's honestly kind of a baddie β it's the function that goes and makes decoder objects, one per HDM register set. let's get into it π
β¨ NAME β¨
devm_cxl_enumerate_decoders β add decoder objects per HDM register set π«Ά
like, one decoder per HDM register set. that's the whole vibe. no cap.
πΈ SYNOPSIS πΈ
int devm_cxl_enumerate_decoders (struct cxl_hdm *cxlhdm ,
struct cxl_endpoint_dvsec_info *info );
it returns an int, she takes two pointers, and yes she is literally that simple π
π ARGUMENTS π
cxlhdmβ a Structure to populate with HDM capabilities. she's the glow-up container bestie, you hand her over and she gets filled in with all the HDM capability info β¨infoβ the cached DVSEC range register info. it's already cached, it's already cozy, it's just sitting there being info π
π¦ SEE ALSO π¦
the whole friend group, fr fr β go check these out π:
- Kernel file
./drivers/cxl/core/hdm.c - cxl core
hdm(9) devm_cxl_setup_hdm(9)request_skip(9)devm_cxl_switch_port_decoders_setup(9)devm_cxl_endpoint_decoders_setup(9)
π friendly reminder: this page is short and sweet β if you need the deep lore, the kernel file above is right there waiting for you π§
and that's the whole page, bestie π sourced straight from the ./drivers/cxl/core directory, dated October 2026, and yeah β we were reading devm_cxl_enumerate_decoders(9) the entire time ππ slay π
π¦ 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