Home
last modified time | relevance | path

Searched refs:termiosp (Results 1 – 10 of 10) sorted by relevance

/titanic_44/usr/src/uts/common/io/
H A Dttcompat.c1135 from_compat(compat_state_t *csp, struct termios *termiosp) in from_compat() argument
1137 termiosp->c_iflag = 0; in from_compat()
1138 termiosp->c_oflag &= (ONLRET|ONOCR); in from_compat()
1140 termiosp->c_cflag = (termiosp->c_cflag & in from_compat()
1144 termiosp->c_cflag |= ((csp->t_ospeed - CBAUD - 1) & CBAUD) | in from_compat()
1147 termiosp->c_cflag |= csp->t_ospeed & CBAUD; in from_compat()
1152 termiosp->c_cflag |= CIBAUDEXT | in from_compat()
1156 termiosp->c_cflag |= (csp->t_ispeed << IBSHIFT) & in from_compat()
1161 termiosp->c_cflag &= ~CBAUD & ~CBAUDEXT; in from_compat()
1164 termiosp->c_cflag |= CSTOPB; in from_compat()
[all …]
H A Dptem.c160 struct termios *termiosp; in ptemopen() local
219 (caddr_t)&termiosp, &len) == DDI_PROP_SUCCESS && in ptemopen()
222 ntp->cflags = termiosp->c_cflag; in ptemopen()
223 kmem_free(termiosp, len); in ptemopen()
610 struct termios *termiosp; in ptemwmsg() local
727 termiosp = (struct termios *)dp->b_rptr; in ptemwmsg()
728 termiosp->c_cflag = ntp->cflags; in ptemwmsg()
H A Dconsconfig_dacf.c155 static int consconfig_setmodes(dev_t dev, struct termios *termiosp);
1887 consconfig_setmodes(dev_t dev, struct termios *termiosp) in consconfig_setmodes() argument
1939 termiosp->c_cflag &= in consconfig_setmodes()
1943 termiosp->c_cflag &= ~(CIBAUD | CIBAUDEXT); in consconfig_setmodes()
1973 termiosp->c_cflag |= speedtab[i].code & CBAUD; in consconfig_setmodes()
1975 termiosp->c_cflag |= CBAUDEXT; in consconfig_setmodes()
1980 termiosp->c_cflag |= CS8; in consconfig_setmodes()
1983 termiosp->c_cflag |= CS7; in consconfig_setmodes()
1994 termiosp->c_cflag |= PARENB | PARODD; in consconfig_setmodes()
1997 termiosp->c_cflag |= PARENB; /* enabled, not odd */ in consconfig_setmodes()
[all …]
H A Dvcons.c166 struct termios *termiosp; in vt_init_ttycommon() local
179 (caddr_t)&termiosp, &len) == DDI_PROP_SUCCESS) { in vt_init_ttycommon()
182 pcommon->t_cflag = termiosp->c_cflag; in vt_init_ttycommon()
187 kmem_free(termiosp, len); in vt_init_ttycommon()
H A Dldterm.c673 struct termios *termiosp; in ldtermopen() local
688 "ttymodes", (caddr_t)&termiosp, &len) == DDI_PROP_SUCCESS && in ldtermopen()
690 tp->t_modes = *termiosp; in ldtermopen()
691 tp->t_amodes = *termiosp; in ldtermopen()
692 kmem_free(termiosp, len); in ldtermopen()
H A Dasy.c1551 struct termios *termiosp; in asyopen() local
1576 (caddr_t)&termiosp, &len) == DDI_PROP_SUCCESS && in asyopen()
1578 async->async_ttycommon.t_cflag = termiosp->c_cflag; in asyopen()
1579 kmem_free(termiosp, len); in asyopen()
/titanic_44/usr/src/uts/sun/io/ttymux/
H A Dttymux.c2158 struct termios *termiosp; in sm_open() local
2162 DDI_PROP_NOTPROM, "ttymodes", (caddr_t)&termiosp, &len) in sm_open()
2167 termiosp->c_cflag)); in sm_open()
2169 uqi->sm_ttycommon->t_iflag = termiosp->c_iflag; in sm_open()
2170 uqi->sm_ttycommon->t_cflag = termiosp->c_cflag; in sm_open()
2171 uqi->sm_ttycommon->t_stopc = termiosp->c_cc[VSTOP]; in sm_open()
2172 uqi->sm_ttycommon->t_startc = termiosp->c_cc[VSTART]; in sm_open()
2184 kmem_free(termiosp, len); in sm_open()
/titanic_44/usr/src/uts/common/io/usb/clients/usbser/
H A Dusbser.c1547 struct termios *termiosp; in usbser_check_port_props() local
1555 "ttymodes", (uchar_t **)&termiosp, &len) == DDI_PROP_SUCCESS) { in usbser_check_port_props()
1558 tp->t_cflag = termiosp->c_cflag; in usbser_check_port_props()
1560 if (termiosp->c_iflag & (IXON | IXANY)) { in usbser_check_port_props()
1562 termiosp->c_iflag & (IXON | IXANY); in usbser_check_port_props()
1563 tp->t_startc = termiosp->c_cc[VSTART]; in usbser_check_port_props()
1564 tp->t_stopc = termiosp->c_cc[VSTOP]; in usbser_check_port_props()
1567 ddi_prop_free(termiosp); in usbser_check_port_props()
/titanic_44/usr/src/uts/sun/io/
H A Dzs_async.c720 struct termios *termiosp; in zsa_open() local
785 (caddr_t)&termiosp, &len) == DDI_PROP_SUCCESS && in zsa_open()
788 za->za_ttycommon.t_cflag = termiosp->c_cflag; in zsa_open()
789 kmem_free(termiosp, len); in zsa_open()
/titanic_44/usr/src/uts/sun4/io/
H A Dsu_driver.c919 struct termios *termiosp; in asyopen() local
971 0, "ttymodes", (caddr_t)&termiosp, &len) in asyopen()
975 termiosp->c_cflag; in asyopen()
976 kmem_free(termiosp, len); in asyopen()