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()
678 u8 lcr = 0; in cls_param() local
723 lcr |= UART_LCR_PARITY; in cls_param()
726 lcr |= UART_LCR_EPAR; in cls_param()
734 lcr |= UART_LCR_SPAR; in cls_param()
738 lcr |= UART_LCR_STOP; in cls_param()
742 lcr |= UART_LCR_WLEN5; in cls_param()
745 lcr |= UART_LCR_WLEN6; in cls_param()
748 lcr |= UART_LCR_WLEN7; in cls_param()
752 lcr |= UART_LCR_WLEN8; in cls_param()
757 uart_lcr = readb(&ch->ch_cls_uart->lcr); in cls_param()
762 writeb(UART_LCR_DLAB, &ch->ch_cls_uart->lcr); in cls_param()
765 writeb(lcr, &ch->ch_cls_uart->lcr); in cls_param()
768 if (uart_lcr != lcr) in cls_param()
769 writeb(lcr, &ch->ch_cls_uart->lcr); in cls_param()
859 unsigned char lcrb = readb(&ch->ch_cls_uart->lcr); in cls_uart_init()
868 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_uart_init()
878 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_uart_init()
934 u8 temp = readb(&ch->ch_cls_uart->lcr); in cls_send_break()
936 writeb((temp | UART_LCR_SBC), &ch->ch_cls_uart->lcr); in cls_send_break()