Home
last modified time | relevance | path

Searched refs:ttybits (Results 1 – 13 of 13) sorted by relevance

/netbsd/sys/dev/usb/
H A Ducycom.c1021 tiocm_to_ucycom(struct ucycom_softc *sc, u_long how, int ttybits) in tiocm_to_ucycom() argument
1027 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_ucycom()
1029 if (ISSET(ttybits, TIOCM_RTS)) in tiocm_to_ucycom()
1056 int ttybits = 0; in ucycom_to_tiocm() local
1060 SET(ttybits, TIOCM_DTR); in ucycom_to_tiocm()
1062 SET(ttybits, TIOCM_RTS); in ucycom_to_tiocm()
1066 SET(ttybits, TIOCM_CD); in ucycom_to_tiocm()
1068 SET(ttybits, TIOCM_CTS); in ucycom_to_tiocm()
1070 SET(ttybits, TIOCM_DSR); in ucycom_to_tiocm()
1072 SET(ttybits, TIOCM_RI); in ucycom_to_tiocm()
[all …]
H A Ducom.c966 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_ucom()
968 if (ISSET(ttybits, TIOCM_RTS)) in tiocm_to_ucom()
999 int ttybits = 0; in ucom_to_tiocm() local
1004 SET(ttybits, TIOCM_DTR); in ucom_to_tiocm()
1006 SET(ttybits, TIOCM_RTS); in ucom_to_tiocm()
1010 SET(ttybits, TIOCM_CD); in ucom_to_tiocm()
1012 SET(ttybits, TIOCM_CTS); in ucom_to_tiocm()
1014 SET(ttybits, TIOCM_DSR); in ucom_to_tiocm()
1016 SET(ttybits, TIOCM_RI); in ucom_to_tiocm()
1021 SET(ttybits, TIOCM_LE); in ucom_to_tiocm()
[all …]
/netbsd/sys/dev/pci/
H A Dcz.c1255 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_cztty()
1257 if (ISSET(ttybits, TIOCM_RTS)) in tiocm_to_cztty()
1293 int ttybits = 0; in cztty_to_tiocm() local
1301 SET(ttybits, TIOCM_RTS); in cztty_to_tiocm()
1303 SET(ttybits, TIOCM_CTS); in cztty_to_tiocm()
1305 SET(ttybits, TIOCM_CAR); in cztty_to_tiocm()
1307 SET(ttybits, TIOCM_DTR); in cztty_to_tiocm()
1309 SET(ttybits, TIOCM_RNG); in cztty_to_tiocm()
1311 SET(ttybits, TIOCM_DSR); in cztty_to_tiocm()
1314 SET(ttybits, TIOCM_LE); in cztty_to_tiocm()
[all …]
/netbsd/sys/arch/mips/sibyte/dev/
H A Dsbjcn.c797 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_sbjcn()
799 if (ISSET(ttybits, TIOCM_RTS)) in tiocm_to_sbjcn()
830 int ttybits = 0; in sbjcn_to_tiocm() local
834 SET(ttybits, TIOCM_DTR); in sbjcn_to_tiocm()
836 SET(ttybits, TIOCM_RTS); in sbjcn_to_tiocm()
840 SET(ttybits, TIOCM_CD); in sbjcn_to_tiocm()
842 SET(ttybits, TIOCM_CTS); in sbjcn_to_tiocm()
844 SET(ttybits, TIOCM_DSR); in sbjcn_to_tiocm()
846 SET(ttybits, TIOCM_RI); in sbjcn_to_tiocm()
849 SET(ttybits, TIOCM_LE); in sbjcn_to_tiocm()
[all …]
H A Dsbscn.c880 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_sbscn()
882 if (ISSET(ttybits, TIOCM_RTS)) in tiocm_to_sbscn()
913 int ttybits = 0; in sbscn_to_tiocm() local
917 SET(ttybits, TIOCM_DTR); in sbscn_to_tiocm()
919 SET(ttybits, TIOCM_RTS); in sbscn_to_tiocm()
923 SET(ttybits, TIOCM_CD); in sbscn_to_tiocm()
925 SET(ttybits, TIOCM_CTS); in sbscn_to_tiocm()
927 SET(ttybits, TIOCM_DSR); in sbscn_to_tiocm()
929 SET(ttybits, TIOCM_RI); in sbscn_to_tiocm()
932 SET(ttybits, TIOCM_LE); in sbscn_to_tiocm()
[all …]
/netbsd/sys/arch/arm/xilinx/
H A Dzynq_uart.c1042 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_zynquart()
1044 if (ISSET(ttybits, TIOCM_RTS)) in tiocm_to_zynquart()
1073 int ttybits = 0; in zynquart_to_tiocm() local
1077 SET(ttybits, TIOCM_DTR); in zynquart_to_tiocm()
1079 SET(ttybits, TIOCM_RTS); in zynquart_to_tiocm()
1083 SET(ttybits, TIOCM_CD); in zynquart_to_tiocm()
1085 SET(ttybits, TIOCM_CTS); in zynquart_to_tiocm()
1087 SET(ttybits, TIOCM_DSR); in zynquart_to_tiocm()
1089 SET(ttybits, TIOCM_RI); in zynquart_to_tiocm()
1094 SET(ttybits, TIOCM_LE); in zynquart_to_tiocm()
[all …]
/netbsd/sys/dev/ic/
H A Dz8530tty.c1203 tiocm_to_zs(struct zstty_softc *zst, u_long how, int ttybits) in tiocm_to_zs() argument
1211 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_zs()
1213 if (ISSET(ttybits, TIOCM_RTS)) in tiocm_to_zs()
1250 int ttybits = 0; in zs_to_tiocm() local
1256 SET(ttybits, TIOCM_DTR); in zs_to_tiocm()
1258 SET(ttybits, TIOCM_RTS); in zs_to_tiocm()
1262 SET(ttybits, TIOCM_CD); in zs_to_tiocm()
1264 SET(ttybits, TIOCM_CTS); in zs_to_tiocm()
1266 return (ttybits); in zs_to_tiocm()
H A Dcom.c1450 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_com()
1484 int ttybits = 0; in com_to_tiocm() local
1488 SET(ttybits, TIOCM_DTR); in com_to_tiocm()
1490 SET(ttybits, TIOCM_RTS); in com_to_tiocm()
1494 SET(ttybits, TIOCM_CD); in com_to_tiocm()
1497 SET(ttybits, TIOCM_CD); in com_to_tiocm()
1500 SET(ttybits, TIOCM_CTS); in com_to_tiocm()
1502 SET(ttybits, TIOCM_DSR); in com_to_tiocm()
1504 SET(ttybits, TIOCM_RI); in com_to_tiocm()
1507 SET(ttybits, TIOCM_LE); in com_to_tiocm()
[all …]
/netbsd/sys/arch/arm/s3c2xx0/
H A Dsscom.c933 tiocm_to_sscom(struct sscom_softc *sc, u_long how, int ttybits) in tiocm_to_sscom() argument
938 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_sscom()
940 if (ISSET(ttybits, TIOCM_RTS)) in tiocm_to_sscom()
972 int ttybits = 0; in sscom_to_tiocm() local
977 SET(ttybits, TIOCM_DTR); in sscom_to_tiocm()
980 SET(ttybits, TIOCM_RTS); in sscom_to_tiocm()
984 SET(ttybits, TIOCM_CD); in sscom_to_tiocm()
986 SET(ttybits, TIOCM_DSR); in sscom_to_tiocm()
988 SET(ttybits, TIOCM_CTS); in sscom_to_tiocm()
991 SET(ttybits, TIOCM_LE); in sscom_to_tiocm()
[all …]
/netbsd/sys/arch/arm/imx/
H A Dimxuart.c1057 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_imxu()
1059 if (ISSET(ttybits, TIOCM_RTS)) in tiocm_to_imxu()
1103 int ttybits = 0; in imxuart_to_tiocm() local
1107 SET(ttybits, TIOCM_DTR); in imxuart_to_tiocm()
1109 SET(ttybits, TIOCM_RTS); in imxuart_to_tiocm()
1114 SET(ttybits, TIOCM_CTS); in imxuart_to_tiocm()
1117 SET(ttybits, TIOCM_CD); in imxuart_to_tiocm()
1124 SET(ttybits, TIOCM_DSR); in imxuart_to_tiocm()
1128 SET(ttybits, TIOCM_RI); in imxuart_to_tiocm()
1133 SET(ttybits, TIOCM_LE); in imxuart_to_tiocm()
[all …]
/netbsd/sys/arch/evbarm/dev/
H A Dplcom.c1313 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_plcom()
1315 if (ISSET(ttybits, TIOCM_RTS)) in tiocm_to_plcom()
1347 int ttybits = 0; in plcom_to_tiocm() local
1351 SET(ttybits, TIOCM_DTR); in plcom_to_tiocm()
1353 SET(ttybits, TIOCM_RTS); in plcom_to_tiocm()
1357 SET(ttybits, TIOCM_CD); in plcom_to_tiocm()
1359 SET(ttybits, TIOCM_CTS); in plcom_to_tiocm()
1361 SET(ttybits, TIOCM_DSR); in plcom_to_tiocm()
1363 SET(ttybits, TIOCM_RI); in plcom_to_tiocm()
1366 SET(ttybits, TIOCM_LE); in plcom_to_tiocm()
[all …]
/netbsd/sys/arch/arm/clps711x/
H A Dclpscom.c892 int ttybits = 0; in clpscom_to_tiocm() local
896 SET(ttybits, TIOCM_CD); in clpscom_to_tiocm()
898 SET(ttybits, TIOCM_CTS); in clpscom_to_tiocm()
900 SET(ttybits, TIOCM_DSR); in clpscom_to_tiocm()
902 return ttybits; in clpscom_to_tiocm()
/netbsd/sys/arch/arm/sa11x0/
H A Dsa11x0_com.c824 tiocm_to_sacom(struct sacom_softc *sc, u_long how, int ttybits) in tiocm_to_sacom() argument
831 int ttybits = 0; in sacom_to_tiocm() local
834 SET(ttybits, TIOCM_LE); in sacom_to_tiocm()
836 return ttybits; in sacom_to_tiocm()