devm_cxl_add_dport(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the cxl_port that 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 🌈


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