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()
446 struct ar933x_uart_port *up = dev_id; in ar933x_uart_interrupt()
478 struct ar933x_uart_port *up = in ar933x_uart_startup()
479 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_startup()
508 struct ar933x_uart_port *up = in ar933x_uart_shutdown()
509 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_shutdown()
547 struct ar933x_uart_port *up = in ar933x_uart_verify_port()
548 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_verify_port()
585 struct ar933x_uart_port *up = in ar933x_config_rs485()
586 container_of(port, struct ar933x_uart_port, port); in ar933x_config_rs485()
596 static struct ar933x_uart_port *
599 static void ar933x_uart_wait_xmitr(struct ar933x_uart_port *up) in ar933x_uart_wait_xmitr()
615 struct ar933x_uart_port *up = in ar933x_uart_console_putchar()
616 container_of(port, struct ar933x_uart_port, port); in ar933x_uart_console_putchar()
625 struct ar933x_uart_port *up = ar933x_console_ports[co->index]; in ar933x_uart_console_write()
664 struct ar933x_uart_port *up; in ar933x_uart_console_setup()
709 struct ar933x_uart_port *up; in ar933x_uart_probe()
739 up = devm_kzalloc(&pdev->dev, sizeof(struct ar933x_uart_port), in ar933x_uart_probe()
823 struct ar933x_uart_port *up; in ar933x_uart_remove()