Lines Matching refs:tty
281 static int cx81801_open(struct tty_struct *tty) in cx81801_open() argument
292 tty->disc_data = cx20442_codec; in cx81801_open()
294 ret = v253_ops.open(tty); in cx81801_open()
297 tty->disc_data = NULL; in cx81801_open()
303 static void cx81801_close(struct tty_struct *tty) in cx81801_close() argument
305 struct snd_soc_component *component = tty->disc_data; in cx81801_close()
316 v253_ops.close(tty); in cx81801_close()
335 static int cx81801_hangup(struct tty_struct *tty) in cx81801_hangup() argument
337 cx81801_close(tty); in cx81801_hangup()
342 static void cx81801_receive(struct tty_struct *tty, const unsigned char *cp, in cx81801_receive() argument
345 struct snd_soc_component *component = tty->disc_data; in cx81801_receive()
358 v253_ops.receive_buf(tty, cp, fp, count); in cx81801_receive()
372 v253_ops.receive_buf(tty, cp, fp, count); in cx81801_receive()
394 static void cx81801_wakeup(struct tty_struct *tty) in cx81801_wakeup() argument
396 v253_ops.write_wakeup(tty); in cx81801_wakeup()