Lines Matching refs:isr

288 	u32 isr;  in wil6210_irq_rx()  local
293 isr = wil_ioread32_and_clear(wil->csr + in wil6210_irq_rx()
297 trace_wil6210_irq_rx(isr); in wil6210_irq_rx()
298 wil_dbg_irq(wil, "ISR RX 0x%08x\n", isr); in wil6210_irq_rx()
300 if (unlikely(!isr)) { in wil6210_irq_rx()
312 if (likely(isr & (BIT_DMA_EP_RX_ICR_RX_DONE | in wil6210_irq_rx()
315 isr); in wil6210_irq_rx()
317 isr &= ~(BIT_DMA_EP_RX_ICR_RX_DONE | in wil6210_irq_rx()
334 if (unlikely(isr)) in wil6210_irq_rx()
335 wil_err(wil, "un-handled RX ISR bits 0x%08x\n", isr); in wil6210_irq_rx()
350 u32 isr; in wil6210_irq_rx_edma() local
355 isr = wil_ioread32_and_clear(wil->csr + in wil6210_irq_rx_edma()
359 trace_wil6210_irq_rx(isr); in wil6210_irq_rx_edma()
360 wil_dbg_irq(wil, "ISR RX 0x%08x\n", isr); in wil6210_irq_rx_edma()
362 if (unlikely(!isr)) { in wil6210_irq_rx_edma()
368 if (likely(isr & BIT_RX_STATUS_IRQ)) { in wil6210_irq_rx_edma()
370 isr &= ~BIT_RX_STATUS_IRQ; in wil6210_irq_rx_edma()
385 if (unlikely(isr)) in wil6210_irq_rx_edma()
386 wil_err(wil, "un-handled RX ISR bits 0x%08x\n", isr); in wil6210_irq_rx_edma()
401 u32 isr; in wil6210_irq_tx_edma() local
406 isr = wil_ioread32_and_clear(wil->csr + in wil6210_irq_tx_edma()
410 trace_wil6210_irq_tx(isr); in wil6210_irq_tx_edma()
411 wil_dbg_irq(wil, "ISR TX 0x%08x\n", isr); in wil6210_irq_tx_edma()
413 if (unlikely(!isr)) { in wil6210_irq_tx_edma()
419 if (likely(isr & BIT_TX_STATUS_IRQ)) { in wil6210_irq_tx_edma()
421 isr &= ~BIT_TX_STATUS_IRQ; in wil6210_irq_tx_edma()
431 if (unlikely(isr)) in wil6210_irq_tx_edma()
432 wil_err(wil, "un-handled TX ISR bits 0x%08x\n", isr); in wil6210_irq_tx_edma()
447 u32 isr; in wil6210_irq_tx() local
452 isr = wil_ioread32_and_clear(wil->csr + in wil6210_irq_tx()
456 trace_wil6210_irq_tx(isr); in wil6210_irq_tx()
457 wil_dbg_irq(wil, "ISR TX 0x%08x\n", isr); in wil6210_irq_tx()
459 if (unlikely(!isr)) { in wil6210_irq_tx()
465 if (likely(isr & BIT_DMA_EP_TX_ICR_TX_DONE)) { in wil6210_irq_tx()
467 isr &= ~BIT_DMA_EP_TX_ICR_TX_DONE; in wil6210_irq_tx()
469 isr &= ~(BIT(25) - 1UL); in wil6210_irq_tx()
479 if (unlikely(isr)) in wil6210_irq_tx()
481 isr); in wil6210_irq_tx()
536 u32 isr; in wil6210_irq_misc() local
540 isr = wil_ioread32_and_clear(wil->csr + in wil6210_irq_misc()
544 trace_wil6210_irq_misc(isr); in wil6210_irq_misc()
545 wil_dbg_irq(wil, "ISR MISC 0x%08x\n", isr); in wil6210_irq_misc()
547 if (!isr) { in wil6210_irq_misc()
553 if (isr & ISR_MISC_FW_ERROR) { in wil6210_irq_misc()
569 if (isr & ISR_MISC_FW_READY) { in wil6210_irq_misc()
578 isr &= ~ISR_MISC_FW_READY; in wil6210_irq_misc()
581 if (isr & BIT_DMA_EP_MISC_ICR_HALP) { in wil6210_irq_misc()
582 isr &= ~BIT_DMA_EP_MISC_ICR_HALP; in wil6210_irq_misc()
592 wil->isr_misc = isr; in wil6210_irq_misc()
594 if (isr) { in wil6210_irq_misc()
605 u32 isr = wil->isr_misc; in wil6210_irq_misc_thread() local
607 trace_wil6210_irq_misc_thread(isr); in wil6210_irq_misc_thread()
608 wil_dbg_irq(wil, "Thread ISR MISC 0x%08x\n", isr); in wil6210_irq_misc_thread()
610 if (isr & ISR_MISC_FW_ERROR) { in wil6210_irq_misc_thread()
614 isr &= ~ISR_MISC_FW_ERROR; in wil6210_irq_misc_thread()
623 if (isr & ISR_MISC_MBOX_EVT) { in wil6210_irq_misc_thread()
626 isr &= ~ISR_MISC_MBOX_EVT; in wil6210_irq_misc_thread()
629 if (isr) in wil6210_irq_misc_thread()
630 wil_dbg_irq(wil, "un-handled MISC ISR bits 0x%08x\n", isr); in wil6210_irq_misc_thread()