Lines Matching refs:lcr

54 	u8 lcrb = readb(&ch->ch_cls_uart->lcr);  in cls_set_cts_flow_control()
62 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_cts_flow_control()
73 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_cts_flow_control()
95 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_ixon_flow_control()
103 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_ixon_flow_control()
120 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_ixon_flow_control()
140 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_no_output_flow_control()
148 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_no_output_flow_control()
159 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_no_output_flow_control()
183 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_rts_flow_control()
191 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_rts_flow_control()
202 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_rts_flow_control()
221 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_ixoff_flow_control()
229 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_ixoff_flow_control()
246 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_ixoff_flow_control()
262 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_no_input_flow_control()
270 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_no_input_flow_control()
281 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_no_input_flow_control()
313 u8 temp = readb(&ch->ch_cls_uart->lcr); in cls_clear_break()
315 writeb((temp & ~UART_LCR_SBC), &ch->ch_cls_uart->lcr); in cls_clear_break()
680 u8 lcr = 0; in cls_param() local
725 lcr |= UART_LCR_PARITY; in cls_param()
728 lcr |= UART_LCR_EPAR; in cls_param()
736 lcr |= UART_LCR_SPAR; in cls_param()
740 lcr |= UART_LCR_STOP; in cls_param()
744 lcr |= UART_LCR_WLEN5; in cls_param()
747 lcr |= UART_LCR_WLEN6; in cls_param()
750 lcr |= UART_LCR_WLEN7; in cls_param()
754 lcr |= UART_LCR_WLEN8; in cls_param()
759 uart_lcr = readb(&ch->ch_cls_uart->lcr); in cls_param()
764 writeb(UART_LCR_DLAB, &ch->ch_cls_uart->lcr); in cls_param()
767 writeb(lcr, &ch->ch_cls_uart->lcr); in cls_param()
770 if (uart_lcr != lcr) in cls_param()
771 writeb(lcr, &ch->ch_cls_uart->lcr); in cls_param()
861 unsigned char lcrb = readb(&ch->ch_cls_uart->lcr); in cls_uart_init()
870 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_uart_init()
880 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_uart_init()
936 u8 temp = readb(&ch->ch_cls_uart->lcr); in cls_send_break()
938 writeb((temp | UART_LCR_SBC), &ch->ch_cls_uart->lcr); in cls_send_break()