devm_cxl_add_dport_by_dev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so this page is devm_cxl_add_dport_by_dev(9) from the Kernel API Manual, and it's literally here to allocate a dport by dport device ✨

✨ SYNOPSIS ✨

struct cxl_dport * devm_cxl_add_dport_by_dev (struct cxl_port *port ,
       struct device *dport_dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • port β€” the cxl_port that hosts the dport 🫢
  • dport_dev β€” the dport device; the original page leaves its description blank, so no invented lore here πŸ™ˆ

πŸ’… DESCRIPTION πŸ’…

Returns the allocated dport on success, or an ERR_PTR of -errno on error 😭✨

πŸ¦‹ SEE ALSO πŸ¦‹


source/version: ./drivers/cxl/core Β· date: October 2026 β€” signing off, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from