rdc_set_dmamode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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