k2_bmdma_start_mmio(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… k2_bmdma_start_mmio β€” a whole manual page, bestie

okay so welcome to the Kernel API Manual ✨ this one's short and sweet, like a little snack of a manpage πŸ“


🌸 NAME 🌸

k2_bmdma_start_mmio β€” start a PCI IDE BMDMA transaction (MMIO)

like,,, that's the whole vibe. we're kicking off a BMDMA transaction, and we're doing it via MMIO. no cap 🫢


⭐ SYNOPSIS ⭐

void k2_bmdma_start_mmio (struct ata_queued_cmd *qc );

yup that's it. that's the whole signature. void return so she gives you nothing back, she just does the thing πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • qc β€” info associated with this ATA transaction. that's your whole little bundle of transaction lore, iykyk ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the one thing you actually need to know here:

LOCKING: spin_lock_irqsave(host lock)

like. that is literally the entire description. the host lock gets taken with spin_lock_irqsave. calling context matters, bestie β€” respect the lock or it's giving chaos πŸ˜­πŸ”’


πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/ata/sata_svw.c β€” go read it, she's iconic πŸ‘‘
  • k2_bmdma_setup_mmio(9) β€” the setup half of the duo, you're gonna want both 🌈

and that's the page!! mwah πŸ’–

cute little sign-off: this one lives in ./drivers/ata, and the version/date stamp says October 2026 πŸ“… so yeah, she's from the future, main character energy fr fr πŸ§šπŸ’œ

πŸ“¦ where this page comes from