Lines Matching refs:stat
163 u32 stat;
165 stat = readl(SAR_REG_STAT);
166 while (stat & SAR_STAT_CMDBZ)
167 stat = readl(SAR_REG_STAT);
1018 u32 stat;
1021 stat = le32_to_cpu(rsqe->word_4);
1023 if (stat & SAR_RSQE_IDLE) {
1073 for (i = (stat & SAR_RSQE_CELLCNT); i; i--) {
1089 aal0 |= (stat & SAR_RSQE_EPDU) ? 0x00000002 : 0;
1090 aal0 |= (stat & SAR_RSQE_CLP) ? 0x00000001 : 0;
1113 skb->len = (stat & SAR_RSQE_CELLCNT) * ATM_CELL_PAYLOAD;
1120 if (stat & SAR_RSQE_EPDU) {
1139 if (stat & SAR_RSQE_CRC) {
1410 u32 conn, stat;
1424 stat = le32_to_cpu(tsqe->word_2);
1426 if (stat & SAR_TSQE_INVALID)
1434 switch (stat & SAR_TSQE_TYPE) {
1443 if (SAR_TSQE_TAG(stat) == 0x10) {
1518 stat = le32_to_cpu(tsqe->word_2);
1520 } while (!(stat & SAR_TSQE_INVALID));
2717 u32 stat;
2719 stat = readl(SAR_REG_STAT) & 0xffff;
2720 if (!stat) /* no interrupt for us */
2728 writel(stat, SAR_REG_STAT); /* reset interrupt */
2730 if (stat & SAR_STAT_TSIF) { /* entry written to TSQ */
2735 if (stat & SAR_STAT_TXICP) { /* Incomplete CS-PDU has */
2742 if (stat & SAR_STAT_TSQF) { /* TSQ 7/8 full */
2747 if (stat & SAR_STAT_TMROF) { /* Timer overflow */
2753 if (stat & SAR_STAT_EPDU) { /* Got complete CS-PDU */
2758 if (stat & SAR_STAT_RSQAF) { /* RSQ is 7/8 full */
2763 if (stat & SAR_STAT_RSQF) { /* RSQ is full */
2768 if (stat & SAR_STAT_RAWCF) { /* Raw cell received */
2774 if (stat & SAR_STAT_PHYI) { /* PHY device interrupt */
2781 if (stat & (SAR_STAT_FBQ0A | SAR_STAT_FBQ1A |
2786 INTPRINTK("%s: FBQA: %04x\n", card->name, stat);
2788 if (stat & SAR_STAT_FBQ0A)
2790 if (stat & SAR_STAT_FBQ1A)
2792 if (stat & SAR_STAT_FBQ2A)
2794 if (stat & SAR_STAT_FBQ3A)
2810 u32 stat;
2814 stat = readl(SAR_REG_STAT) >> 16;
2816 if ((stat & 0x0f) < SAR_FBQ0_HIGH) {
2821 stat >>= 4;
2822 if ((stat & 0x0f) < SAR_FBQ1_HIGH) {
2827 stat >>= 4;
2828 if ((stat & 0x0f) < SAR_FBQ2_HIGH) {
2833 stat >>= 4;
2834 if ((stat & 0x0f) < SAR_FBQ3_HIGH) {