ENUM DMA_STATUS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 enum dma_status(9) 🌸

okay bestie, so this is a page out of the Kernel API Manual and it's all about one little enum that tells you how a DMA transaction is doing. think of it as the vibe check for your DMA transfer πŸ’…


✨ NAME ✨

enum dma_status β€” the status of a DMA transaction, like a little mood ring for your hardware πŸ¦‹


✨ SYNOPSIS ✨

here's the literal shape of it, copy-paste exact, no notes:

enum dma_status {
    DMA_COMPLETE ,
    DMA_IN_PROGRESS ,
    DMA_PAUSED ,
    DMA_ERROR ,
    DMA_OUT_OF_ORDER

};

✨ Constants ✨

one by one, no skipping, we love a complete list πŸŽ€

  • DMA_COMPLETE β€” the transaction is done. finished. ate and left no crumbs ✨
  • DMA_IN_PROGRESS β€” the transaction hasn't been processed yet. it's still cooking, be patient πŸ“
  • DMA_PAUSED β€” the transaction is paused. hitting the little ⏸️ button, bestie
  • DMA_ERROR β€” the transaction failed. 😭 it's giving tragedy, and not the cute kind
  • DMA_OUT_OF_ORDER β€” honestly? the page just says -- undescribed --, so that's all we have. no cap, that's genuinely it πŸ™ˆ

🌈 SEE ALSO 🌈

okay this is the part where the page flexes its whole friend group. it lives in the kernel file ./include/linux/dmaengine.h, and it's adjacent to literally everyone:

dma_cookie_t(9), enum dma_transaction_type(9), enum dma_transfer_direction(9), struct data_chunk(9), struct dma_interleaved_template(9), struct dma_vec(9), enum dma_ctrl_flags(9), enum sum_check_bits(9), enum sum_check_flags(9), enum dma_desc_metadata_mode(9), struct dma_chan_percpu(9), struct dma_router(9), struct dma_chan(9), struct dma_chan_dev(9), enum dma_slave_buswidth(9), struct dma_slave_config(9), enum dma_residue_granularity(9), struct dma_slave_caps(9), dma_filter_fn(9), struct dma_async_tx_descriptor(9), struct dma_tx_state(9), enum dmaengine_alignment(9), struct dma_slave_map(9), struct dma_filter(9), struct dma_device(9), dmaengine_prep_peripheral_dma_vec(9), dmaengine_prep_config_sg_safe(9), dmaengine_prep_config_single_safe(9), dmaengine_prep_dma_memset(9), dmaengine_terminate_all(9), dmaengine_terminate_async(9), dmaengine_synchronize(9), dmaengine_terminate_sync(9), dma_async_issue_pending(9), dma_async_is_tx_complete(9), dma_async_is_complete(9)

like, that's the whole group chat. iykyk πŸ’œ


little reminder bestie: DMA_OUT_OF_ORDER has no description on this page, so don't go inventing one β€” we report what the manpage says and nothing more, periodt πŸ‘‘

and that's the page!! it ships out of ./include/linux, dated October 2026, and it's the enum dma_status(9) page in the Kernel API Manual 🫢 go be iconic with your DMA statuses, mwah πŸ’–

πŸ“¦ where this page comes from