Lines Matching refs:uart_state
60 static void uart_change_speed(struct tty_struct *tty, struct uart_state *state,
63 static void uart_change_pm(struct uart_state *state, int pm_state);
71 struct uart_state *state = port->state; in uart_write_wakeup()
82 struct uart_state *state = tty->driver_data; in uart_stop()
93 struct uart_state *state = tty->driver_data; in __uart_start()
103 struct uart_state *state = tty->driver_data; in uart_start()
114 struct uart_state *state = (struct uart_state *)data; in uart_tasklet_action()
139 static int uart_startup(struct tty_struct *tty, struct uart_state *state, int init_hw) in uart_startup()
212 static void uart_shutdown(struct tty_struct *tty, struct uart_state *state) in uart_shutdown()
431 static void uart_change_speed(struct tty_struct *tty, struct uart_state *state, in uart_change_speed()
484 struct uart_state *state = tty->driver_data; in uart_put_char()
497 struct uart_state *state = tty->driver_data; in uart_write()
539 struct uart_state *state = tty->driver_data; in uart_write_room()
551 struct uart_state *state = tty->driver_data; in uart_chars_in_buffer()
563 struct uart_state *state = tty->driver_data; in uart_flush_buffer()
593 struct uart_state *state = tty->driver_data; in uart_send_xchar()
611 struct uart_state *state = tty->driver_data; in uart_throttle()
622 struct uart_state *state = tty->driver_data; in uart_unthrottle()
636 static int uart_get_info(struct uart_state *state, in uart_get_info()
675 static int uart_set_info(struct tty_struct *tty, struct uart_state *state, in uart_set_info()
887 struct uart_state *state, unsigned int __user *value) in uart_get_lsr_info()
910 struct uart_state *state = tty->driver_data; in uart_tiocmget()
930 struct uart_state *state = tty->driver_data; in uart_tiocmset()
946 struct uart_state *state = tty->driver_data; in uart_break_ctl()
959 static int uart_do_autoconfig(struct tty_struct *tty,struct uart_state *state) in uart_do_autoconfig()
1013 uart_wait_modem_status(struct uart_state *state, unsigned long arg) in uart_wait_modem_status()
1075 struct uart_state *state = tty->driver_data; in uart_get_icount()
1105 struct uart_state *state = tty->driver_data; in uart_ioctl()
1184 struct uart_state *state = tty->driver_data; in uart_set_ldisc()
1194 struct uart_state *state = tty->driver_data; in uart_set_termios()
1263 struct uart_state *state = tty->driver_data; in uart_close()
1431 struct uart_state *state = tty->driver_data; in uart_wait_until_sent()
1447 struct uart_state *state = tty->driver_data; in uart_hangup()
1480 struct uart_state *state) in uart_update_termios()
1510 struct uart_state *state = container_of(port, struct uart_state, port); in uart_carrier_raised()
1524 struct uart_state *state = container_of(port, struct uart_state, port); in uart_dtr_rts()
1541 static struct uart_state *uart_get(struct uart_driver *drv, int line) in uart_get()
1543 struct uart_state *state; in uart_get()
1581 struct uart_state *state; in uart_open()
1672 struct uart_state *state = drv->state + i; in uart_line_info()
1943 static void uart_change_pm(struct uart_state *state, int pm_state) in uart_change_pm()
1971 struct uart_state *state = drv->state + uport->line; in uart_suspend_port()
2041 struct uart_state *state = drv->state + uport->line; in uart_resume_port()
2155 uart_configure_port(struct uart_driver *drv, struct uart_state *state, in uart_configure_port()
2220 struct uart_state *state = drv->state + line; in uart_poll_init()
2245 struct uart_state *state = drv->state + line; in uart_poll_get_char()
2258 struct uart_state *state = drv->state + line; in uart_poll_put_char()
2331 drv->state = kzalloc(sizeof(struct uart_state) * drv->nr, GFP_KERNEL); in uart_register_driver()
2359 struct uart_state *state = drv->state + i; in uart_register_driver()
2418 struct uart_state *state; in uart_add_one_port()
2490 struct uart_state *state = drv->state + uport->line; in uart_remove_one_port()