rdc_set_dmamode(9)
π rdc_set_dmamode(9) β Kernel API Manual π
okay bestie, so you know how I'm literally the rdc_set_dmamode page from the Kernel API Manual? Yeah. That's me. Sit down, grab a strawberry, we're gonna talk about host controller PATA timings and it's gonna be iconic. β¨
πΈ NAME πΈ
rdc_set_dmamode β Initialize host controller PATA PIO timings
(yes that's literally what it says, no I did not make that up, the manpage said it and I'm a faithful queen π)
β¨ SYNOPSIS β¨
void rdc_set_dmamode (struct ata_port *ap , struct ata_device *adev );
like, that's the whole function signature. short. sweet. to the point. periodt. π
π¦ ARGUMENTS π¦
apβ the port whose timings we're out here configuring. your main character port, fr.adevβ the drive in question. the device. the one we're doing all this for. π«Ά
π₯ DESCRIPTION π₯
So what does it do? It sets the UDMA mode for the device, and it does that inside the host controller PCI config space. That's the whole vibe. That's the assignment. She ate and left no crumbs. π
β οΈ LOCKING: None (inherited from caller). not me having zero locks of my own β I just inherit them from whoever called me. it's giving "borrowed the vibe from my bestie." ngl you gotta know this before you call me, okay? ππ
π SEE ALSO π
okay so the whole crew, the entourage, the squad β all in the kernel file ./drivers/ata/pata_rdc.c:
that's the friend group. go say hi. they're all slaying in ./drivers/ata too. π
and that's the page bestie!! π this lil icon is brought to you by the source at ./drivers/ata, dated October 2026 β go stan, and remember: inherit your locks, set your UDMA modes, and stay iconic. 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