Lines Matching refs:ar933x_uart_port

47 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_start_rx_interrupt(struct ar933x_uart_port *up) in ar933x_uart_start_rx_interrupt()
114 static inline void ar933x_uart_stop_rx_interrupt(struct ar933x_uart_port *up) in ar933x_uart_stop_rx_interrupt()
120 static inline void ar933x_uart_putc(struct ar933x_uart_port *up, int ch) in ar933x_uart_putc()
131 struct ar933x_uart_port *up = in ar933x_uart_tx_empty()
132 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_tx_empty()
145 struct ar933x_uart_port *up = in ar933x_uart_get_mctrl()
146 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_get_mctrl()
156 struct ar933x_uart_port *up = in ar933x_uart_set_mctrl()
157 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_set_mctrl()
164 struct ar933x_uart_port *up = in ar933x_uart_start_tx()
165 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_start_tx()
170 static void ar933x_uart_wait_tx_complete(struct ar933x_uart_port *up) in ar933x_uart_wait_tx_complete()
187 static void ar933x_uart_rx_flush(struct ar933x_uart_port *up) in ar933x_uart_rx_flush()
203 struct ar933x_uart_port *up = in ar933x_uart_stop_tx()
204 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_stop_tx()
211 struct ar933x_uart_port *up = in ar933x_uart_stop_rx()
212 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_stop_rx()
219 struct ar933x_uart_port *up = in ar933x_uart_break_ctl()
220 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_break_ctl()
288 struct ar933x_uart_port *up = in ar933x_uart_set_termios()
289 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_set_termios()
361 static void ar933x_uart_rx_chars(struct ar933x_uart_port *up) in ar933x_uart_rx_chars()
391 static void ar933x_uart_tx_chars(struct ar933x_uart_port *up) in ar933x_uart_tx_chars()
447 struct ar933x_uart_port *up = dev_id; in ar933x_uart_interrupt()
479 struct ar933x_uart_port *up = in ar933x_uart_startup()
480 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_startup()
509 struct ar933x_uart_port *up = in ar933x_uart_shutdown()
510 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_shutdown()
548 struct ar933x_uart_port *up = in ar933x_uart_verify_port()
549 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_verify_port()
586 struct ar933x_uart_port *up = in ar933x_config_rs485()
587 container_of(port, struct ar933x_uart_port, port); in ar933x_config_rs485()
597 static struct ar933x_uart_port *
600 static void ar933x_uart_wait_xmitr(struct ar933x_uart_port *up) in ar933x_uart_wait_xmitr()
616 struct ar933x_uart_port *up = in ar933x_uart_console_putchar()
617 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_console_putchar()
626 struct ar933x_uart_port *up = ar933x_console_ports[co->index]; in ar933x_uart_console_write()
665 struct ar933x_uart_port *up; in ar933x_uart_console_setup()
710 struct ar933x_uart_port *up; in ar933x_uart_probe()
740 up = devm_kzalloc(&pdev->dev, sizeof(struct ar933x_uart_port), in ar933x_uart_probe()
825 struct ar933x_uart_port *up; in ar933x_uart_remove()