Lines Matching refs:writeb

136 		writeb(SAB82532_CMDR_RFRD, &up->regs->w.cmdr);  in receive_chars()
150 writeb(SAB82532_CMDR_RMC, &up->regs->w.cmdr); in receive_chars()
240 writeb(up->interrupt_mask1, &up->regs->w.imr1); in transmit_chars()
257 writeb(up->interrupt_mask1, &up->regs->w.imr1); in transmit_chars()
262 writeb(up->interrupt_mask1, &up->regs->w.imr1); in transmit_chars()
273 writeb(ch, &up->regs->w.xfifo[i]); in transmit_chars()
278 writeb(SAB82532_CMDR_XF, &up->regs->w.cmdr); in transmit_chars()
412 writeb(up->interrupt_mask1, &up->regs->w.imr1); in sunsab_stop_tx()
422 writeb(up->cached_mode, &up->regs->rw.mode); in sunsab_tx_idle()
423 writeb(up->cached_pvr, &up->regs->rw.pvr); in sunsab_tx_idle()
424 writeb(up->cached_dafo, &up->regs->w.dafo); in sunsab_tx_idle()
426 writeb(up->cached_ebrg & 0xff, &up->regs->w.bgr); in sunsab_tx_idle()
430 writeb(tmp, &up->regs->rw.ccr2); in sunsab_tx_idle()
446 writeb(up->interrupt_mask1, &up->regs->w.imr1); in sunsab_start_tx()
460 writeb(ch, &up->regs->w.xfifo[i]); in sunsab_start_tx()
465 writeb(SAB82532_CMDR_XF, &up->regs->w.cmdr); in sunsab_start_tx()
481 writeb(ch, &up->regs->w.tic); in sunsab_send_xchar()
493 writeb(up->interrupt_mask1, &up->regs->w.imr0); in sunsab_stop_rx()
543 writeb(SAB82532_CMDR_RRES, &up->regs->w.cmdr); in sunsab_startup()
545 writeb(SAB82532_CMDR_XRES, &up->regs->w.cmdr); in sunsab_startup()
556 writeb(0, &up->regs->w.ccr0); /* power-down */ in sunsab_startup()
557 writeb(SAB82532_CCR0_MCE | SAB82532_CCR0_SC_NRZ | in sunsab_startup()
559 writeb(SAB82532_CCR1_ODS | SAB82532_CCR1_BCR | 7, &up->regs->w.ccr1); in sunsab_startup()
560 writeb(SAB82532_CCR2_BDF | SAB82532_CCR2_SSEL | in sunsab_startup()
562 writeb(0, &up->regs->w.ccr3); in sunsab_startup()
563 writeb(SAB82532_CCR4_MCK4 | SAB82532_CCR4_EBRG, &up->regs->w.ccr4); in sunsab_startup()
566 writeb(up->cached_mode, &up->regs->w.mode); in sunsab_startup()
567 writeb(SAB82532_RFC_DPS|SAB82532_RFC_RFTH_32, &up->regs->w.rfc); in sunsab_startup()
571 writeb(tmp, &up->regs->rw.ccr0); in sunsab_startup()
578 writeb(up->interrupt_mask0, &up->regs->w.imr0); in sunsab_startup()
583 writeb(up->interrupt_mask1, &up->regs->w.imr1); in sunsab_startup()
603 writeb(up->interrupt_mask0, &up->regs->w.imr0); in sunsab_shutdown()
605 writeb(up->interrupt_mask1, &up->regs->w.imr1); in sunsab_shutdown()
610 writeb(up->cached_dafo, &up->regs->rw.dafo); in sunsab_shutdown()
614 writeb(up->cached_mode, &up->regs->rw.mode); in sunsab_shutdown()
630 writeb(tmp, &up->regs->rw.ccr0); in sunsab_shutdown()
852 writeb(c, &up->regs->w.tic); in sunsab_console_putchar()
926 writeb(up->interrupt_mask0, &up->regs->w.imr0); in sunsab_console_setup()
931 writeb(up->interrupt_mask1, &up->regs->w.imr1); in sunsab_console_setup()
983 writeb(SAB82532_IPC_IC_ACT_LOW, &up->regs->w.ipc); in sunsab_init_one()
990 writeb(~((1 << 1) | (1 << 2) | (1 << 4)), &up->regs->w.pcr); in sunsab_init_one()
991 writeb(0xff, &up->regs->w.pim); in sunsab_init_one()
1002 writeb(up->cached_pvr, &up->regs->w.pvr); in sunsab_init_one()
1005 writeb(up->cached_mode, &up->regs->rw.mode); in sunsab_init_one()
1007 writeb(up->cached_mode, &up->regs->rw.mode); in sunsab_init_one()