Searched refs:newctrl (Results 1 – 2 of 2) sorted by relevance
499 u8 newctrl = gb_tty->ctrlout; in gb_tty_set_termios() local529 newctrl &= ~(GB_UART_CTRL_DTR | GB_UART_CTRL_RTS); in gb_tty_set_termios()531 newctrl |= (GB_UART_CTRL_DTR | GB_UART_CTRL_RTS); in gb_tty_set_termios()534 if (newctrl != gb_tty->ctrlout) { in gb_tty_set_termios()535 gb_tty->ctrlout = newctrl; in gb_tty_set_termios()536 send_control(gb_tty, newctrl); in gb_tty_set_termios()566 u8 newctrl = gb_tty->ctrlout; in gb_tty_tiocmset() local573 newctrl = (newctrl & ~clear) | set; in gb_tty_tiocmset()574 if (gb_tty->ctrlout == newctrl) in gb_tty_tiocmset()577 gb_tty->ctrlout = newctrl; in gb_tty_tiocmset()[all …]
277 int newctrl; in acm_process_notification() local296 newctrl = get_unaligned_le16(data); in acm_process_notification()298 "%s - serial state: 0x%x\n", __func__, newctrl); in acm_process_notification()300 if (!acm->clocal && (acm->ctrlin & ~newctrl & ACM_CTRL_DCD)) { in acm_process_notification()306 difference = acm->ctrlin ^ newctrl; in acm_process_notification()308 acm->ctrlin = newctrl; in acm_process_notification()315 if (newctrl & ACM_CTRL_BRK) in acm_process_notification()317 if (newctrl & ACM_CTRL_RI) in acm_process_notification()319 if (newctrl & ACM_CTRL_FRAMING) in acm_process_notification()321 if (newctrl & ACM_CTRL_PARITY) in acm_process_notification()[all …]