ath5k_hw_set_imr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to ath5k_hw_set_imr(9) from the Kernel API Manual πŸ’– the function is ath5k_hw_set_imr, and the NAME section is literally: Set interrupt mask. That’s the whole assignment, periodt.

🌸 SYNOPSIS 🌸

enum ath5k_int ath5k_hw_set_imr (struct ath5k_hw *ah , enum ath5k_int
       new_mask );

πŸŽ€ ARGUMENTS πŸŽ€

  • ah β€” the struct ath5k_hw. That’s the hardware struct, bestie, the main character of this function.
  • new_mask β€” the new interrupt mask to be set. Fresh mask, who dis? πŸ’…

πŸ’… DESCRIPTION πŸ’…

okay so this one sets the interrupt mask in hw to save interrupts. The way we do it is very demure: map the ath5k_int bits to hw-specific bits to remove abstraction, then write the Interrupt Mask Register. That’s the whole glow-up, no cap. ✨

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/net/wireless/ath/ath5k/dma.c DMA 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_dma_init(9), ath5k_hw_dma_stop(9) 🫢

that’s the page, bestie β€” source/version ./drivers/net/wireless/ath/ath5k, dated October 2026 πŸ’–βœ¨

πŸ“¦ where this page comes from