piix_set_piomode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… piix_set_piomode(9) β€” Kernel API Manual πŸ’…

πŸ’– NAME πŸ’–

piix_set_piomode β€” initialize host controller PATA PIO timings. That’s the whole slay: it’s the function that gets those host controller PATA PIO timings initialized. πŸŽ€

✨ SYNOPSIS ✨

void piix_set_piomode (struct ata_port *ap , struct ata_device *adev );

🫢 ARGUMENTS 🫢

  • ap β€” Port whose timings we are configuring. The port we’re configuring the timings for, bestie β€” that’s the one.
  • adev β€” Drive in question. The drive in question, literally the drive we’re talking about. πŸ™ˆ

🌸 DESCRIPTION 🌸

Set PIO mode for device, in host controller PCI config space. So yes: the device gets its PIO mode set, and the setting happens in the host controller PCI config space. That’s the vibe, that’s the function. πŸ’…

LOCKING: None (inherited from caller). No locks live in here β€” it inherits the locking from whoever called it. Not me adding lore, that’s just the note. 😌

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/ata/ata_piix.c is the home base, and these are the related besties, in order:

okay bye bestie, that’s piix_set_piomode(9) from source ./drivers/ata, dated October 2026 β€” mwah πŸ’‹

πŸ“¦ where this page comes from