Home
last modified time | relevance | path

Searched refs:ctrlout (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/staging/greybus/
Duart.c60 u8 ctrlout; /* output control lines */ member
487 u8 newctrl = gb_tty->ctrlout; 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()
528 return (gb_tty->ctrlout & GB_UART_CTRL_DTR ? TIOCM_DTR : 0) | in gb_tty_tiocmget()
529 (gb_tty->ctrlout & GB_UART_CTRL_RTS ? TIOCM_RTS : 0) | in gb_tty_tiocmget()
540 u8 newctrl = gb_tty->ctrlout; in gb_tty_tiocmset()
548 if (gb_tty->ctrlout == newctrl) in gb_tty_tiocmset()
551 gb_tty->ctrlout = newctrl; in gb_tty_tiocmset()
569 gb_tty->ctrlout &= ~GB_UART_CTRL_RTS; in gb_tty_throttle()
[all …]
/linux-6.12.1/drivers/usb/class/
Dcdc-acm.h91 unsigned int ctrlout; /* output control lines (DTR, RTS) */ member
Dcdc-acm.c677 acm->ctrlout = val; in acm_port_dtr_rts()
933 return (acm->ctrlout & USB_CDC_CTRL_DTR ? TIOCM_DTR : 0) | in acm_tty_tiocmget()
934 (acm->ctrlout & USB_CDC_CTRL_RTS ? TIOCM_RTS : 0) | in acm_tty_tiocmget()
947 newctrl = acm->ctrlout; in acm_tty_tiocmset()
955 if (acm->ctrlout == newctrl) in acm_tty_tiocmset()
957 return acm_set_control(acm, acm->ctrlout = newctrl); in acm_tty_tiocmset()
1086 int newctrl = acm->ctrlout; in acm_tty_set_termios()
1105 if (newctrl != acm->ctrlout) in acm_tty_set_termios()
1106 acm_set_control(acm, acm->ctrlout = newctrl); in acm_tty_set_termios()