Lines Matching refs:tty_struct
366 static void tx_start(MGSLPC_INFO *info, struct tty_struct *tty);
402 static bool rx_get_frame(MGSLPC_INFO *info, struct tty_struct *tty);
413 static void bh_transmit(MGSLPC_INFO *info, struct tty_struct *tty);
419 static int tiocmget(struct tty_struct *tty);
420 static int tiocmset(struct tty_struct *tty,
424 static int set_params(MGSLPC_INFO *info, MGSL_PARAMS __user *new_params, struct tty_struct *tty);
427 static int set_txenable(MGSLPC_INFO *info, int enable, struct tty_struct *tty);
466 static void mgslpc_change_params(MGSLPC_INFO *info, struct tty_struct *tty);
467 static void mgslpc_wait_until_sent(struct tty_struct *tty, int timeout);
495 static void ldisc_receive_buf(struct tty_struct *tty, in ldisc_receive_buf()
704 static void tx_pause(struct tty_struct *tty) in tx_pause()
720 static void tx_release(struct tty_struct *tty) in tx_release()
771 struct tty_struct *tty; in bh_handler()
812 static void bh_transmit(MGSLPC_INFO *info, struct tty_struct *tty) in bh_transmit()
961 static void tx_done(MGSLPC_INFO *info, struct tty_struct *tty) in tx_done()
998 static void tx_ready(MGSLPC_INFO *info, struct tty_struct *tty) in tx_ready()
1047 static void cts_change(MGSLPC_INFO *info, struct tty_struct *tty) in cts_change()
1082 static void dcd_change(MGSLPC_INFO *info, struct tty_struct *tty) in dcd_change()
1160 struct tty_struct *tty; in mgslpc_isr()
1268 static int startup(MGSLPC_INFO * info, struct tty_struct *tty) in startup()
1321 static void shutdown(MGSLPC_INFO * info, struct tty_struct *tty) in shutdown()
1367 static void mgslpc_program_hw(MGSLPC_INFO *info, struct tty_struct *tty) in mgslpc_program_hw()
1401 static void mgslpc_change_params(MGSLPC_INFO *info, struct tty_struct *tty) in mgslpc_change_params()
1492 static int mgslpc_put_char(struct tty_struct *tty, unsigned char ch) in mgslpc_put_char()
1525 static void mgslpc_flush_chars(struct tty_struct *tty) in mgslpc_flush_chars()
1561 static int mgslpc_write(struct tty_struct * tty, in mgslpc_write()
1621 static int mgslpc_write_room(struct tty_struct *tty) in mgslpc_write_room()
1649 static int mgslpc_chars_in_buffer(struct tty_struct *tty) in mgslpc_chars_in_buffer()
1675 static void mgslpc_flush_buffer(struct tty_struct *tty) in mgslpc_flush_buffer()
1698 static void mgslpc_send_xchar(struct tty_struct *tty, char ch) in mgslpc_send_xchar()
1721 static void mgslpc_throttle(struct tty_struct * tty) in mgslpc_throttle()
1746 static void mgslpc_unthrottle(struct tty_struct * tty) in mgslpc_unthrottle()
1812 static int set_params(MGSLPC_INFO * info, MGSL_PARAMS __user *new_params, struct tty_struct *tty) in set_params()
1894 static int set_txenable(MGSLPC_INFO * info, int enable, struct tty_struct *tty) in set_txenable()
2121 static int tiocmget(struct tty_struct *tty) in tiocmget()
2146 static int tiocmset(struct tty_struct *tty, in tiocmset()
2177 static int mgslpc_break(struct tty_struct *tty, int break_state) in mgslpc_break()
2198 static int mgslpc_get_icount(struct tty_struct *tty, in mgslpc_get_icount()
2234 static int mgslpc_ioctl(struct tty_struct *tty, in mgslpc_ioctl()
2291 static void mgslpc_set_termios(struct tty_struct *tty, struct ktermios *old_termios) in mgslpc_set_termios()
2338 static void mgslpc_close(struct tty_struct *tty, struct file * filp) in mgslpc_close()
2371 static void mgslpc_wait_until_sent(struct tty_struct *tty, int timeout) in mgslpc_wait_until_sent()
2435 static void mgslpc_hangup(struct tty_struct *tty) in mgslpc_hangup()
2480 static int mgslpc_open(struct tty_struct *tty, struct file * filp) in mgslpc_open()
3310 static void tx_start(MGSLPC_INFO *info, struct tty_struct *tty) in tx_start()
3659 static bool rx_get_frame(MGSLPC_INFO *info, struct tty_struct *tty) in rx_get_frame()
3885 struct tty_struct *tty = tty_port_tty_get(&info->port); in tx_timeout()
3907 struct tty_struct *tty; in hdlcdev_attach()
3982 struct tty_struct *tty = tty_port_tty_get(&info->port); in hdlcdev_xmit()
4002 struct tty_struct *tty; in hdlcdev_open()
4065 struct tty_struct *tty = tty_port_tty_get(&info->port); in hdlcdev_close()
4182 struct tty_struct *tty = tty_port_tty_get(&info->port); in hdlcdev_ioctl()