Searched refs:newctrl (Results 1 – 2 of 2) sorted by relevance
487 u8 newctrl = gb_tty->ctrlout; in gb_tty_set_termios() local503 newctrl &= ~(GB_UART_CTRL_DTR | GB_UART_CTRL_RTS); in gb_tty_set_termios()505 newctrl |= (GB_UART_CTRL_DTR | GB_UART_CTRL_RTS); in gb_tty_set_termios()508 if (newctrl != gb_tty->ctrlout) { in gb_tty_set_termios()509 gb_tty->ctrlout = newctrl; in gb_tty_set_termios()510 send_control(gb_tty, newctrl); in gb_tty_set_termios()540 u8 newctrl = gb_tty->ctrlout; in gb_tty_tiocmset() local547 newctrl = (newctrl & ~clear) | set; in gb_tty_tiocmset()548 if (gb_tty->ctrlout == newctrl) in gb_tty_tiocmset()551 gb_tty->ctrlout = newctrl; in gb_tty_tiocmset()[all …]
292 int newctrl; in acm_process_notification() local311 newctrl = get_unaligned_le16(data); in acm_process_notification()313 "%s - serial state: 0x%x\n", __func__, newctrl); in acm_process_notification()315 if (!acm->clocal && (acm->ctrlin & ~newctrl & USB_CDC_SERIAL_STATE_DCD)) { in acm_process_notification()321 difference = acm->ctrlin ^ newctrl; in acm_process_notification()327 ld->ops->dcd_change(acm->port.tty, newctrl & USB_CDC_SERIAL_STATE_DCD); in acm_process_notification()333 acm->ctrlin = newctrl; in acm_process_notification()340 if (newctrl & USB_CDC_SERIAL_STATE_BREAK) { in acm_process_notification()344 if (newctrl & USB_CDC_SERIAL_STATE_RING_SIGNAL) in acm_process_notification()346 if (newctrl & USB_CDC_SERIAL_STATE_FRAMING) in acm_process_notification()[all …]