Lines Matching refs:newline
830 struct usb_cdc_line_coding newline;
833 newline.dwDTERate = cpu_to_le32(tty_get_baud_rate(tty));
834 newline.bCharFormat = termios->c_cflag & CSTOPB ? 2 : 0;
835 newline.bParityType = termios->c_cflag & PARENB ?
838 newline.bDataBits = acm_tty_size[(termios->c_cflag & CSIZE) >> 4];
842 if (!newline.dwDTERate) {
843 newline.dwDTERate = acm->line.dwDTERate;
851 if (memcmp(&acm->line, &newline, sizeof newline)) {
852 memcpy(&acm->line, &newline, sizeof newline);
855 le32_to_cpu(newline.dwDTERate),
856 newline.bCharFormat, newline.bParityType,
857 newline.bDataBits);