Lines Matching defs:curregs
72 unsigned char curregs[NUM_ZSREGS];
93 (UART_ZILOG(PORT)->curregs[REGNUM])
95 ((UART_ZILOG(PORT)->curregs[REGNUM]) = (REGVAL))
243 __load_zsregs(channel, up->curregs);
333 if (up->curregs[R15] & BRKIE) {
387 __load_zsregs(channel, up->curregs);
569 up->curregs[R5] |= set_bits;
570 up->curregs[R5] &= ~clear_bits;
571 write_zsreg(channel, R5, up->curregs[R5]);
636 up->curregs[R1] &= ~RxINT_MASK;
647 new_reg = up->curregs[R15] | (DCDIE | SYNCIE | CTSIE);
648 if (new_reg != up->curregs[R15]) {
649 up->curregs[R15] = new_reg;
652 write_zsreg(channel, R15, up->curregs[R15]);
673 new_reg = (up->curregs[R5] | set_bits) & ~clear_bits;
674 if (new_reg != up->curregs[R5]) {
675 up->curregs[R5] = new_reg;
678 write_zsreg(channel, R5, up->curregs[R5]);
721 __load_zsregs(channel, up->curregs);
723 write_zsreg(channel, R9, up->curregs[R9]);
727 up->curregs[R3] |= RxENAB;
728 up->curregs[R5] |= TxENAB;
730 up->curregs[R1] |= EXT_INT_ENAB | INT_ALL_Rx | TxINT_ENAB;
787 up->curregs[R3] &= ~RxENAB;
788 up->curregs[R5] &= ~TxENAB;
791 up->curregs[R1] &= ~(EXT_INT_ENAB | TxINT_ENAB | RxINT_MASK);
792 up->curregs[R5] &= ~SND_BRK;
806 up->curregs[R10] = NRZ;
807 up->curregs[R11] = TCBR | RCBR;
810 up->curregs[R4] &= ~XCLK_MASK;
811 up->curregs[R4] |= X16CLK;
812 up->curregs[R12] = brg & 0xff;
813 up->curregs[R13] = (brg >> 8) & 0xff;
814 up->curregs[R14] = BRENAB;
817 up->curregs[3] &= ~RxN_MASK;
818 up->curregs[5] &= ~TxN_MASK;
821 up->curregs[3] |= Rx5;
822 up->curregs[5] |= Tx5;
826 up->curregs[3] |= Rx6;
827 up->curregs[5] |= Tx6;
831 up->curregs[3] |= Rx7;
832 up->curregs[5] |= Tx7;
837 up->curregs[3] |= Rx8;
838 up->curregs[5] |= Tx8;
842 up->curregs[4] &= ~0x0c;
844 up->curregs[4] |= SB2;
846 up->curregs[4] |= SB1;
848 up->curregs[4] |= PAR_ENAB;
850 up->curregs[4] &= ~PAR_ENAB;
852 up->curregs[4] |= PAR_EVEN;
854 up->curregs[4] &= ~PAR_EVEN;
1042 up->curregs[R15] |= BRKIE;
1138 up->curregs[R1] = EXT_INT_ENAB | INT_ALL_Rx | TxINT_ENAB;
1139 up->curregs[R4] = PAR_EVEN | X16CLK | SB1;
1140 up->curregs[R3] = RxENAB | Rx8;
1141 up->curregs[R5] = TxENAB | Tx8;
1142 up->curregs[R9] = NV | MIE;
1143 up->curregs[R10] = NRZ;
1144 up->curregs[R11] = TCBR | RCBR;
1146 up->curregs[R12] = (brg & 0xff);
1147 up->curregs[R13] = (brg >> 8) & 0xff;
1148 up->curregs[R14] = BRENAB;