Lines Matching refs:irq1
891 static void adf7242_debug(struct adf7242_local *lp, u8 irq1) in adf7242_debug() argument
899 __func__, irq1, in adf7242_debug()
900 irq1 & IRQ_CCA_COMPLETE ? "IRQ_CCA_COMPLETE\n" : "", in adf7242_debug()
901 irq1 & IRQ_SFD_RX ? "IRQ_SFD_RX\n" : "", in adf7242_debug()
902 irq1 & IRQ_SFD_TX ? "IRQ_SFD_TX\n" : "", in adf7242_debug()
903 irq1 & IRQ_RX_PKT_RCVD ? "IRQ_RX_PKT_RCVD\n" : "", in adf7242_debug()
904 irq1 & IRQ_TX_PKT_SENT ? "IRQ_TX_PKT_SENT\n" : "", in adf7242_debug()
905 irq1 & IRQ_CSMA_CA ? "IRQ_CSMA_CA\n" : "", in adf7242_debug()
906 irq1 & IRQ_FRAME_VALID ? "IRQ_FRAME_VALID\n" : "", in adf7242_debug()
907 irq1 & IRQ_ADDRESS_VALID ? "IRQ_ADDRESS_VALID\n" : ""); in adf7242_debug()
924 u8 irq1; in adf7242_isr() local
928 adf7242_read_reg(lp, REG_IRQ1_SRC1, &irq1); in adf7242_isr()
929 adf7242_write_reg(lp, REG_IRQ1_SRC1, irq1); in adf7242_isr()
931 if (!(irq1 & (IRQ_RX_PKT_RCVD | IRQ_CSMA_CA))) in adf7242_isr()
933 __func__, irq1); in adf7242_isr()
935 adf7242_debug(lp, irq1); in adf7242_isr()
939 if (xmit && (irq1 & IRQ_CSMA_CA)) { in adf7242_isr()
960 } else if (!xmit && (irq1 & IRQ_RX_PKT_RCVD) && in adf7242_isr()
961 (irq1 & IRQ_FRAME_VALID)) { in adf7242_isr()
966 __func__, __LINE__, irq1); in adf7242_isr()
976 __func__, __LINE__, irq1, xmit); in adf7242_isr()
1074 u8 stat, irq1; in adf7242_stats_show() local
1077 adf7242_read_reg(lp, REG_IRQ1_SRC1, &irq1); in adf7242_stats_show()
1079 seq_printf(file, "IRQ1 = %X:\n%s%s%s%s%s%s%s%s\n", irq1, in adf7242_stats_show()
1080 irq1 & IRQ_CCA_COMPLETE ? "IRQ_CCA_COMPLETE\n" : "", in adf7242_stats_show()
1081 irq1 & IRQ_SFD_RX ? "IRQ_SFD_RX\n" : "", in adf7242_stats_show()
1082 irq1 & IRQ_SFD_TX ? "IRQ_SFD_TX\n" : "", in adf7242_stats_show()
1083 irq1 & IRQ_RX_PKT_RCVD ? "IRQ_RX_PKT_RCVD\n" : "", in adf7242_stats_show()
1084 irq1 & IRQ_TX_PKT_SENT ? "IRQ_TX_PKT_SENT\n" : "", in adf7242_stats_show()
1085 irq1 & IRQ_CSMA_CA ? "IRQ_CSMA_CA\n" : "", in adf7242_stats_show()
1086 irq1 & IRQ_FRAME_VALID ? "IRQ_FRAME_VALID\n" : "", in adf7242_stats_show()
1087 irq1 & IRQ_ADDRESS_VALID ? "IRQ_ADDRESS_VALID\n" : ""); in adf7242_stats_show()