newctrl 499 drivers/staging/greybus/uart.c u8 newctrl = gb_tty->ctrlout; newctrl 529 drivers/staging/greybus/uart.c newctrl &= ~(GB_UART_CTRL_DTR | GB_UART_CTRL_RTS); newctrl 531 drivers/staging/greybus/uart.c newctrl |= (GB_UART_CTRL_DTR | GB_UART_CTRL_RTS); newctrl 534 drivers/staging/greybus/uart.c if (newctrl != gb_tty->ctrlout) { newctrl 535 drivers/staging/greybus/uart.c gb_tty->ctrlout = newctrl; newctrl 536 drivers/staging/greybus/uart.c send_control(gb_tty, newctrl); newctrl 566 drivers/staging/greybus/uart.c u8 newctrl = gb_tty->ctrlout; newctrl 573 drivers/staging/greybus/uart.c newctrl = (newctrl & ~clear) | set; newctrl 574 drivers/staging/greybus/uart.c if (gb_tty->ctrlout == newctrl) newctrl 577 drivers/staging/greybus/uart.c gb_tty->ctrlout = newctrl; newctrl 578 drivers/staging/greybus/uart.c return send_control(gb_tty, newctrl); newctrl 734 drivers/staging/greybus/uart.c u8 newctrl; newctrl 737 drivers/staging/greybus/uart.c newctrl = gb_tty->ctrlout; newctrl 740 drivers/staging/greybus/uart.c newctrl |= (GB_UART_CTRL_DTR | GB_UART_CTRL_RTS); newctrl 742 drivers/staging/greybus/uart.c newctrl &= ~(GB_UART_CTRL_DTR | GB_UART_CTRL_RTS); newctrl 744 drivers/staging/greybus/uart.c gb_tty->ctrlout = newctrl; newctrl 745 drivers/staging/greybus/uart.c send_control(gb_tty, newctrl); newctrl 277 drivers/usb/class/cdc-acm.c int newctrl; newctrl 296 drivers/usb/class/cdc-acm.c newctrl = get_unaligned_le16(data); newctrl 298 drivers/usb/class/cdc-acm.c "%s - serial state: 0x%x\n", __func__, newctrl); newctrl 300 drivers/usb/class/cdc-acm.c if (!acm->clocal && (acm->ctrlin & ~newctrl & ACM_CTRL_DCD)) { newctrl 306 drivers/usb/class/cdc-acm.c difference = acm->ctrlin ^ newctrl; newctrl 308 drivers/usb/class/cdc-acm.c acm->ctrlin = newctrl; newctrl 315 drivers/usb/class/cdc-acm.c if (newctrl & ACM_CTRL_BRK) newctrl 317 drivers/usb/class/cdc-acm.c if (newctrl & ACM_CTRL_RI) newctrl 319 drivers/usb/class/cdc-acm.c if (newctrl & ACM_CTRL_FRAMING) newctrl 321 drivers/usb/class/cdc-acm.c if (newctrl & ACM_CTRL_PARITY) newctrl 323 drivers/usb/class/cdc-acm.c if (newctrl & ACM_CTRL_OVERRUN) newctrl 900 drivers/usb/class/cdc-acm.c unsigned int newctrl; newctrl 902 drivers/usb/class/cdc-acm.c newctrl = acm->ctrlout; newctrl 908 drivers/usb/class/cdc-acm.c newctrl = (newctrl & ~clear) | set; newctrl 910 drivers/usb/class/cdc-acm.c if (acm->ctrlout == newctrl) newctrl 912 drivers/usb/class/cdc-acm.c return acm_set_control(acm, acm->ctrlout = newctrl); newctrl 1049 drivers/usb/class/cdc-acm.c int newctrl = acm->ctrlout; newctrl 1076 drivers/usb/class/cdc-acm.c newctrl &= ~ACM_CTRL_DTR; newctrl 1078 drivers/usb/class/cdc-acm.c newctrl |= ACM_CTRL_DTR; newctrl 1081 drivers/usb/class/cdc-acm.c if (newctrl != acm->ctrlout) newctrl 1082 drivers/usb/class/cdc-acm.c acm_set_control(acm, acm->ctrlout = newctrl);