Home
last modified time | relevance | path

Searched refs:TIOCM_CTS (Results 1 – 25 of 125) sorted by relevance

12345

/drivers/tty/serial/
Dserial_mctrl_gpio.c40 { "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()
Dbfin_sport_uart.c220 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()
Dpnx8xxx_uart.c100 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()
Dtimbuart.c217 return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in timbuart_get_mctrl()
240 uart_handle_cts_change(port, cts & TIOCM_CTS); in timbuart_mctrl_check()
Dsa1100.c116 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()
Dzs.c330 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()
Dbfin_uart.c83 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()
Dmxs-auart.c757 #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()
Dsccnxp.c557 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()
Dpic32_uart.c103 mctrl |= TIOCM_CTS; in pic32_uart_get_mctrl()
105 mctrl |= TIOCM_CTS; in pic32_uart_get_mctrl()
Dmux.c138 return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS; in mux_get_mctrl()
Dmax3100.c255 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()
D21285.c161 return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS; in serial21285_get_mctrl()
Daltera_jtaguart.c74 return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS; in altera_jtaguart_get_mctrl()
Dfsl_lpuart.c972 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/
Ddgnc_mgmt.c206 ni.mstat |= TIOCM_CTS; in dgnc_mgmt_ioctl()
207 ni.cts = TIOCM_CTS; in dgnc_mgmt_ioctl()
Ddigi.h25 #define TIOCM_CTS 0x20 /* clear to send */ macro
/drivers/bluetooth/
Dhci_ath.c57 if (status & TIOCM_CTS) in ath_wakeup_ar3k()
89 if (!(status & TIOCM_CTS)) in ath_hci_uart_work()
/drivers/usb/serial/
Dbelkin_sa.c217 priv->control_state |= TIOCM_CTS; in belkin_sa_read_int_callback()
219 priv->control_state &= ~TIOCM_CTS; in belkin_sa_read_int_callback()
Dmct_u232.c363 *control_state |= TIOCM_CTS; in mct_u232_msr_to_state()
365 *control_state &= ~TIOCM_CTS; in mct_u232_msr_to_state()
Diuu_phoenix.c967 | TIOCM_CTS | CSTOPB | PARENB; in iuu_init_termios()
1074 iuu_cardin = TIOCM_CTS; in iuu_open()
1079 iuu_cardout = TIOCM_CTS; in iuu_open()
Dopticon.c296 result |= TIOCM_CTS; in opticon_tiocmget()
Dspcp8x5.c476 | ((status & MSR_STATUS_LINE_CTS) ? TIOCM_CTS : 0) in spcp8x5_tiocmget()
/drivers/staging/fwserial/
Dfwserial.c324 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/
Dsdio_uart.c215 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