Lines Matching refs:ar933x_uart_port
44 struct ar933x_uart_port { struct
57 static inline unsigned int ar933x_uart_read(struct ar933x_uart_port *up, in ar933x_uart_read() argument
63 static inline void ar933x_uart_write(struct ar933x_uart_port *up, in ar933x_uart_write()
69 static inline void ar933x_uart_rmw(struct ar933x_uart_port *up, in ar933x_uart_rmw()
82 static inline void ar933x_uart_rmw_set(struct ar933x_uart_port *up, in ar933x_uart_rmw_set()
89 static inline void ar933x_uart_rmw_clear(struct ar933x_uart_port *up, in ar933x_uart_rmw_clear()
96 static inline void ar933x_uart_start_tx_interrupt(struct ar933x_uart_port *up) in ar933x_uart_start_tx_interrupt()
102 static inline void ar933x_uart_stop_tx_interrupt(struct ar933x_uart_port *up) in ar933x_uart_stop_tx_interrupt()
108 static inline void ar933x_uart_putc(struct ar933x_uart_port *up, int ch) in ar933x_uart_putc()
119 struct ar933x_uart_port *up = in ar933x_uart_tx_empty()
120 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_tx_empty()
142 struct ar933x_uart_port *up = in ar933x_uart_start_tx()
143 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_start_tx()
150 struct ar933x_uart_port *up = in ar933x_uart_stop_tx()
151 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_stop_tx()
158 struct ar933x_uart_port *up = in ar933x_uart_stop_rx()
159 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_stop_rx()
167 struct ar933x_uart_port *up = in ar933x_uart_break_ctl()
168 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_break_ctl()
236 struct ar933x_uart_port *up = in ar933x_uart_set_termios()
237 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_set_termios()
305 static void ar933x_uart_rx_chars(struct ar933x_uart_port *up) in ar933x_uart_rx_chars()
337 static void ar933x_uart_tx_chars(struct ar933x_uart_port *up) in ar933x_uart_tx_chars()
378 struct ar933x_uart_port *up = dev_id; in ar933x_uart_interrupt()
410 struct ar933x_uart_port *up = in ar933x_uart_startup()
411 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_startup()
437 struct ar933x_uart_port *up = in ar933x_uart_shutdown()
438 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_shutdown()
476 struct ar933x_uart_port *up = in ar933x_uart_verify_port()
477 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_verify_port()
511 static struct ar933x_uart_port *
514 static void ar933x_uart_wait_xmitr(struct ar933x_uart_port *up) in ar933x_uart_wait_xmitr()
530 struct ar933x_uart_port *up = in ar933x_uart_console_putchar()
531 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_console_putchar()
540 struct ar933x_uart_port *up = ar933x_console_ports[co->index]; in ar933x_uart_console_write()
579 struct ar933x_uart_port *up; in ar933x_uart_console_setup()
608 static void ar933x_uart_add_console_port(struct ar933x_uart_port *up) in ar933x_uart_add_console_port()
626 struct ar933x_uart_port *up; in ar933x_uart_probe()
658 up = devm_kzalloc(&pdev->dev, sizeof(struct ar933x_uart_port), in ar933x_uart_probe()
719 struct ar933x_uart_port *up; in ar933x_uart_remove()