optidma_lock(9)
π optidma_lock β the kernel API manual, section 9, bestie
okay so welcome to optidma_lock(9), the littlest lock function in the whole ATA universe and honestly? she's doing her job and she's doing it cute π
β¨ NAME β¨
optidma_lock β issue temporary relock π
like... she re-locks. temporarily. it's giving "hold my spot, i'll be right back" energy.
πΈ SYNOPSIS πΈ
void optidma_lock (struct ata_port *ap );
that's it. that's the whole signature. no return value, no drama, just vibes and a pointer π«Ά
π¦ ARGUMENTS π¦
apβ the ATA port. that's it, that's the argument. she takes one (1) ATA port and she's happy π
π DESCRIPTION π
Re-lock the configuration register settings.
periodt. that's the whole description. she re-locks the configuration register settings, no cap, and then she gets out of your way β¨
ngl this one is short and sweet β don't go looking for extra behaviour that isn't there, bestie, the docs said what they said π
π₯ SEE ALSO π₯
okay this is the part where the friend group gets introduced, get comfy π
- Kernel file
./drivers/ata/pata_optidma.cβ the mothership, the main character, the file this whole function lives in π optidma_pre_reset(9)optidma_unlock(9)optidma_mode_setup(9)optiplus_mode_setup(9)optidma_set_pio_mode(9)optidma_set_dma_mode(9)optiplus_set_pio_mode(9)optiplus_set_dma_mode(9)optidma_make_bits43(9)optidma_set_mode(9)optiplus_with_udma(9)
the whole optidma / optiplus squad, assembled. iykyk π
π the cute sign-off π
this page lives under ./drivers/ata, and it's dated October 2026 β so yeah, she's from the future, she's iconic, she's locked (temporarily) and she ate π₯π
mwah, go read the source, ily, bye π§ββοΈπ
π¦ 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