Searched refs:TIOCM_CTS (Results 1 – 25 of 125) sorted by relevance
12345
/drivers/tty/serial/ |
D | serial_mctrl_gpio.c | 40 { "cts", TIOCM_CTS, false, }, 146 #define MCTRL_ANY_DELTA (TIOCM_RI | TIOCM_DSR | TIOCM_CD | TIOCM_CTS) 172 if (mctrl_diff & TIOCM_CTS) in mctrl_gpio_irq_handle() 173 uart_handle_cts_change(port, mctrl & TIOCM_CTS); in mctrl_gpio_irq_handle()
|
D | bfin_sport_uart.c | 220 return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in sport_get_mctrl() 224 return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in sport_get_mctrl() 251 uart_handle_cts_change(&up->port, status & TIOCM_CTS); in sport_mctrl_cts_int() 259 return TIOCM_CTS | TIOCM_CD | TIOCM_DSR; in sport_get_mctrl()
|
D | pnx8xxx_uart.c | 100 if (changed & TIOCM_CTS) in pnx8xxx_mctrl_check() 101 uart_handle_cts_change(&sport->port, status & TIOCM_CTS); in pnx8xxx_mctrl_check() 337 mctrl |= msr & PNX8XXX_UART_MCR_CTS ? TIOCM_CTS : 0; in pnx8xxx_get_mctrl()
|
D | timbuart.c | 217 return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in timbuart_get_mctrl() 240 uart_handle_cts_change(port, cts & TIOCM_CTS); in timbuart_mctrl_check()
|
D | sa1100.c | 116 if (changed & TIOCM_CTS) in sa1100_mctrl_check() 117 uart_handle_cts_change(&sport->port, status & TIOCM_CTS); in sa1100_mctrl_check() 338 return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in sa1100_get_mctrl()
|
D | zs.c | 330 mctrl = ((status_b & CTS) ? TIOCM_CTS : 0) | in zs_raw_get_ab_mctrl() 357 mmask = ((mask_b & CTSIE) ? TIOCM_CTS : 0) | in zs_raw_xor_mctrl() 678 if (delta & TIOCM_CTS) in zs_status_handle() 680 zport->mctrl & TIOCM_CTS); in zs_status_handle()
|
D | bfin_uart.c | 83 return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in bfin_serial_get_mctrl() 87 return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in bfin_serial_get_mctrl() 126 uart_handle_cts_change(uport, status & TIOCM_CTS); in bfin_serial_mctrl_cts_int() 134 return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in bfin_serial_get_mctrl()
|
D | mxs-auart.c | 757 #define MCTRL_ANY_DELTA (TIOCM_RI | TIOCM_DSR | TIOCM_CD | TIOCM_CTS) 772 if (mctrl_diff & TIOCM_CTS) in mxs_auart_modem_status() 773 uart_handle_cts_change(&s->port, mctrl & TIOCM_CTS); in mxs_auart_modem_status() 787 mctrl |= TIOCM_CTS; in mxs_auart_get_mctrl()
|
D | sccnxp.c | 557 unsigned int mctrl = TIOCM_DSR | TIOCM_CTS | TIOCM_CAR; in sccnxp_get_mctrl() 575 mctrl &= ~TIOCM_CTS; in sccnxp_get_mctrl() 576 mctrl |= (ipr & bitmask) ? TIOCM_CTS : 0; in sccnxp_get_mctrl()
|
D | pic32_uart.c | 103 mctrl |= TIOCM_CTS; in pic32_uart_get_mctrl() 105 mctrl |= TIOCM_CTS; in pic32_uart_get_mctrl()
|
D | mux.c | 138 return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS; in mux_get_mctrl()
|
D | max3100.c | 255 uart_handle_cts_change(&s->port, cts ? TIOCM_CTS : 0); in max3100_handlerx() 402 return (s->cts ? TIOCM_CTS : 0) | TIOCM_DSR | TIOCM_CAR; in max3100_get_mctrl()
|
D | 21285.c | 161 return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS; in serial21285_get_mctrl()
|
D | altera_jtaguart.c | 74 return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS; in altera_jtaguart_get_mctrl()
|
D | fsl_lpuart.c | 972 temp |= TIOCM_CTS; in lpuart_get_mctrl() 987 temp |= TIOCM_CTS; in lpuart32_get_mctrl() 1009 if (mctrl & TIOCM_CTS) in lpuart_set_mctrl() 1026 if (mctrl & TIOCM_CTS) in lpuart32_set_mctrl()
|
/drivers/staging/dgnc/ |
D | dgnc_mgmt.c | 206 ni.mstat |= TIOCM_CTS; in dgnc_mgmt_ioctl() 207 ni.cts = TIOCM_CTS; in dgnc_mgmt_ioctl()
|
D | digi.h | 25 #define TIOCM_CTS 0x20 /* clear to send */ macro
|
/drivers/bluetooth/ |
D | hci_ath.c | 57 if (status & TIOCM_CTS) in ath_wakeup_ar3k() 89 if (!(status & TIOCM_CTS)) in ath_hci_uart_work()
|
/drivers/usb/serial/ |
D | belkin_sa.c | 217 priv->control_state |= TIOCM_CTS; in belkin_sa_read_int_callback() 219 priv->control_state &= ~TIOCM_CTS; in belkin_sa_read_int_callback()
|
D | mct_u232.c | 363 *control_state |= TIOCM_CTS; in mct_u232_msr_to_state() 365 *control_state &= ~TIOCM_CTS; in mct_u232_msr_to_state()
|
D | iuu_phoenix.c | 967 | TIOCM_CTS | CSTOPB | PARENB; in iuu_init_termios() 1074 iuu_cardin = TIOCM_CTS; in iuu_open() 1079 iuu_cardout = TIOCM_CTS; in iuu_open()
|
D | opticon.c | 296 result |= TIOCM_CTS; in opticon_tiocmget()
|
D | spcp8x5.c | 476 | ((status & MSR_STATUS_LINE_CTS) ? TIOCM_CTS : 0) in spcp8x5_tiocmget()
|
/drivers/staging/fwserial/ |
D | fwserial.c | 324 if (delta & TIOCM_CTS) in fwtty_update_port_status() 340 if (delta & TIOCM_CTS) { in fwtty_update_port_status() 344 if (status & TIOCM_CTS) { in fwtty_update_port_status() 352 if (~status & TIOCM_CTS) in fwtty_update_port_status() 387 if (delta & (TIOCM_DSR | TIOCM_CAR | TIOCM_CTS | TIOCM_RNG)) in fwtty_update_port_status() 409 status |= TIOCM_CTS; in __fwtty_port_line_status() 1016 if (C_CRTSCTS(tty) && ~port->mstatus & TIOCM_CTS) in fwtty_port_activate() 1211 (mask & TIOCM_CTS && prev->cts != now.cts)); in check_msr_delta() 1322 } else if (C_CRTSCTS(tty) && ~port->mstatus & TIOCM_CTS) { in fwtty_set_termios()
|
/drivers/mmc/card/ |
D | sdio_uart.c | 215 ret |= TIOCM_CTS; in sdio_uart_get_mctrl() 655 if (!(sdio_uart_get_mctrl(port) & TIOCM_CTS)) in sdio_uart_activate() 911 if (!(sdio_uart_get_mctrl(port) & TIOCM_CTS)) { in sdio_uart_set_termios()
|
12345