cxl_coordinates_combine(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ cxl_coordinates_combine πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ this one's a lil function page from the kernel world and it's genuinely so simple it's almost iconic. She takes two coordinates and smushes them into one. That's the whole gig. Periodt. πŸŽ€

✨ NAME ✨

cxl_coordinates_combine β€” combine the two input coordinates 🫢

✨ SYNOPSIS ✨

void cxl_coordinates_combine (struct access_coordinate *out , struct access_coordinate *c1 , struct access_coordinate *c2 );

like, look at her. three pointers, no stress, no return value. she's giving low maintenance queen πŸ‘‘ note the lil spaces around those commas β€” that's literally how it's written, don't come for me, copy it exactly fr fr.

✨ ARGUMENTS ✨

  • out β€” the output coordinate πŸ¦‹ this is where the combined c1 + c2 magic lands, i.e. the output coordinate of c1 and c2 combined
  • c1 β€” input coordinates 🌸 one of the two things getting combined
  • c2 β€” input coordinates 🌈 the other one, also input coordinates, also getting combined
πŸ’€ friendly lil heads up: out is the output, c1 and c2 are both inputs. don't mix them up and hand her the same pointer twice expecting a miracle, iykyk.

✨ SEE ALSO ✨

like the whole bandwidth squad is right there, go read the whole friend group 🫢✨


and that's the page, bestie!! source/version is ./drivers/cxl/core and it's dated October 2026 🌸 so like, a lil time-travelled but slaying regardless. mwah πŸ’–πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from