arch/arm/mach-sa1100/collie.c
178
ret |= TIOCM_CTS;
drivers/bluetooth/hci_ath.c
54
if (status & TIOCM_CTS)
drivers/bluetooth/hci_ath.c
86
if (!(status & TIOCM_CTS))
drivers/leds/trigger/ledtrig-tty.c
233
if (status & TIOCM_CTS)
drivers/mmc/core/sdio_uart.c
208
ret |= TIOCM_CTS;
drivers/mmc/core/sdio_uart.c
631
if (!(sdio_uart_get_mctrl(port) & TIOCM_CTS))
drivers/mmc/core/sdio_uart.c
887
if (!(sdio_uart_get_mctrl(port) & TIOCM_CTS)) {
drivers/staging/greybus/uart.c
533
TIOCM_CTS;
drivers/tty/amiserial.c
1027
| (!(status & SER_CTS) ? TIOCM_CTS : 0);
drivers/tty/amiserial.c
1149
((arg & TIOCM_CTS) && (cnow.cts != cprev.cts)) ) {
drivers/tty/ipwireless/tty.c
295
out |= TIOCM_CTS;
drivers/tty/moxa.c
1322
flag |= TIOCM_CTS;
drivers/tty/mxser.c
1088
((msr & UART_MSR_CTS) ? TIOCM_CTS : 0);
drivers/tty/mxser.c
1129
((arg & TIOCM_CTS) && (cnow.cts != cprev->cts));
drivers/tty/n_gsm.c
1541
mlines |= TIOCM_RTS | TIOCM_CTS;
drivers/tty/nozomi.c
1649
| (ctrl_dl->CTS ? TIOCM_CTS : 0);
drivers/tty/nozomi.c
1683
|| ((flags & TIOCM_CTS) && (cnow.cts != cprev->cts));
drivers/tty/serial/21285.c
176
return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS;
drivers/tty/serial/8250/8250.h
280
tiocm |= TIOCM_CTS;
drivers/tty/serial/altera_jtaguart.c
68
return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS;
drivers/tty/serial/altera_uart.c
105
ALTERA_UART_STATUS_CTS_MSK) ? TIOCM_CTS : 0;
drivers/tty/serial/amba-pl010.c
254
result |= TIOCM_CTS;
drivers/tty/serial/amba-pl011.c
1658
pl011_maybe_set_bit(status & uap->vendor->fr_cts, &result, TIOCM_CTS);
drivers/tty/serial/apbuart.c
158
return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS;
drivers/tty/serial/ar933x_uart.c
147
int ret = TIOCM_CTS | TIOCM_DSR | TIOCM_CAR;
drivers/tty/serial/arc_uart.c
312
return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR;
drivers/tty/serial/atmel_serial.c
541
ret |= TIOCM_CTS;
drivers/tty/serial/bcm63xx_uart.c
132
mctrl |= TIOCM_CTS;
drivers/tty/serial/clps711x.c
195
unsigned int result = TIOCM_DSR | TIOCM_CTS | TIOCM_CAR;
drivers/tty/serial/cpm_uart.c
104
unsigned int mctrl = TIOCM_CTS | TIOCM_DSR | TIOCM_CAR;
drivers/tty/serial/cpm_uart.c
108
mctrl &= ~TIOCM_CTS;
drivers/tty/serial/digicolor-usart.c
242
return TIOCM_CTS;
drivers/tty/serial/dz.c
361
unsigned int mctrl = TIOCM_CAR | TIOCM_DSR | TIOCM_CTS;
drivers/tty/serial/esp32_uart.c
200
ret |= TIOCM_CTS;
drivers/tty/serial/fsl_lpuart.c
1534
unsigned int mctrl = TIOCM_CAR | TIOCM_DSR | TIOCM_CTS;
drivers/tty/serial/icom.c
1227
| ((status & ICOM_CTS) ? TIOCM_CTS : 0);
drivers/tty/serial/imx.c
782
sport->old_status |= TIOCM_CTS;
drivers/tty/serial/imx.c
784
sport->old_status &= ~TIOCM_CTS;
drivers/tty/serial/imx.c
950
tmp |= TIOCM_CTS;
drivers/tty/serial/imx.c
986
if (changed & TIOCM_CTS)
drivers/tty/serial/imx.c
987
uart_handle_cts_change(&sport->port, status & TIOCM_CTS);
drivers/tty/serial/ip22zilog.c
530
ret |= TIOCM_CTS;
drivers/tty/serial/jsm/jsm_tty.c
43
result |= TIOCM_CTS;
drivers/tty/serial/lantiq.c
313
return TIOCM_CTS | TIOCM_CAR | TIOCM_DSR;
drivers/tty/serial/liteuart.c
178
return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR;
drivers/tty/serial/lpc32xx_hs.c
358
return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS;
drivers/tty/serial/ma35d1_serial.c
326
ret |= TIOCM_CTS;
drivers/tty/serial/max3100.c
379
return (s->cts ? TIOCM_CTS : 0) | TIOCM_DSR | TIOCM_CAR;
drivers/tty/serial/mcf.c
74
0 : TIOCM_CTS;
drivers/tty/serial/men_z135_uart.c
519
mctrl |= TIOCM_CTS;
drivers/tty/serial/meson_uart.c
95
return TIOCM_CTS;
drivers/tty/serial/milbeaut_usio.c
242
return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS;
drivers/tty/serial/mpc52xx_uart.c
1061
ret |= TIOCM_CTS;
drivers/tty/serial/mps2-uart.c
117
return TIOCM_CAR | TIOCM_CTS | TIOCM_DSR;
drivers/tty/serial/msm_serial.c
1004
return TIOCM_CAR | TIOCM_CTS | TIOCM_DSR | TIOCM_RTS;
drivers/tty/serial/mux.c
130
return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS;
drivers/tty/serial/mvebu-uart.c
199
return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR;
drivers/tty/serial/mxs-auart.c
715
#define MCTRL_ANY_DELTA (TIOCM_RI | TIOCM_DSR | TIOCM_CD | TIOCM_CTS)
drivers/tty/serial/mxs-auart.c
730
if (mctrl_diff & TIOCM_CTS)
drivers/tty/serial/mxs-auart.c
731
uart_handle_cts_change(&s->port, mctrl & TIOCM_CTS);
drivers/tty/serial/mxs-auart.c
745
mctrl |= TIOCM_CTS;
drivers/tty/serial/omap-serial.c
606
ret |= TIOCM_CTS;
drivers/tty/serial/owl-uart.c
118
mctrl |= TIOCM_CTS;
drivers/tty/serial/pch_uart.c
1109
ret |= TIOCM_CTS;
drivers/tty/serial/pic32_uart.c
166
mctrl |= TIOCM_CTS;
drivers/tty/serial/pic32_uart.c
168
mctrl |= TIOCM_CTS;
drivers/tty/serial/pmac_zilog.c
567
ret |= TIOCM_CTS;
drivers/tty/serial/pxa.c
268
ret |= TIOCM_CTS;
drivers/tty/serial/qcom_geni_serial.c
231
mctrl |= TIOCM_CTS;
drivers/tty/serial/qcom_geni_serial.c
235
mctrl |= TIOCM_CTS;
drivers/tty/serial/rda-uart.c
162
mctrl |= TIOCM_CTS;
drivers/tty/serial/rp2.c
293
((status & RP2_CHAN_STAT_CTS_m) ? TIOCM_CTS : 0) |
drivers/tty/serial/rsci.c
375
mctrl |= TIOCM_CTS;
drivers/tty/serial/sa1100.c
102
if (changed & TIOCM_CTS)
drivers/tty/serial/sa1100.c
103
uart_handle_cts_change(&sport->port, status & TIOCM_CTS);
drivers/tty/serial/sa1100.c
299
int ret = TIOCM_CTS | TIOCM_DSR | TIOCM_CAR;
drivers/tty/serial/samsung_tty.c
1006
return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS;
drivers/tty/serial/sb1250-duart.c
246
mctrl = (!(status & M_DUART_IN_PIN0_VAL) ? TIOCM_CTS : 0) |
drivers/tty/serial/sc16is7xx.c
701
mctrl |= (msr & SC16IS7XX_MSR_CTS_BIT) ? TIOCM_CTS : 0;
drivers/tty/serial/sc16is7xx.c
732
if (changed & TIOCM_CTS)
drivers/tty/serial/sc16is7xx.c
733
uart_handle_cts_change(port, status & TIOCM_CTS);
drivers/tty/serial/sccnxp.c
590
unsigned int mctrl = TIOCM_DSR | TIOCM_CTS | TIOCM_CAR;
drivers/tty/serial/sccnxp.c
608
mctrl &= ~TIOCM_CTS;
drivers/tty/serial/sccnxp.c
609
mctrl |= (ipr & bitmask) ? TIOCM_CTS : 0;
drivers/tty/serial/serial-tegra.c
187
return TIOCM_RI | TIOCM_CD | TIOCM_DSR | TIOCM_CTS;
drivers/tty/serial/serial-tegra.c
188
return TIOCM_CTS;
drivers/tty/serial/serial_core.c
1234
((arg & TIOCM_CTS) && (cnow.cts != cprev.cts))) {
drivers/tty/serial/serial_core.c
2033
STATBIT(TIOCM_CTS, "|CTS");
drivers/tty/serial/serial_core.c
235
!(uport->ops->get_mctrl(uport) & TIOCM_CTS);
drivers/tty/serial/serial_mctrl_gpio.c
176
#define MCTRL_ANY_DELTA (TIOCM_RI | TIOCM_DSR | TIOCM_CD | TIOCM_CTS)
drivers/tty/serial/serial_mctrl_gpio.c
202
if (mctrl_diff & TIOCM_CTS)
drivers/tty/serial/serial_mctrl_gpio.c
203
uart_handle_cts_change(port, mctrl & TIOCM_CTS);
drivers/tty/serial/serial_mctrl_gpio.c
32
{ "cts", TIOCM_CTS, GPIOD_IN, },
drivers/tty/serial/serial_txx9.c
385
ret |= (sio_in(up, TXX9_SICISR) & TXX9_SICISR_CTSS) ? 0 : TIOCM_CTS;
drivers/tty/serial/sh-sci.c
2408
mctrl |= TIOCM_CTS;
drivers/tty/serial/sh-sci.c
2410
mctrl |= TIOCM_CTS;
drivers/tty/serial/sifive.c
552
return TIOCM_CAR | TIOCM_CTS | TIOCM_DSR;
drivers/tty/serial/sprd_serial.c
181
return TIOCM_DSR | TIOCM_CTS;
drivers/tty/serial/st-asc.c
384
return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS;
drivers/tty/serial/stm32-usart.c
935
ret = TIOCM_CAR | TIOCM_DSR | TIOCM_CTS;
drivers/tty/serial/sunhv.c
255
return TIOCM_DSR | TIOCM_CAR | TIOCM_CTS;
drivers/tty/serial/sunsab.c
400
result |= (val & SAB82532_STAR_CTS) ? TIOCM_CTS : 0;
drivers/tty/serial/sunsu.c
549
ret |= TIOCM_CTS;
drivers/tty/serial/sunzilog.c
635
ret |= TIOCM_CTS;
drivers/tty/serial/timbuart.c
199
return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR;
drivers/tty/serial/timbuart.c
222
uart_handle_cts_change(port, cts & TIOCM_CTS);
drivers/tty/serial/uartlite.c
258
return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR;
drivers/tty/serial/ucc_uart.c
299
return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS;
drivers/tty/serial/vt8500_serial.c
254
return TIOCM_CTS;
drivers/tty/serial/xilinx_uartps.c
1150
return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR;
drivers/tty/serial/xilinx_uartps.c
1154
mctrl |= TIOCM_CTS;
drivers/tty/serial/zs.c
327
mctrl = ((status_b & CTS) ? TIOCM_CTS : 0) |
drivers/tty/serial/zs.c
354
mmask = ((mask_b & CTSIE) ? TIOCM_CTS : 0) |
drivers/tty/serial/zs.c
676
if (delta & TIOCM_CTS)
drivers/tty/serial/zs.c
678
zport->mctrl & TIOCM_CTS);
drivers/tty/synclink_gt.c
3062
(arg & TIOCM_CTS && cnow.cts != cprev.cts)) {
drivers/tty/synclink_gt.c
3092
((info->signals & SerialSignal_CTS) ? TIOCM_CTS:0);
drivers/usb/class/cdc-acm.c
949
TIOCM_CTS;
drivers/usb/serial/ark3116.c
391
(status & UART_MSR_CTS ? TIOCM_CTS : 0) |
drivers/usb/serial/belkin_sa.c
211
priv->control_state |= TIOCM_CTS;
drivers/usb/serial/belkin_sa.c
213
priv->control_state &= ~TIOCM_CTS;
drivers/usb/serial/ch341.c
824
| ((status & CH341_BIT_CTS) ? TIOCM_CTS : 0)
drivers/usb/serial/cp210x.c
1432
|((control & CONTROL_CTS) ? TIOCM_CTS : 0)
drivers/usb/serial/cypress_m8.c
821
| ((status & UART_CTS) ? TIOCM_CTS : 0)
drivers/usb/serial/digi_acceleport.c
1491
priv->dp_modem_signals |= TIOCM_CTS;
drivers/usb/serial/digi_acceleport.c
1495
priv->dp_modem_signals &= ~TIOCM_CTS;
drivers/usb/serial/f81232.c
683
(msr & UART_MSR_CTS ? TIOCM_CTS : 0) |
drivers/usb/serial/f81534.c
1445
(msr & UART_MSR_CTS ? TIOCM_CTS : 0) |
drivers/usb/serial/ftdi_sio.c
2807
(buf[0] & FTDI_SIO_CTS_MASK ? TIOCM_CTS : 0) |
drivers/usb/serial/generic.c
519
((arg & TIOCM_CTS) && (cnow.cts != cprev->cts));
drivers/usb/serial/io_edgeport.c
1535
| ((msr & EDGEPORT_MSR_CTS) ? TIOCM_CTS: 0) /* 0x020 */
drivers/usb/serial/io_ti.c
2411
| ((msr & EDGEPORT_MSR_CTS) ? TIOCM_CTS: 0) /* 0x020 */
drivers/usb/serial/iuu_phoenix.c
1040
iuu_cardin = TIOCM_CTS;
drivers/usb/serial/iuu_phoenix.c
1045
iuu_cardout = TIOCM_CTS;
drivers/usb/serial/keyspan.c
666
((p_priv->cts_state) ? TIOCM_CTS : 0) |
drivers/usb/serial/keyspan_pda.c
424
((status & BIT(3)) ? TIOCM_CTS : 0) |
drivers/usb/serial/kl5kusb105.c
178
((status & KL5KUSB105A_CTS) ? TIOCM_CTS : 0);
drivers/usb/serial/mct_u232.c
359
*control_state |= TIOCM_CTS;
drivers/usb/serial/mct_u232.c
361
*control_state &= ~TIOCM_CTS;
drivers/usb/serial/mos7720.c
1570
| ((msr & UART_MSR_CTS) ? TIOCM_CTS : 0) /* 0x020 */
drivers/usb/serial/mos7840.c
994
| ((msr & MOS7840_MSR_CTS) ? TIOCM_CTS : 0)
drivers/usb/serial/mxuport.c
752
((msr & UART_MSR_CTS) ? TIOCM_CTS : 0) | /* 0x020 */
drivers/usb/serial/opticon.c
315
result |= TIOCM_CTS;
drivers/usb/serial/oti6858.c
624
result |= TIOCM_CTS;
drivers/usb/serial/pl2303.c
1078
| ((status & UART_CTS) ? TIOCM_CTS : 0)
drivers/usb/serial/quatech2.c
725
(d[1] & UART_MSR_CTS ? TIOCM_CTS : 0) |
drivers/usb/serial/sierra.c
351
((portdata->cts_state) ? TIOCM_CTS : 0) |
drivers/usb/serial/spcp8x5.c
445
| ((status & MSR_STATUS_LINE_CTS) ? TIOCM_CTS : 0)
drivers/usb/serial/ssu100.c
369
(d[1] & UART_MSR_CTS ? TIOCM_CTS : 0) |
drivers/usb/serial/ti_usb_3410_5052.c
1026
| ((msr & TI_MSR_CTS) ? TIOCM_CTS : 0)
drivers/usb/serial/usb_wwan.c
101
((portdata->cts_state) ? TIOCM_CTS : 0) |
drivers/usb/serial/xr_serial.c
455
((status & XR_GPIO_CTS) ? 0 : TIOCM_CTS) |
include/linux/serdev.h
284
return !!(status & TIOCM_CTS);
net/bluetooth/rfcomm/tty.c
647
((v24_sig & RFCOMM_V24_RTR) ? TIOCM_CTS : 0) |