| /netbsd-src/sys/dev/usb/ |
| H A D | ucycom.c | 1022 tiocm_to_ucycom(struct ucycom_softc *sc, u_long how, int ttybits) in tiocm_to_ucycom() argument 1028 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_ucycom() 1030 if (ISSET(ttybits, TIOCM_RTS)) in tiocm_to_ucycom() 1057 int ttybits = 0; in ucycom_to_tiocm() local 1061 SET(ttybits, TIOCM_DTR); in ucycom_to_tiocm() 1063 SET(ttybits, TIOCM_RTS); in ucycom_to_tiocm() 1067 SET(ttybits, TIOCM_CD); in ucycom_to_tiocm() 1069 SET(ttybits, TIOCM_CTS); in ucycom_to_tiocm() 1071 SET(ttybits, TIOCM_DSR); in ucycom_to_tiocm() 1073 SET(ttybits, TIOCM_RI); in ucycom_to_tiocm() [all …]
|
| H A D | ucom.c | 962 tiocm_to_ucom(struct ucom_softc *sc, u_long how, int ttybits) in tiocm_to_ucom() argument 967 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_ucom() 969 if (ISSET(ttybits, TIOCM_RTS)) in tiocm_to_ucom() 1000 int ttybits = 0; in ucom_to_tiocm() local 1005 SET(ttybits, TIOCM_DTR); in ucom_to_tiocm() 1007 SET(ttybits, TIOCM_RTS); in ucom_to_tiocm() 1011 SET(ttybits, TIOCM_CD); in ucom_to_tiocm() 1013 SET(ttybits, TIOCM_CTS); in ucom_to_tiocm() 1015 SET(ttybits, TIOCM_DSR); in ucom_to_tiocm() 1017 SET(ttybits, TIOCM_RI); in ucom_to_tiocm() [all …]
|
| /netbsd-src/sys/dev/pci/ |
| H A D | cz.c | 187 static void tiocm_to_cztty(struct cztty_softc *sc, u_long how, int ttybits); 1249 tiocm_to_cztty(struct cztty_softc *sc, u_long how, int ttybits) in tiocm_to_cztty() argument 1255 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() [all …]
|
| /netbsd-src/sys/arch/mips/sibyte/dev/ |
| H A D | sbjcn.c | 792 tiocm_to_sbjcn(struct sbjcn_channel *ch, int how, int ttybits) in tiocm_to_sbjcn() argument 797 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() [all …]
|
| H A D | sbscn.c | 875 tiocm_to_sbscn(struct sbscn_channel *ch, int how, int ttybits) in tiocm_to_sbscn() argument 880 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() [all …]
|
| /netbsd-src/sys/arch/arm/xilinx/ |
| H A D | zynq_uart.c | 1034 tiocm_to_zynquart(struct zynquart_softc *sc, u_long how, int ttybits) in tiocm_to_zynquart() argument 1042 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() [all …]
|
| /netbsd-src/sys/dev/ic/ |
| H A D | z8530tty.c | 1203 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 D | com.c | 1445 tiocm_to_com(struct com_softc *sc, u_long how, int ttybits) in tiocm_to_com() argument 1450 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_com() 1452 if (ISSET(ttybits, TIOCM_RTS)) 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_DS in com_to_tiocm() [all...] |
| /netbsd-src/sys/arch/arm/s3c2xx0/ |
| H A D | sscom.c | 933 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-src/sys/arch/arm/imx/ |
| H A D | imxuart.c | 1045 tiocm_to_imxu(struct imxuart_softc *sc, u_long how, int ttybits) in tiocm_to_imxu() argument 1057 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() [all …]
|
| /netbsd-src/sys/arch/evbarm/dev/ |
| H A D | plcom.c | 1308 tiocm_to_plcom(struct plcom_softc *sc, u_long how, int ttybits) in tiocm_to_plcom() argument 1313 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() [all …]
|
| /netbsd-src/sys/arch/arm/clps711x/ |
| H A D | clpscom.c | 892 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-src/sys/arch/arm/sa11x0/ |
| H A D | sa11x0_com.c | 824 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()
|