Lines Matching defs:tp

61 sttygetoflags(struct termios *tp)
63 tcflag_t iflag = tp->c_iflag;
64 tcflag_t lflag = tp->c_lflag;
65 tcflag_t oflag = tp->c_oflag;
66 tcflag_t cflag = tp->c_cflag;
98 sttysetoflags(struct termios *tp, int flags)
100 tcflag_t iflag = tp->c_iflag;
101 tcflag_t oflag = tp->c_oflag;
102 tcflag_t lflag = tp->c_lflag;
103 tcflag_t cflag = tp->c_cflag;
155 tp->c_iflag = iflag;
156 tp->c_oflag = oflag;
157 tp->c_lflag = lflag;
158 tp->c_cflag = cflag;
162 sttyclearflags(struct termios *tp, int flags)
164 tcflag_t iflag = tp->c_iflag;
165 tcflag_t oflag = tp->c_oflag;
166 tcflag_t lflag = tp->c_lflag;
167 tcflag_t cflag = tp->c_cflag;
168 int oflags = sttygetoflags(tp) & ~flags;
182 tp->c_iflag = iflag;
183 tp->c_oflag = oflag;
184 tp->c_lflag = lflag;
185 tp->c_cflag = cflag;
187 sttysetoflags(tp, oflags);
191 sttysetflags(struct termios *tp, int flags)
193 tcflag_t iflag = tp->c_iflag;
194 tcflag_t oflag = tp->c_oflag;
195 tcflag_t lflag = tp->c_lflag;
196 tcflag_t cflag = tp->c_cflag;
197 int oflags = sttygetoflags(tp) | flags;
210 tp->c_iflag = iflag;
211 tp->c_oflag = oflag;
212 tp->c_lflag = lflag;
213 tp->c_cflag = cflag;
215 sttysetoflags(tp, oflags);
219 sttyclearlflags(struct termios *tp, int flags)
221 tcflag_t iflag = tp->c_iflag;
222 tcflag_t oflag = tp->c_oflag;
223 tcflag_t lflag = tp->c_lflag;
224 tcflag_t cflag = tp->c_cflag;
225 int oflags = sttygetoflags(tp) & ~flags;
245 tp->c_iflag = iflag;
246 tp->c_oflag = oflag;
247 tp->c_lflag = lflag;
248 tp->c_cflag = cflag;
250 sttysetoflags(tp, oflags);
254 sttysetlflags(struct termios *tp, int flags)
256 tcflag_t iflag = tp->c_iflag;
257 tcflag_t oflag = tp->c_oflag;
258 tcflag_t lflag = tp->c_lflag;
259 tcflag_t cflag = tp->c_cflag;
260 int oflags = sttygetoflags(tp) | flags;
280 tp->c_iflag = iflag;
281 tp->c_oflag = oflag;
282 tp->c_lflag = lflag;
283 tp->c_cflag = cflag;
285 sttysetoflags(tp, oflags);