cxl_endpoint_decoder_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cxl_endpoint_decoder_alloc πŸ’…

okay bestie so we're in the Kernel API Manual and the function we're stanning today is cxl_endpoint_decoder_alloc β€” it's literally the glow-up step where an endpoint decoder gets allocated ✨ like, before it's a real registered decoder it's just a baby in the allocator, and that's this function's whole job πŸŽ€


🌸 SYNOPSIS 🌸

struct cxl_endpoint_decoder * cxl_endpoint_decoder_alloc (struct cxl_port *port );

no cap, that's the whole signature 🫢


✨ ARGUMENTS ✨

  • port β€” the owning port of this decoder, aka the main character whose decoder this is πŸ’…

πŸ¦‹ RETURN πŸ¦‹

you get back a shiny new cxl decoder, and the plan is that it gets registered by cxl_decoder_add 🌈 (yes queen, alloc then add, that's the pipeline πŸ”₯)

lowkey important: this is the to-be-registered era, so don't think it's already wired up β€” cxl_decoder_add comes later, fr fr.

πŸ‘‘ SEE ALSO πŸ‘‘

like a whole friend group of related calls, and you're gonna want the receipts:


πŸ’– okay that's the whole page bestie, go forth and allocate πŸ’–

and for the cute sign-off πŸŽ€: this one lives in ./drivers/cxl/core, dated October 2026, from the Kernel API Manual β€” iconic, periodt ⭐

πŸ“¦ where this page comes from