Home
last modified time | relevance | path

Searched refs:TIOCM_CAR (Results 1 – 25 of 90) sorted by relevance

1234

/drivers/staging/dgnc/
Ddigi.h26 #define TIOCM_CAR 0x40 /* carrier detect */ macro
30 #define TIOCM_CD TIOCM_CAR /* carrier detect (alt) */
/drivers/tty/serial/
Dpnx8xxx_uart.c98 if (changed & TIOCM_CAR) in pnx8xxx_mctrl_check()
99 uart_handle_dcd_change(&sport->port, status & TIOCM_CAR); in pnx8xxx_mctrl_check()
338 mctrl |= msr & PNX8XXX_UART_MCR_DCD ? TIOCM_CAR : 0; in pnx8xxx_get_mctrl()
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()
226 return TIOCM_DSR | TIOCM_CAR; in sport_get_mctrl()
Dtimbuart.c217 return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in timbuart_get_mctrl()
219 return TIOCM_DSR | TIOCM_CAR; in timbuart_get_mctrl()
Dsa1100.c114 if (changed & TIOCM_CAR) in sa1100_mctrl_check()
115 uart_handle_dcd_change(&sport->port, status & TIOCM_CAR); in sa1100_mctrl_check()
338 return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in sa1100_get_mctrl()
Dzs.c331 ((status_b & DCD) ? TIOCM_CAR : 0) | in zs_raw_get_ab_mctrl()
358 ((mask_b & DCDIE) ? TIOCM_CAR : 0) | in zs_raw_xor_mctrl()
681 if (delta & TIOCM_CAR) in zs_status_handle()
683 zport->mctrl & TIOCM_CAR); 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()
89 return TIOCM_DSR | TIOCM_CAR; in bfin_serial_get_mctrl()
134 return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in bfin_serial_get_mctrl()
Dsccnxp.c557 unsigned int mctrl = TIOCM_DSR | TIOCM_CTS | TIOCM_CAR; in sccnxp_get_mctrl()
581 mctrl &= ~TIOCM_CAR; in sccnxp_get_mctrl()
582 mctrl |= (ipr & bitmask) ? TIOCM_CAR : 0; in sccnxp_get_mctrl()
Dmux.c138 return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS; in mux_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()
Dsunhv.c251 return TIOCM_DSR | TIOCM_CAR | TIOCM_CTS; in sunhv_get_mctrl()
Darc_uart.c327 return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in arc_serial_get_mctrl()
Dmvebu-uart.c116 return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in mvebu_uart_get_mctrl()
Dsn_console.c303 return TIOCM_CAR | TIOCM_RNG | TIOCM_DSR | TIOCM_CTS; in snp_get_mctrl()
Dapbuart.c189 return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS; in apbuart_get_mctrl()
Dserial_ks8695.c284 result |= TIOCM_CAR; in ks8695uart_get_mctrl()
Dmps2-uart.c117 return TIOCM_CAR | TIOCM_CTS | TIOCM_DSR; in mps2_uart_get_mctrl()
Dclps711x.c203 unsigned int result = TIOCM_DSR | TIOCM_CTS | TIOCM_CAR; in uart_clps711x_get_mctrl()
/drivers/staging/fwserial/
Dfwserial.c322 if (delta & TIOCM_CAR) in fwtty_update_port_status()
329 if (delta & TIOCM_CAR) { in fwtty_update_port_status()
332 if (status & TIOCM_CAR) in fwtty_update_port_status()
387 if (delta & (TIOCM_DSR | TIOCM_CAR | TIOCM_CTS | TIOCM_RNG)) in fwtty_update_port_status()
407 status |= TIOCM_DSR | TIOCM_CAR; in __fwtty_port_line_status()
931 rc = (port->mstatus & TIOCM_CAR); in fwtty_port_carrier_raised()
1210 (mask & TIOCM_CAR && prev->dcd != now.dcd) || in check_msr_delta()
/drivers/tty/serial/8250/
D8250_lpss.c107 ret |= TIOCM_CAR | TIOCM_DSR; in byt_get_mctrl()
/drivers/mmc/card/
Dsdio_uart.c209 ret |= TIOCM_CAR; in sdio_uart_get_mctrl()
557 if (ret & TIOCM_CAR) in uart_carrier_raised()
/drivers/usb/serial/
Dssu100.c424 (d[1] & UART_MSR_DCD ? TIOCM_CAR : 0) | in ssu100_tiocmget()
Df81232.c518 (msr & UART_MSR_DCD ? TIOCM_CAR : 0) | in f81232_tiocmget()
/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c120 unsigned int mctrl = TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in cpm_uart_get_mctrl()
134 mctrl &= ~TIOCM_CAR; in cpm_uart_get_mctrl()

1234