efar_set_dmamode(9)
π efar_set_dmamode(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a little function page and it's genuinely iconic in a quiet, behind-the-scenes way β think main character energy but for PATA DMA timings π
πΈ NAME πΈ
efar_set_dmamode β initialize host controller PATA DMA timings π¦
like, that's the whole vibe. it sets up the DMA timing stuff on the host controller. no cap.
β¨ SYNOPSIS β¨
void efar_set_dmamode (struct ata_port *ap , struct ata_device *adev );
yes it returns void, so don't go looking for a return value, there isn't one, she simply does her thing and leaves π
π«Ά ARGUMENTS π«Ά
apβ the port whose timings we're configuring, like this is the port we're giving a little makeover to πadevβ the device to program, aka the one actually getting the glow-up π
π DESCRIPTION π
Set UDMA/MWDMA mode for device, in host controller PCI config space. π literally that's it, she goes in and sets the UDMA/MWDMA mode for the device, and it happens in the host controller PCI config space. slay.
LOCKING: None (inherited from caller). β οΈ so she does not do any locking herself, she inherits it from whoever called her β if you're the caller, the locking is your problem bestie, don't come for her π
π SEE ALSO π
Kernel file ./drivers/ata/pata_efar.c β go read it, iykyk π
like the whole friend group fr fr π«Ά
β sign-off β
and that's the page!! π¦ this little gem lives under ./drivers/ata, and she's dated October 2026 β go off, bestie πβ¨π
π¦ 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