Lines Matching refs:lcr
63 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_cts_flow_control()
71 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_cts_flow_control()
82 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_cts_flow_control()
104 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_ixon_flow_control()
112 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_ixon_flow_control()
129 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_ixon_flow_control()
149 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_no_output_flow_control()
157 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_no_output_flow_control()
168 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_no_output_flow_control()
192 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_rts_flow_control()
200 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_rts_flow_control()
211 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_rts_flow_control()
230 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_ixoff_flow_control()
238 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_ixoff_flow_control()
255 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_ixoff_flow_control()
271 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_no_input_flow_control()
279 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_no_input_flow_control()
290 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_no_input_flow_control()
322 u8 temp = readb(&ch->ch_cls_uart->lcr); in cls_clear_break()
324 writeb((temp & ~UART_LCR_SBC), &ch->ch_cls_uart->lcr); in cls_clear_break()
689 u8 lcr = 0; in cls_param() local
734 lcr |= UART_LCR_PARITY; in cls_param()
737 lcr |= UART_LCR_EPAR; in cls_param()
745 lcr |= UART_LCR_SPAR; in cls_param()
749 lcr |= UART_LCR_STOP; in cls_param()
753 lcr |= UART_LCR_WLEN5; in cls_param()
756 lcr |= UART_LCR_WLEN6; in cls_param()
759 lcr |= UART_LCR_WLEN7; in cls_param()
763 lcr |= UART_LCR_WLEN8; in cls_param()
768 uart_lcr = readb(&ch->ch_cls_uart->lcr); in cls_param()
773 writeb(UART_LCR_DLAB, &ch->ch_cls_uart->lcr); in cls_param()
776 writeb(lcr, &ch->ch_cls_uart->lcr); in cls_param()
779 if (uart_lcr != lcr) in cls_param()
780 writeb(lcr, &ch->ch_cls_uart->lcr); in cls_param()
870 unsigned char lcrb = readb(&ch->ch_cls_uart->lcr); in cls_uart_init()
879 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_uart_init()
889 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_uart_init()
945 u8 temp = readb(&ch->ch_cls_uart->lcr); in cls_send_break()
947 writeb((temp | UART_LCR_SBC), &ch->ch_cls_uart->lcr); in cls_send_break()