rdc_set_piomode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rdc_set_piomode(9) β€” the Kernel API Manual glow-up

okay so bestie, you're in the kernel API manual, this is the kernel manual, we are so far past userspace rn. This page is rdc_set_piomode(9), and it does exactly one thing and does it iconically: sets up the PIO timings for a host controller. PATA era. Retro. Vintage. Lowkey giving floppy-disk-diva. πŸŽ€


✨ NAME ✨

rdc_set_piomode β€” the little function whose whole job is to initialize host controller PATA PIO timings, no cap πŸ’–


🌸 SYNOPSIS 🌸

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

Look at her. Returns void. Takes two pointers. Calm, collected, main character energy. πŸ¦‹


⭐ ARGUMENTS ⭐

  • ap β€” the port whose timings we're configuring, iykyk 🫢
  • adev β€” literally just says um in the source, and honestly? Relatable. That's the whole description. She said "um" and left. Not me cackling at a manpage πŸ’€
fr fr, adev is the device argument, the docs just hand you um and walk away. Iconic behaviour, honestly.

πŸ”₯ DESCRIPTION πŸ”₯

She sets the PIO mode for the device β€” and where does she do it? In the host controller PCI config space. That's the venue. That's the vibe. ✨

LOCKING: None (inherited from caller).

Which means no locks are taken here, bestie β€” she's inheriting that responsibility from whoever called her. So if you're the caller, the locking is your character arc, not hers. πŸ‘‘


πŸ¦‹ SEE ALREADY-KNOWN ICONS (SEE ALSO) πŸ¦‹

Kernel file ./drivers/ata/pata_rdc.c and her whole friend group:

They all live in the same file, they all show up to the function together. Squad goals. 🌈


πŸ’œ THE SIGN-OFF πŸ’œ

This page came from the source path ./drivers/ata, and it's dated October 2026 β€” yes, the future, she's ahead of her time. 🌸 Go set some PIO timings, bestie. Slay. Periodt. πŸ’…

rdc_set_piomode(9) β€” the Kernel API Manual. Mwah. 😘

πŸ“¦ where this page comes from