rdc_set_piomode(9)
π 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 saysumin the source, and honestly? Relatable. That's the whole description. She said "um" and left. Not me cackling at a manpage π
fr fr,adevis the device argument, the docs just hand youumand 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms