plx9080_abort_dma(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– plx9080_abort_dma πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” today's main character is plx9080_abort_dma, and yes she's here to abort a PLX PCI 9080 DMA transfer. like, she stops the thing. that's her whole job and she eats every time πŸ’…


✨ SYNOPSIS ✨

int plx9080_abort_dma (void __iomem *iobase , unsigned int channel );

that's the whole signature, no cap 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • iobase β€” the remapped base address of the configuration registers. literally where the config registers live, k?
  • channel β€” the DMA channel number, and it's 0 or 1. only those two, bestie, don't get creative πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

so what she does: she aborts the DMA transfer on the channel πŸ’€πŸ”₯

but here's the vibe check β€” that channel has to have been enabled and started beforehand. like, you can't abort something that was never running, that's not how any of this works 😭 it's giving "you have to actually start the homework before you can procrastinate on it."


🌸 RETURN 🌸

  • 0 on success β€” slay, the abort went through πŸŽ‰
  • -ETIMEDOUT if it timed out waiting for the abort to complete β€” yeah, she waited and it never finished, so that's the error you get πŸ˜”

🧚 SEE ALSO 🧚

  • Kernel file ./drivers/comedi/drivers/plx9080.h 🌈
  • struct plx_dma_desc(9) β€” go read it, iykyk πŸ‘‘

bestie reminder: the channel must be enabled and started beforehand, and if the abort doesn't complete in time you're getting -ETIMEDOUT. that's the whole tea β˜• πŸ’œ

and that's the page!! brought to you by ./drivers/comedi/drivers πŸ“ β€” October 2026, plx9080_abort_dma(9), periodt πŸ’…βœ¨

πŸ“¦ where this page comes from