Lines Matching refs:sreg

122 	if (stat->sreg.isr0 & SAB82532_ISR0_RPF) {  in receive_chars()
127 if (stat->sreg.isr0 & SAB82532_ISR0_TCD) { in receive_chars()
133 if (stat->sreg.isr0 & SAB82532_ISR0_TIME) { in receive_chars()
139 if (stat->sreg.isr0 & SAB82532_ISR0_RFO) in receive_chars()
153 if ((stat->sreg.isr1 & SAB82532_ISR1_BRK) && in receive_chars()
158 if (unlikely(stat->sreg.isr1 & SAB82532_ISR1_BRK)) { in receive_chars()
159 stat->sreg.isr0 &= ~(SAB82532_ISR0_PERR | in receive_chars()
172 if (unlikely(stat->sreg.isr0 & (SAB82532_ISR0_PERR | in receive_chars()
175 unlikely(stat->sreg.isr1 & SAB82532_ISR1_BRK)) { in receive_chars()
179 if (stat->sreg.isr1 & SAB82532_ISR1_BRK) { in receive_chars()
180 stat->sreg.isr0 &= ~(SAB82532_ISR0_PERR | in receive_chars()
191 } else if (stat->sreg.isr0 & SAB82532_ISR0_PERR) in receive_chars()
193 else if (stat->sreg.isr0 & SAB82532_ISR0_FERR) in receive_chars()
195 if (stat->sreg.isr0 & SAB82532_ISR0_RFO) in receive_chars()
201 stat->sreg.isr0 &= (up->port.read_status_mask & 0xff); in receive_chars()
202 stat->sreg.isr1 &= ((up->port.read_status_mask >> 8) & 0xff); in receive_chars()
204 if (stat->sreg.isr1 & SAB82532_ISR1_BRK) { in receive_chars()
206 } else if (stat->sreg.isr0 & SAB82532_ISR0_PERR) in receive_chars()
208 else if (stat->sreg.isr0 & SAB82532_ISR0_FERR) in receive_chars()
215 if ((stat->sreg.isr0 & (up->port.ignore_status_mask & 0xff)) == 0 && in receive_chars()
216 (stat->sreg.isr1 & ((up->port.ignore_status_mask >> 8) & 0xff)) == 0) in receive_chars()
218 if (stat->sreg.isr0 & SAB82532_ISR0_RFO) in receive_chars()
237 if (stat->sreg.isr1 & SAB82532_ISR1_ALLS) { in transmit_chars()
244 if (!(stat->sreg.isr1 & SAB82532_ISR1_XPR)) in transmit_chars()
289 if (stat->sreg.isr0 & SAB82532_ISR0_CDSC) in check_status()
293 if (stat->sreg.isr1 & SAB82532_ISR1_CSC) in check_status()
318 status.sreg.isr0 = readb(&up->regs->r.isr0); in sunsab_interrupt()
320 status.sreg.isr1 = readb(&up->regs->r.isr1); in sunsab_interrupt()
323 if ((status.sreg.isr0 & (SAB82532_ISR0_TCD | SAB82532_ISR0_TIME | in sunsab_interrupt()
325 (status.sreg.isr1 & SAB82532_ISR1_BRK)) in sunsab_interrupt()
327 if ((status.sreg.isr0 & SAB82532_ISR0_CDSC) || in sunsab_interrupt()
328 (status.sreg.isr1 & SAB82532_ISR1_CSC)) in sunsab_interrupt()
330 if (status.sreg.isr1 & (SAB82532_ISR1_ALLS | SAB82532_ISR1_XPR)) in sunsab_interrupt()