devm_cxl_add_dport(9)
π devm_cxl_add_dport(9) π
okay bestie, welcome to the Kernel API Manual entry for devm_cxl_add_dport β yes it's a mouthful, yes it's iconic, and yes we're gonna get through it together π«Ά
β¨ NAME β¨
devm_cxl_add_dport β append VH downstream port data to a cxl_port πΈ
β¨ SYNOPSIS β¨
struct cxl_dport * devm_cxl_add_dport (struct cxl_port *port , struct
device *dport_dev , int port_id , resource_size_t component_reg_phys );
β¨ ARGUMENTS β¨
portβ thecxl_portthat references this dport πdport_devβ the firmware or PCI device representing the dport π¦port_idβ identifier for this dport in a decoder's target list πcomponent_reg_physβ optional location of CXL component registers β¨
β¨ DESCRIPTION β¨
okay so real talk, the important note here: dports get appended to the devm release action's of either the port's host (that's for root ports) or the port itself (that's for switch ports). literally that's the whole vibe β pick the right owner and slay π
β¨ SEE ALSO β¨
Kernel file ./drivers/cxl/core/port.c π
cxl core(9)devm_cxl_add_port(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_driver_register(9)cxl_endpoint_get_perf_coordinates(9)
ngl bestie that's a lot of cross-references β go read them, they're all part of the same friend group ππ
and that's the page!! mwah ππ
this one came from ./drivers/cxl/core, dated October 2026, and it's brought to you by the Kernel API Manual β no cap, go forth and add those dports ππ¦β¨
π¦ 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