__cxl_driver_register(9)
π __cxl_driver_register(9) β Kernel API Manual π
okay bestie, welcome to the Kernel API Manual β¨ this page is all about registering a driver for the cxl bus, and we're gonna keep every detail cute and intact π¦
πΈ NAME πΈ
__cxl_driver_register β register a driver for the cxl bus. periodt π
π SYNOPSIS π
int __cxl_driver_register (struct cxl_driver *cxl_drv , struct module *owner , const char *modname );
no cap, that's the exact signature π«Ά
π ARGUMENTS π
cxl_drvβ the cxl driver structure to attach. this is the main character of the call πownerβ the owning module/driver. gotta know whose driver this is πmodnameβKBUILD_MODNAMEfor the parent driver. yep, literally that string π₯
π SEE ALSO π
Kernel file ./drivers/cxl/core/port.c, plus all these besties:
cxl core(9)devm_cxl_add_port(9)devm_cxl_add_dport(9)devm_cxl_add_rch_dport(9)cxl_add_ep(9)find_cxl_port_by_dport(9)find_cxl_port_by_uport(9)cxl_decoder_init(9)cxl_root_decoder_alloc(9)cxl_switch_decoder_alloc(9)cxl_endpoint_decoder_alloc(9)cxl_decoder_add_locked(9)cxl_decoder_add(9)cxl_endpoint_get_perf_coordinates(9)
byeee bestie π source/version: ./drivers/cxl/core, date: October 2026, and this was your __cxl_driver_register(9) page signing off π«Άβ¨
π¦ 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