Searched refs:newctrl (Results 1 – 2 of 2) sorted by relevance
488 u8 newctrl = gb_tty->ctrlout; in gb_tty_set_termios() local518 newctrl &= ~(GB_UART_CTRL_DTR | GB_UART_CTRL_RTS); in gb_tty_set_termios()520 newctrl |= (GB_UART_CTRL_DTR | GB_UART_CTRL_RTS); in gb_tty_set_termios()523 if (newctrl != gb_tty->ctrlout) { in gb_tty_set_termios()524 gb_tty->ctrlout = newctrl; in gb_tty_set_termios()525 send_control(gb_tty, newctrl); in gb_tty_set_termios()555 u8 newctrl = gb_tty->ctrlout; in gb_tty_tiocmset() local562 newctrl = (newctrl & ~clear) | set; in gb_tty_tiocmset()563 if (gb_tty->ctrlout == newctrl) in gb_tty_tiocmset()566 gb_tty->ctrlout = newctrl; in gb_tty_tiocmset()[all …]
278 int newctrl; in acm_process_notification() local297 newctrl = get_unaligned_le16(data); in acm_process_notification()299 "%s - serial state: 0x%x\n", __func__, newctrl); in acm_process_notification()301 if (!acm->clocal && (acm->ctrlin & ~newctrl & ACM_CTRL_DCD)) { in acm_process_notification()307 difference = acm->ctrlin ^ newctrl; in acm_process_notification()309 acm->ctrlin = newctrl; in acm_process_notification()316 if (newctrl & ACM_CTRL_BRK) in acm_process_notification()318 if (newctrl & ACM_CTRL_RI) in acm_process_notification()320 if (newctrl & ACM_CTRL_FRAMING) in acm_process_notification()322 if (newctrl & ACM_CTRL_PARITY) in acm_process_notification()[all …]