Loading drivers/serial/8250.c +5 −5 Original line number Original line Diff line number Diff line Loading @@ -1682,22 +1682,22 @@ serial8250_set_termios(struct uart_port *port, struct termios *termios, switch (termios->c_cflag & CSIZE) { switch (termios->c_cflag & CSIZE) { case CS5: case CS5: cval = 0x00; cval = UART_LCR_WLEN5; break; break; case CS6: case CS6: cval = 0x01; cval = UART_LCR_WLEN6; break; break; case CS7: case CS7: cval = 0x02; cval = UART_LCR_WLEN7; break; break; default: default: case CS8: case CS8: cval = 0x03; cval = UART_LCR_WLEN8; break; break; } } if (termios->c_cflag & CSTOPB) if (termios->c_cflag & CSTOPB) cval |= 0x04; cval |= UART_LCR_STOP; if (termios->c_cflag & PARENB) if (termios->c_cflag & PARENB) cval |= UART_LCR_PARITY; cval |= UART_LCR_PARITY; if (!(termios->c_cflag & PARODD)) if (!(termios->c_cflag & PARODD)) Loading drivers/serial/au1x00_uart.c +5 −5 Original line number Original line Diff line number Diff line Loading @@ -773,22 +773,22 @@ serial8250_set_termios(struct uart_port *port, struct termios *termios, switch (termios->c_cflag & CSIZE) { switch (termios->c_cflag & CSIZE) { case CS5: case CS5: cval = 0x00; cval = UART_LCR_WLEN5; break; break; case CS6: case CS6: cval = 0x01; cval = UART_LCR_WLEN6; break; break; case CS7: case CS7: cval = 0x02; cval = UART_LCR_WLEN7; break; break; default: default: case CS8: case CS8: cval = 0x03; cval = UART_LCR_WLEN8; break; break; } } if (termios->c_cflag & CSTOPB) if (termios->c_cflag & CSTOPB) cval |= 0x04; cval |= UART_LCR_STOP; if (termios->c_cflag & PARENB) if (termios->c_cflag & PARENB) cval |= UART_LCR_PARITY; cval |= UART_LCR_PARITY; if (!(termios->c_cflag & PARODD)) if (!(termios->c_cflag & PARODD)) Loading drivers/serial/m32r_sio.c +5 −5 Original line number Original line Diff line number Diff line Loading @@ -724,22 +724,22 @@ static void m32r_sio_set_termios(struct uart_port *port, switch (termios->c_cflag & CSIZE) { switch (termios->c_cflag & CSIZE) { case CS5: case CS5: cval = 0x00; cval = UART_LCR_WLEN5; break; break; case CS6: case CS6: cval = 0x01; cval = UART_LCR_WLEN6; break; break; case CS7: case CS7: cval = 0x02; cval = UART_LCR_WLEN7; break; break; default: default: case CS8: case CS8: cval = 0x03; cval = UART_LCR_WLEN8; break; break; } } if (termios->c_cflag & CSTOPB) if (termios->c_cflag & CSTOPB) cval |= 0x04; cval |= UART_LCR_STOP; if (termios->c_cflag & PARENB) if (termios->c_cflag & PARENB) cval |= UART_LCR_PARITY; cval |= UART_LCR_PARITY; if (!(termios->c_cflag & PARODD)) if (!(termios->c_cflag & PARODD)) Loading drivers/serial/pxa.c +5 −5 Original line number Original line Diff line number Diff line Loading @@ -455,22 +455,22 @@ serial_pxa_set_termios(struct uart_port *port, struct termios *termios, switch (termios->c_cflag & CSIZE) { switch (termios->c_cflag & CSIZE) { case CS5: case CS5: cval = 0x00; cval = UART_LCR_WLEN5; break; break; case CS6: case CS6: cval = 0x01; cval = UART_LCR_WLEN6; break; break; case CS7: case CS7: cval = 0x02; cval = UART_LCR_WLEN7; break; break; default: default: case CS8: case CS8: cval = 0x03; cval = UART_LCR_WLEN8; break; break; } } if (termios->c_cflag & CSTOPB) if (termios->c_cflag & CSTOPB) cval |= 0x04; cval |= UART_LCR_STOP; if (termios->c_cflag & PARENB) if (termios->c_cflag & PARENB) cval |= UART_LCR_PARITY; cval |= UART_LCR_PARITY; if (!(termios->c_cflag & PARODD)) if (!(termios->c_cflag & PARODD)) Loading Loading
drivers/serial/8250.c +5 −5 Original line number Original line Diff line number Diff line Loading @@ -1682,22 +1682,22 @@ serial8250_set_termios(struct uart_port *port, struct termios *termios, switch (termios->c_cflag & CSIZE) { switch (termios->c_cflag & CSIZE) { case CS5: case CS5: cval = 0x00; cval = UART_LCR_WLEN5; break; break; case CS6: case CS6: cval = 0x01; cval = UART_LCR_WLEN6; break; break; case CS7: case CS7: cval = 0x02; cval = UART_LCR_WLEN7; break; break; default: default: case CS8: case CS8: cval = 0x03; cval = UART_LCR_WLEN8; break; break; } } if (termios->c_cflag & CSTOPB) if (termios->c_cflag & CSTOPB) cval |= 0x04; cval |= UART_LCR_STOP; if (termios->c_cflag & PARENB) if (termios->c_cflag & PARENB) cval |= UART_LCR_PARITY; cval |= UART_LCR_PARITY; if (!(termios->c_cflag & PARODD)) if (!(termios->c_cflag & PARODD)) Loading
drivers/serial/au1x00_uart.c +5 −5 Original line number Original line Diff line number Diff line Loading @@ -773,22 +773,22 @@ serial8250_set_termios(struct uart_port *port, struct termios *termios, switch (termios->c_cflag & CSIZE) { switch (termios->c_cflag & CSIZE) { case CS5: case CS5: cval = 0x00; cval = UART_LCR_WLEN5; break; break; case CS6: case CS6: cval = 0x01; cval = UART_LCR_WLEN6; break; break; case CS7: case CS7: cval = 0x02; cval = UART_LCR_WLEN7; break; break; default: default: case CS8: case CS8: cval = 0x03; cval = UART_LCR_WLEN8; break; break; } } if (termios->c_cflag & CSTOPB) if (termios->c_cflag & CSTOPB) cval |= 0x04; cval |= UART_LCR_STOP; if (termios->c_cflag & PARENB) if (termios->c_cflag & PARENB) cval |= UART_LCR_PARITY; cval |= UART_LCR_PARITY; if (!(termios->c_cflag & PARODD)) if (!(termios->c_cflag & PARODD)) Loading
drivers/serial/m32r_sio.c +5 −5 Original line number Original line Diff line number Diff line Loading @@ -724,22 +724,22 @@ static void m32r_sio_set_termios(struct uart_port *port, switch (termios->c_cflag & CSIZE) { switch (termios->c_cflag & CSIZE) { case CS5: case CS5: cval = 0x00; cval = UART_LCR_WLEN5; break; break; case CS6: case CS6: cval = 0x01; cval = UART_LCR_WLEN6; break; break; case CS7: case CS7: cval = 0x02; cval = UART_LCR_WLEN7; break; break; default: default: case CS8: case CS8: cval = 0x03; cval = UART_LCR_WLEN8; break; break; } } if (termios->c_cflag & CSTOPB) if (termios->c_cflag & CSTOPB) cval |= 0x04; cval |= UART_LCR_STOP; if (termios->c_cflag & PARENB) if (termios->c_cflag & PARENB) cval |= UART_LCR_PARITY; cval |= UART_LCR_PARITY; if (!(termios->c_cflag & PARODD)) if (!(termios->c_cflag & PARODD)) Loading
drivers/serial/pxa.c +5 −5 Original line number Original line Diff line number Diff line Loading @@ -455,22 +455,22 @@ serial_pxa_set_termios(struct uart_port *port, struct termios *termios, switch (termios->c_cflag & CSIZE) { switch (termios->c_cflag & CSIZE) { case CS5: case CS5: cval = 0x00; cval = UART_LCR_WLEN5; break; break; case CS6: case CS6: cval = 0x01; cval = UART_LCR_WLEN6; break; break; case CS7: case CS7: cval = 0x02; cval = UART_LCR_WLEN7; break; break; default: default: case CS8: case CS8: cval = 0x03; cval = UART_LCR_WLEN8; break; break; } } if (termios->c_cflag & CSTOPB) if (termios->c_cflag & CSTOPB) cval |= 0x04; cval |= UART_LCR_STOP; if (termios->c_cflag & PARENB) if (termios->c_cflag & PARENB) cval |= UART_LCR_PARITY; cval |= UART_LCR_PARITY; if (!(termios->c_cflag & PARODD)) if (!(termios->c_cflag & PARODD)) Loading