Lines Matching refs:readb

95 	while ((readb(&up->regs->r.star) & SAB82532_STAR_TEC) && --timeout)  in sunsab_tec_wait()
103 while ((readb(&up->regs->r.star) & SAB82532_STAR_CEC) && --timeout) in sunsab_cec_wait()
128 count = readb(&up->regs->r.rbcl) & (SAB82532_RECV_FIFO_SIZE - 1); in receive_chars()
144 buf[i] = readb(&up->regs->r.rfifo[i]); in receive_chars()
248 if (!(readb(&up->regs->r.star) & SAB82532_STAR_XFW)) in transmit_chars()
291 !(readb(&up->regs->r.vstr) & SAB82532_VSTR_CD)); in check_status()
295 (readb(&up->regs->r.star) & SAB82532_STAR_CTS)); in check_status()
297 if ((readb(&up->regs->r.pvr) & up->pvr_dsr_bit) ^ up->dsr) { in check_status()
298 up->dsr = (readb(&up->regs->r.pvr) & up->pvr_dsr_bit) ? 0 : 1; in check_status()
316 gis = readb(&up->regs->r.gis) >> up->gis_shift; in sunsab_interrupt()
318 status.sreg.isr0 = readb(&up->regs->r.isr0); in sunsab_interrupt()
320 status.sreg.isr1 = readb(&up->regs->r.isr1); in sunsab_interrupt()
392 val = readb(&up->regs->r.pvr); in sunsab_get_mctrl()
395 val = readb(&up->regs->r.vstr); in sunsab_get_mctrl()
398 val = readb(&up->regs->r.star); in sunsab_get_mctrl()
426 tmp = readb(&up->regs->rw.ccr2); in sunsab_tx_idle()
549 (void) readb(&up->regs->r.isr0); in sunsab_startup()
550 (void) readb(&up->regs->r.isr1); in sunsab_startup()
568 tmp = readb(&up->regs->rw.ccr0); in sunsab_startup()
607 up->cached_dafo = readb(&up->regs->rw.dafo); in sunsab_shutdown()
627 tmp = readb(&up->regs->rw.ccr0); in sunsab_shutdown()
992 up->type = readb(&up->regs->r.vstr) & 0x0f; in sunsab_init_one()
1006 up->cached_mode = readb(&up->regs->rw.mode); in sunsab_init_one()