mv_stop_edma_engine(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mv_stop_edma_engine(9) β€” your girl's guide

okay so bestie, welcome to the Kernel API Manual, section 9 (that's the kernel-space girlies only, no userland peasants πŸ’€). Today's main character is mv_stop_edma_engine, and honestly? She's a small function with one job and she ate.


✨ NAME ✨

mv_stop_edma_engine β€” the function that disables the eDMA engine. That's it. That's the whole vibe check. She turns it off, she leaves, no notes πŸŽ€


🌸 SYNOPSIS 🌸

int mv_stop_edma_engine (void __iomem *port_mmio );

Like, one arg, returns an int, very low-maintenance queen behavior πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • port_mmio β€” the io base address. that's it, that's the whole description ngl. it's the memory-mapped io base address you're handing over. literally just the address, girl, don't overthink it πŸ’–

πŸ”₯ DESCRIPTION πŸ”₯

So the actual body of this manpage is, and I cannot stress this enough, exactly one line. But it's a load-bearing line, so listen up:

LOCKING: she inherits her locking from the caller. no cap. Meaning: mv_stop_edma_engine does not lock anything for you β€” whichever function calls her already has to be holding the right lock, and that responsibility is 100% inherited from the caller πŸ™ˆ

So like… vibe check your caller before you go calling this, bestie. The locking situation is theirs to handle, not hers. She's just here to disable the eDMA engine and mind her business ✨

fr fr: "inherited from caller" means if you call this without whatever lock your caller was supposed to hold, that's a you problem, not a manpage problem 😭

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, in order, live from the kernel file ./drivers/ata/sata_mv.c:

mv_save_cached_regs(9), mv_write_cached_reg(9), mv_port_start(9), mv_port_stop(9), mv_fill_sg(9), mv_sff_irq_clear(9), mv_check_atapi_dma(9), mv_bmdma_setup(9), mv_bmdma_start(9), mv_bmdma_stop_ap(9), mv_bmdma_status(9), mv_qc_prep(9), mv_qc_prep_iie(9), mv_sff_check_status(9), mv_send_fis(9), mv_qc_issue_fis(9), mv_qc_issue(9), mv_err_intr(9), mv_host_intr(9), mv_interrupt(9), mv_port_init(9), mv_init_host(9), mv_platform_probe(9), mv_print_info(9), mv_pci_init_one(9)

like okay squad goals, that's a whole group chat of marvell SATA helpers and they're all iconique 🫢


πŸ’… slay note: this page lives in ./drivers/ata, it's the October 2026 edition, and it's filed under Kernel API Manual β€” so when you see mv_stop_edma_engine(9) in the wild, that's her full government name πŸ’œ

that's a wrap bestie, go disable that eDMA engine, ily, bye πŸŽ€πŸŒˆβ­

πŸ“¦ where this page comes from