Lines Matching refs:sreg

124 	if (stat->sreg.isr0 & SAB82532_ISR0_RPF) {  in receive_chars()
129 if (stat->sreg.isr0 & SAB82532_ISR0_TCD) { in receive_chars()
135 if (stat->sreg.isr0 & SAB82532_ISR0_TIME) { in receive_chars()
141 if (stat->sreg.isr0 & SAB82532_ISR0_RFO) in receive_chars()
155 if ((stat->sreg.isr1 & SAB82532_ISR1_BRK) && in receive_chars()
170 if (unlikely(stat->sreg.isr0 & (SAB82532_ISR0_PERR | in receive_chars()
173 unlikely(stat->sreg.isr1 & SAB82532_ISR1_BRK)) { in receive_chars()
177 if (stat->sreg.isr1 & SAB82532_ISR1_BRK) { in receive_chars()
178 stat->sreg.isr0 &= ~(SAB82532_ISR0_PERR | in receive_chars()
189 } else if (stat->sreg.isr0 & SAB82532_ISR0_PERR) in receive_chars()
191 else if (stat->sreg.isr0 & SAB82532_ISR0_FERR) in receive_chars()
193 if (stat->sreg.isr0 & SAB82532_ISR0_RFO) in receive_chars()
199 stat->sreg.isr0 &= (up->port.read_status_mask & 0xff); in receive_chars()
200 stat->sreg.isr1 &= ((up->port.read_status_mask >> 8) & 0xff); in receive_chars()
202 if (stat->sreg.isr1 & SAB82532_ISR1_BRK) { in receive_chars()
204 } else if (stat->sreg.isr0 & SAB82532_ISR0_PERR) in receive_chars()
206 else if (stat->sreg.isr0 & SAB82532_ISR0_FERR) in receive_chars()
213 if ((stat->sreg.isr0 & (up->port.ignore_status_mask & 0xff)) == 0 && in receive_chars()
214 (stat->sreg.isr1 & ((up->port.ignore_status_mask >> 8) & 0xff)) == 0) in receive_chars()
216 if (stat->sreg.isr0 & SAB82532_ISR0_RFO) in receive_chars()
235 if (stat->sreg.isr1 & SAB82532_ISR1_ALLS) { in transmit_chars()
242 if (!(stat->sreg.isr1 & SAB82532_ISR1_XPR)) in transmit_chars()
287 if (stat->sreg.isr0 & SAB82532_ISR0_CDSC) in check_status()
291 if (stat->sreg.isr1 & SAB82532_ISR1_CSC) in check_status()
316 status.sreg.isr0 = readb(&up->regs->r.isr0); in sunsab_interrupt()
318 status.sreg.isr1 = readb(&up->regs->r.isr1); in sunsab_interrupt()
322 if ((status.sreg.isr0 & (SAB82532_ISR0_TCD | SAB82532_ISR0_TIME | in sunsab_interrupt()
324 (status.sreg.isr1 & SAB82532_ISR1_BRK)) in sunsab_interrupt()
326 if ((status.sreg.isr0 & SAB82532_ISR0_CDSC) || in sunsab_interrupt()
327 (status.sreg.isr1 & SAB82532_ISR1_CSC)) in sunsab_interrupt()
329 if (status.sreg.isr1 & (SAB82532_ISR1_ALLS | SAB82532_ISR1_XPR)) in sunsab_interrupt()