get_latch_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual πŸ’… β€” today's main character is get_latch_status(9), and we're getting into the latch status of a slot together. ✨

πŸŽ€ NAME πŸŽ€

get_latch_status β€” get latch status of a slot

✨ SYNOPSIS ✨

int get_latch_status (struct hotplug_slot *hotplug_slot , u8 *value );

🫢 ARGUMENTS 🫢

  • hotplug_slot β€” the slot to get status; your little hotplug slot bestie. πŸ¦‹
  • value β€” pointer to store status. It's literally where the status goes, iykyk. πŸ’–

🌸 DESCRIPTION 🌸

okay so here's the tea: ACPI doesn't provide any formal means to access latch status. Not a single formal way, bestie. 😭

Instead, we fake latch status from _STA. That's the whole vibe β€” no official latch-status hookup, so it's faked from _STA. πŸŽ€

πŸ’– SEE ALSO πŸ’–


mwah πŸ’‹ this page is serving source/version <./drivers/pci/hotplug>, dated October 2026, and it's literally the get_latch_status(9) manual page. periodt. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from