acpi_get_gen..._coordinates(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… acpi_get_gen..._coordinates(9) πŸ’…

okay so first things first, bestie β€” this is a page out of the Kernel API Manual, and the function's full name is acpi_get_genport_coordinates. we're learning kernel internals today and honestly? we're slaying it 🫢


✨ NAME ✨

acpi_get_genport_coordinates β€” retrieve the access coordinates for a generic port 🌸


πŸŽ€ SYNOPSIS πŸŽ€

int acpi_get_genport_coordinates(u32 uid, struct access_coordinate *coord);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • uid β€” the ACPI unique id. it's the little name tag that tells you which thing we're talking about 🏷️
  • coord β€” the access coordinates get written back out for the generic port. heads up: expect a 2 levels array, no cap, that's just how it is πŸ’…

⭐ RETURN ⭐

0 on success. Errno on failure. that's the whole vibe check β€” zero means we ate, anything else means something went sideways 😭


πŸ”₯ DESCRIPTION πŸ”₯

Only supports device handles that are ACPI. periodt. and it assumes ACPI0016 HID for CXL β€” like, that's the assumption baked in, don't come for her 🫢


🌈 SEE ALSO 🌈


ngl bestie, the description here is short and sweet β€” but that's literally all there is, so we're not gonna invent extra lore. facts only, always πŸ’–

and that's the whole page, mwah πŸ’‹ β€” this one came from ./drivers/acpi/numa, dated October 2026, and yeah the header and footer up top and down there are the same thing, iconic of them tbh πŸ§šπŸ’œ

πŸ“¦ where this page comes from