Lines Matching defs:port
41 struct uart_port port; member
151 static inline struct asc_port *to_asc_port(struct uart_port *port) in to_asc_port()
156 static inline u32 asc_in(struct uart_port *port, u32 offset) in asc_in()
165 static inline void asc_out(struct uart_port *port, u32 offset, u32 value) in asc_out()
178 static inline void asc_disable_tx_interrupts(struct uart_port *port) in asc_disable_tx_interrupts()
185 static inline void asc_enable_tx_interrupts(struct uart_port *port) in asc_enable_tx_interrupts()
191 static inline void asc_disable_rx_interrupts(struct uart_port *port) in asc_disable_rx_interrupts()
198 static inline void asc_enable_rx_interrupts(struct uart_port *port) in asc_enable_rx_interrupts()
204 static inline u32 asc_txfifo_is_empty(struct uart_port *port) in asc_txfifo_is_empty()
209 static inline u32 asc_txfifo_is_half_empty(struct uart_port *port) in asc_txfifo_is_half_empty()
214 static inline const char *asc_port_name(struct uart_port *port) in asc_port_name()
226 static inline unsigned asc_hw_txroom(struct uart_port *port) in asc_hw_txroom()
243 static void asc_transmit_chars(struct uart_port *port) in asc_transmit_chars()
291 static void asc_receive_chars(struct uart_port *port) in asc_receive_chars()
362 struct uart_port *port = ptr; in asc_interrupt() local
391 static unsigned int asc_tx_empty(struct uart_port *port) in asc_tx_empty()
396 static void asc_set_mctrl(struct uart_port *port, unsigned int mctrl) in asc_set_mctrl()
421 static unsigned int asc_get_mctrl(struct uart_port *port) in asc_get_mctrl()
431 static void asc_start_tx(struct uart_port *port) in asc_start_tx()
440 static void asc_stop_tx(struct uart_port *port) in asc_stop_tx()
446 static void asc_stop_rx(struct uart_port *port) in asc_stop_rx()
452 static void asc_break_ctl(struct uart_port *port, int break_state) in asc_break_ctl()
460 static int asc_startup(struct uart_port *port) in asc_startup()
474 static void asc_shutdown(struct uart_port *port) in asc_shutdown()
481 static void asc_pm(struct uart_port *port, unsigned int state, in asc_pm()
507 static void asc_set_termios(struct uart_port *port, struct ktermios *termios, in asc_set_termios()
641 static const char *asc_type(struct uart_port *port) in asc_type()
646 static void asc_release_port(struct uart_port *port) in asc_release_port()
650 static int asc_request_port(struct uart_port *port) in asc_request_port()
659 static void asc_config_port(struct uart_port *port, int flags) in asc_config_port()
666 asc_verify_port(struct uart_port *port, struct serial_struct *ser) in asc_verify_port()
678 static int asc_get_poll_char(struct uart_port *port) in asc_get_poll_char()
686 static void asc_put_poll_char(struct uart_port *port, unsigned char c) in asc_put_poll_char()
723 struct uart_port *port = &ascport->port; in asc_init_port() local
837 struct uart_port *port = platform_get_drvdata(pdev); in asc_serial_remove() local
845 struct uart_port *port = dev_get_drvdata(dev); in asc_serial_suspend() local
852 struct uart_port *port = dev_get_drvdata(dev); in asc_serial_resume() local
862 static void asc_console_putchar(struct uart_port *port, int ch) in asc_console_putchar()
880 struct uart_port *port = &asc_ports[co->index].port; in asc_console_write() local