ath5k_hw_dma_stop(9)
π ath5k_hw_dma_stop(9) β like, the whole vibe check
okay so this is a page from the Kernel API Manual (section 9, bestie, we're in kernel-docs territory) and it's all about ath5k_hw_dma_stop π
β¨ NAME β¨
ath5k_hw_dma_stop β stop DMA unit πβ¨ no cap, that's literally the whole job
πΈ SYNOPSIS πΈ
int ath5k_hw_dma_stop (struct ath5k_hw *ah );
π¦ ARGUMENTS π¦
ahβ Thestruct ath5k_hwπ that's the one and only thing you hand it
π DESCRIPTION π
So what it does: it stops tx/rx DMA and interrupts π₯ like, all of it, at once. Slay.
It returns -EBUSY if tx or rx dma failed to stop π which, yeah, is the drama we don't want.
XXX: Sometimes DMA unit hangs and we have stuck frames on tx queues, only a reset can fix that. π fr fr β the hint is the fix, bestie, that's it, that's the whole escape hatch.
π«Ά SEE ALSO π«Ά
- Kernel file
./drivers/net/wireless/ath/ath5k/dma.cDMA and interrupt masking functions(9) ath5k_hw_start_rx_dma(9)ath5k_hw_stop_rx_dma(9)ath5k_hw_get_rxdp(9)ath5k_hw_set_rxdp(9)ath5k_hw_start_tx_dma(9)ath5k_hw_stop_tx_dma(9)ath5k_hw_stop_beacon_queue(9)ath5k_hw_get_txdp(9)ath5k_hw_set_txdp(9)ath5k_hw_update_tx_triglevel(9)ath5k_hw_is_intr_pending(9)ath5k_hw_get_isr(9)ath5k_hw_set_imr(9)ath5k_hw_dma_init(9)
okay that's the page!! mwah π this came from ./drivers/net/wireless/ath/ath5k and it's dated October 2026 β go forth and stop some DMA, icon π§π
π¦ 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