Home
last modified time | relevance | path

Searched refs:newline (Results 1 – 5 of 5) sorted by relevance

/drivers/mtd/devices/
Dphram.c195 char *newline = strrchr(str, '\n'); in kill_final_newline() local
197 if (newline && !newline[1]) in kill_final_newline()
198 *newline = 0; in kill_final_newline()
Dblock2mtd.c343 char *newline = strrchr(str, '\n'); in kill_final_newline() local
344 if (newline && !newline[1]) in kill_final_newline()
345 *newline = 0; in kill_final_newline()
/drivers/usb/class/
Dcdc-acm.c973 struct usb_cdc_line_coding newline; in acm_tty_set_termios() local
976 newline.dwDTERate = cpu_to_le32(tty_get_baud_rate(tty)); in acm_tty_set_termios()
977 newline.bCharFormat = termios->c_cflag & CSTOPB ? 2 : 0; in acm_tty_set_termios()
978 newline.bParityType = termios->c_cflag & PARENB ? in acm_tty_set_termios()
983 newline.bDataBits = 5; in acm_tty_set_termios()
986 newline.bDataBits = 6; in acm_tty_set_termios()
989 newline.bDataBits = 7; in acm_tty_set_termios()
993 newline.bDataBits = 8; in acm_tty_set_termios()
1000 newline.dwDTERate = acm->line.dwDTERate; in acm_tty_set_termios()
1009 if (memcmp(&acm->line, &newline, sizeof newline)) { in acm_tty_set_termios()
[all …]
/drivers/staging/panel/
DKconfig278 printf()-formatted message is valid with newline and escape codes.
/drivers/md/
Dmd.c8317 char newline; in badblocks_store() local
8329 switch (sscanf(page, "%llu %d%c", &sector, &length, &newline)) { in badblocks_store()
8331 if (newline != '\n') in badblocks_store()