Searched refs:newctrl (Results 1 – 2 of 2) sorted by relevance
488 u8 newctrl = gb_tty->ctrlout; in gb_tty_set_termios() local504 newctrl &= ~(GB_UART_CTRL_DTR | GB_UART_CTRL_RTS); in gb_tty_set_termios()506 newctrl |= (GB_UART_CTRL_DTR | GB_UART_CTRL_RTS); in gb_tty_set_termios()509 if (newctrl != gb_tty->ctrlout) { in gb_tty_set_termios()510 gb_tty->ctrlout = newctrl; in gb_tty_set_termios()511 send_control(gb_tty, newctrl); in gb_tty_set_termios()541 u8 newctrl = gb_tty->ctrlout; in gb_tty_tiocmset() local548 newctrl = (newctrl & ~clear) | set; in gb_tty_tiocmset()549 if (gb_tty->ctrlout == newctrl) in gb_tty_tiocmset()552 gb_tty->ctrlout = newctrl; in gb_tty_tiocmset()[all …]
291 int newctrl; in acm_process_notification() local310 newctrl = get_unaligned_le16(data); in acm_process_notification()312 "%s - serial state: 0x%x\n", __func__, newctrl); in acm_process_notification()314 if (!acm->clocal && (acm->ctrlin & ~newctrl & USB_CDC_SERIAL_STATE_DCD)) { in acm_process_notification()320 difference = acm->ctrlin ^ newctrl; in acm_process_notification()322 acm->ctrlin = newctrl; in acm_process_notification()329 if (newctrl & USB_CDC_SERIAL_STATE_BREAK) { in acm_process_notification()333 if (newctrl & USB_CDC_SERIAL_STATE_RING_SIGNAL) in acm_process_notification()335 if (newctrl & USB_CDC_SERIAL_STATE_FRAMING) in acm_process_notification()337 if (newctrl & USB_CDC_SERIAL_STATE_PARITY) in acm_process_notification()[all …]