Lines Matching refs:curregs

77 	unsigned char			curregs[NUM_ZSREGS];  member
275 __load_zsregs(channel, up->curregs); in sunzilog_maybe_update_regs()
289 up->curregs[R12] = (brg & 0xff); in sunzilog_change_mouse_baud()
290 up->curregs[R13] = (brg >> 8) & 0xff; in sunzilog_change_mouse_baud()
477 __load_zsregs(channel, up->curregs); in sunzilog_transmit_chars()
661 up->curregs[R5] |= set_bits; in sunzilog_set_mctrl()
662 up->curregs[R5] &= ~clear_bits; in sunzilog_set_mctrl()
663 write_zsreg(channel, R5, up->curregs[R5]); in sunzilog_set_mctrl()
732 up->curregs[R1] &= ~RxINT_MASK; in sunzilog_stop_rx()
744 new_reg = up->curregs[R15] | (DCDIE | SYNCIE | CTSIE); in sunzilog_enable_ms()
745 if (new_reg != up->curregs[R15]) { in sunzilog_enable_ms()
746 up->curregs[R15] = new_reg; in sunzilog_enable_ms()
749 write_zsreg(channel, R15, up->curregs[R15] & ~WR7pEN); in sunzilog_enable_ms()
771 new_reg = (up->curregs[R5] | set_bits) & ~clear_bits; in sunzilog_break_ctl()
772 if (new_reg != up->curregs[R5]) { in sunzilog_break_ctl()
773 up->curregs[R5] = new_reg; in sunzilog_break_ctl()
776 write_zsreg(channel, R5, up->curregs[R5]); in sunzilog_break_ctl()
790 up->curregs[R3] |= RxENAB; in __sunzilog_startup()
791 up->curregs[R5] |= TxENAB; in __sunzilog_startup()
793 up->curregs[R1] |= EXT_INT_ENAB | INT_ALL_Rx | TxINT_ENAB; in __sunzilog_startup()
850 up->curregs[R3] &= ~RxENAB; in sunzilog_shutdown()
851 up->curregs[R5] &= ~TxENAB; in sunzilog_shutdown()
854 up->curregs[R1] &= ~(EXT_INT_ENAB | TxINT_ENAB | RxINT_MASK); in sunzilog_shutdown()
855 up->curregs[R5] &= ~SND_BRK; in sunzilog_shutdown()
869 up->curregs[R10] = NRZ; in sunzilog_convert_to_zs()
870 up->curregs[R11] = TCBR | RCBR; in sunzilog_convert_to_zs()
873 up->curregs[R4] &= ~XCLK_MASK; in sunzilog_convert_to_zs()
874 up->curregs[R4] |= X16CLK; in sunzilog_convert_to_zs()
875 up->curregs[R12] = brg & 0xff; in sunzilog_convert_to_zs()
876 up->curregs[R13] = (brg >> 8) & 0xff; in sunzilog_convert_to_zs()
877 up->curregs[R14] = BRSRC | BRENAB; in sunzilog_convert_to_zs()
880 up->curregs[R3] &= ~RxN_MASK; in sunzilog_convert_to_zs()
881 up->curregs[R5] &= ~TxN_MASK; in sunzilog_convert_to_zs()
884 up->curregs[R3] |= Rx5; in sunzilog_convert_to_zs()
885 up->curregs[R5] |= Tx5; in sunzilog_convert_to_zs()
889 up->curregs[R3] |= Rx6; in sunzilog_convert_to_zs()
890 up->curregs[R5] |= Tx6; in sunzilog_convert_to_zs()
894 up->curregs[R3] |= Rx7; in sunzilog_convert_to_zs()
895 up->curregs[R5] |= Tx7; in sunzilog_convert_to_zs()
900 up->curregs[R3] |= Rx8; in sunzilog_convert_to_zs()
901 up->curregs[R5] |= Tx8; in sunzilog_convert_to_zs()
905 up->curregs[R4] &= ~0x0c; in sunzilog_convert_to_zs()
907 up->curregs[R4] |= SB2; in sunzilog_convert_to_zs()
909 up->curregs[R4] |= SB1; in sunzilog_convert_to_zs()
911 up->curregs[R4] |= PAR_ENAB; in sunzilog_convert_to_zs()
913 up->curregs[R4] &= ~PAR_ENAB; in sunzilog_convert_to_zs()
915 up->curregs[R4] |= PAR_EVEN; in sunzilog_convert_to_zs()
917 up->curregs[R4] &= ~PAR_EVEN; in sunzilog_convert_to_zs()
1251 up->curregs[R15] |= BRKIE; in sunzilog_console_setup()
1293 up->curregs[R15] |= BRKIE; in sunzilog_init_kbdms()
1347 up->curregs[R1] = EXT_INT_ENAB | INT_ALL_Rx | TxINT_ENAB; in sunzilog_init_hw()
1348 up->curregs[R4] = PAR_EVEN | X16CLK | SB1; in sunzilog_init_hw()
1349 up->curregs[R3] = RxENAB | Rx8; in sunzilog_init_hw()
1350 up->curregs[R5] = TxENAB | Tx8; in sunzilog_init_hw()
1351 up->curregs[R6] = 0x00; /* SDLC Address */ in sunzilog_init_hw()
1352 up->curregs[R7] = 0x7E; /* SDLC Flag */ in sunzilog_init_hw()
1353 up->curregs[R9] = NV; in sunzilog_init_hw()
1354 up->curregs[R7p] = 0x00; in sunzilog_init_hw()
1358 up->curregs[R9] |= MIE; in sunzilog_init_hw()
1359 write_zsreg(channel, R9, up->curregs[R9]); in sunzilog_init_hw()
1363 up->curregs[R1] = EXT_INT_ENAB | INT_ALL_Rx | TxINT_ENAB; in sunzilog_init_hw()
1364 up->curregs[R4] = PAR_EVEN | X16CLK | SB1; in sunzilog_init_hw()
1365 up->curregs[R3] = RxENAB | Rx8; in sunzilog_init_hw()
1366 up->curregs[R5] = TxENAB | Tx8; in sunzilog_init_hw()
1367 up->curregs[R6] = 0x00; /* SDLC Address */ in sunzilog_init_hw()
1368 up->curregs[R7] = 0x7E; /* SDLC Flag */ in sunzilog_init_hw()
1369 up->curregs[R9] = NV; in sunzilog_init_hw()
1370 up->curregs[R10] = NRZ; in sunzilog_init_hw()
1371 up->curregs[R11] = TCBR | RCBR; in sunzilog_init_hw()
1374 up->curregs[R12] = (brg & 0xff); in sunzilog_init_hw()
1375 up->curregs[R13] = (brg >> 8) & 0xff; in sunzilog_init_hw()
1376 up->curregs[R14] = BRSRC | BRENAB; in sunzilog_init_hw()
1377 up->curregs[R15] = FIFOEN; /* Use FIFO if on ESCC */ in sunzilog_init_hw()
1378 up->curregs[R7p] = TxFIFO_LVL | RxFIFO_LVL; in sunzilog_init_hw()
1379 if (__load_zsregs(channel, up->curregs)) { in sunzilog_init_hw()
1384 up->curregs[R9] |= MIE; in sunzilog_init_hw()
1385 write_zsreg(channel, R9, up->curregs[R9]); in sunzilog_init_hw()
1593 up->curregs[R9] |= MIE; in sunzilog_init()
1594 write_zsreg(channel, R9, up->curregs[R9]); in sunzilog_init()
1630 up->curregs[R9] &= ~MIE; in sunzilog_exit()
1631 write_zsreg(channel, R9, up->curregs[R9]); in sunzilog_exit()