ata_acpi_set_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the ata_acpi_set_state(9) page from the Kernel API Manual β€” it's giving very niche kernel energy and i'm lowkey obsessed πŸ’…βœ¨

πŸ’– NAME πŸ’–

ata_acpi_set_state β€” set the port power state. that's the name, no cap 🫢

🌸 SYNOPSIS 🌸

void ata_acpi_set_state (struct ata_port *ap , pm_message_t state );

πŸŽ€ ARGUMENTS πŸŽ€

  • ap β€” the target ATA port, literally your port bestie πŸ’–
  • state β€” the state, and it's an on/off situation πŸ¦‹

✨ DESCRIPTION ✨

So this function is the one that sets a proper ACPI D state for the device when system PM and runtime PM operations are doing their thing. it's literally here for that, and that's the whole vibe check ⭐

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file is right here: ./drivers/ata/libata-acpi.c β€” go look, iykyk πŸ‘‘


mwah πŸ’‹ source/version: ./drivers/ata; date: October 2026; page: ata_acpi_set_state(9). that's literally the whole footer folded into this cute little sign-off, periodt πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from