Home
last modified time | relevance | path

Searched refs:tty (Results 1 – 2 of 2) sorted by relevance

/sound/soc/codecs/
Dcx20442.c25 struct tty_struct *tty; member
164 if (!cx20442->tty || !cx20442->tty->ops->write) in cx20442_write()
193 if (cx20442->tty->ops->write(cx20442->tty, buf, len) != len) in cx20442_write()
212 static int v253_open(struct tty_struct *tty) in v253_open() argument
217 if (!tty->ops->write) in v253_open()
221 if (!tty->disc_data) in v253_open()
224 tty->receive_room = 16; in v253_open()
225 if (tty->ops->write(tty, v253_init, len) != len) { in v253_open()
232 tty->disc_data = NULL; in v253_open()
237 static void v253_close(struct tty_struct *tty) in v253_close() argument
[all …]
/sound/soc/ti/
Dams-delta.c281 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
[all …]