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) {
1409 u32 conn, stat;
1423 stat = le32_to_cpu(tsqe->word_2);
1425 if (stat & SAR_TSQE_INVALID)
1433 switch (stat & SAR_TSQE_TYPE) {
1442 if (SAR_TSQE_TAG(stat) == 0x10) {
1517 stat = le32_to_cpu(tsqe->word_2);
1519 } while (!(stat & SAR_TSQE_INVALID));
2710 u32 stat;
2712 stat = readl(SAR_REG_STAT) & 0xffff;
2713 if (!stat) /* no interrupt for us */
2721 writel(stat, SAR_REG_STAT); /* reset interrupt */
2723 if (stat & SAR_STAT_TSIF) { /* entry written to TSQ */
2728 if (stat & SAR_STAT_TXICP) { /* Incomplete CS-PDU has */
2735 if (stat & SAR_STAT_TSQF) { /* TSQ 7/8 full */
2740 if (stat & SAR_STAT_TMROF) { /* Timer overflow */
2746 if (stat & SAR_STAT_EPDU) { /* Got complete CS-PDU */
2751 if (stat & SAR_STAT_RSQAF) { /* RSQ is 7/8 full */
2756 if (stat & SAR_STAT_RSQF) { /* RSQ is full */
2761 if (stat & SAR_STAT_RAWCF) { /* Raw cell received */
2767 if (stat & SAR_STAT_PHYI) { /* PHY device interrupt */
2774 if (stat & (SAR_STAT_FBQ0A | SAR_STAT_FBQ1A |
2779 INTPRINTK("%s: FBQA: %04x\n", card->name, stat);
2781 if (stat & SAR_STAT_FBQ0A)
2783 if (stat & SAR_STAT_FBQ1A)
2785 if (stat & SAR_STAT_FBQ2A)
2787 if (stat & SAR_STAT_FBQ3A)
2803 u32 stat;
2807 stat = readl(SAR_REG_STAT) >> 16;
2809 if ((stat & 0x0f) < SAR_FBQ0_HIGH) {
2814 stat >>= 4;
2815 if ((stat & 0x0f) < SAR_FBQ1_HIGH) {
2820 stat >>= 4;
2821 if ((stat & 0x0f) < SAR_FBQ2_HIGH) {
2826 stat >>= 4;
2827 if ((stat & 0x0f) < SAR_FBQ3_HIGH) {