Lines Matching refs:serial_outp
87 static inline void serial_outp(struct IsdnCardState *cs, int offset, in serial_outp() function
128 serial_outp(cs, UART_FCR, fcr); in change_speed()
132 serial_outp(cs, UART_IER, cs->hw.elsa.IER); in change_speed()
135 serial_outp(cs, UART_LCR, cval | UART_LCR_DLAB);/* set DLAB */ in change_speed()
136 serial_outp(cs, UART_DLL, quot & 0xff); /* LS of divisor */ in change_speed()
137 serial_outp(cs, UART_DLM, quot >> 8); /* MS of divisor */ in change_speed()
138 serial_outp(cs, UART_LCR, cval); /* reset DLAB */ in change_speed()
150 serial_outp(cs, UART_FCR, (UART_FCR_CLEAR_RCVR | UART_FCR_CLEAR_XMIT)); in mstartup()
172 serial_outp(cs, UART_LCR, UART_LCR_WLEN8); /* reset DLAB */ in mstartup()
176 serial_outp(cs, UART_MCR, cs->hw.elsa.MCR); in mstartup()
182 serial_outp(cs, UART_IER, cs->hw.elsa.IER); /* enable interrupts */ in mstartup()
221 serial_outp(cs, UART_IER, 0x00); /* disable all intrs */ in mshutdown()
225 serial_outp(cs, UART_LCR, serial_inp(cs, UART_LCR) & ~UART_LCR_SBC); in mshutdown()
228 serial_outp(cs, UART_MCR, cs->hw.elsa.MCR); in mshutdown()
231 serial_outp(cs, UART_FCR, (UART_FCR_CLEAR_RCVR | UART_FCR_CLEAR_XMIT)); in mshutdown()
274 serial_outp(cs, UART_IER, cs->hw.elsa.IER); in write_modem()
366 serial_outp(cs, UART_TX, cs->hw.elsa.transbuf[cs->hw.elsa.transp++]); in transmit_chars()
382 serial_outp(cs, UART_IER, cs->hw.elsa.IER); in transmit_chars()
472 serial_outp(cs, UART_IER, cs->hw.elsa.IER); in modem_write_cmd()