Searched refs:mstat (Results 1 – 4 of 4) sorted by relevance
166 unsigned char mstat = 0; in dgnc_mgmt_ioctl() local195 mstat = ch->ch_mostat | ch->ch_mistat; in dgnc_mgmt_ioctl()197 if (mstat & UART_MCR_DTR) { in dgnc_mgmt_ioctl()198 ni.mstat |= TIOCM_DTR; in dgnc_mgmt_ioctl()201 if (mstat & UART_MCR_RTS) { in dgnc_mgmt_ioctl()202 ni.mstat |= TIOCM_RTS; in dgnc_mgmt_ioctl()205 if (mstat & UART_MSR_CTS) { in dgnc_mgmt_ioctl()206 ni.mstat |= TIOCM_CTS; in dgnc_mgmt_ioctl()209 if (mstat & UART_MSR_RI) { in dgnc_mgmt_ioctl()210 ni.mstat |= TIOCM_RI; in dgnc_mgmt_ioctl()[all …]
1761 unsigned char mstat = 0; in dgnc_tty_tiocmget() local1777 mstat = ch->ch_mostat | ch->ch_mistat; in dgnc_tty_tiocmget()1783 if (mstat & UART_MCR_DTR) in dgnc_tty_tiocmget()1785 if (mstat & UART_MCR_RTS) in dgnc_tty_tiocmget()1787 if (mstat & UART_MSR_CTS) in dgnc_tty_tiocmget()1789 if (mstat & UART_MSR_DSR) in dgnc_tty_tiocmget()1791 if (mstat & UART_MSR_RI) in dgnc_tty_tiocmget()1793 if (mstat & UART_MSR_DCD) in dgnc_tty_tiocmget()1968 unsigned char mstat; in dgnc_get_mstat() local1977 mstat = ch->ch_mostat | ch->ch_mistat; in dgnc_get_mstat()[all …]
166 unsigned int mstat; member
38 unsigned char mstat; in jsm_get_mstat() local43 mstat = (ch->ch_mostat | ch->ch_mistat); in jsm_get_mstat()47 if (mstat & UART_MCR_DTR) in jsm_get_mstat()49 if (mstat & UART_MCR_RTS) in jsm_get_mstat()51 if (mstat & UART_MSR_CTS) in jsm_get_mstat()53 if (mstat & UART_MSR_DSR) in jsm_get_mstat()55 if (mstat & UART_MSR_RI) in jsm_get_mstat()57 if (mstat & UART_MSR_DCD) in jsm_get_mstat()