Lines Matching defs:port
36 struct uart_port port; member
146 static inline struct asc_port *to_asc_port(struct uart_port *port) in to_asc_port()
151 static inline u32 asc_in(struct uart_port *port, u32 offset) in asc_in()
160 static inline void asc_out(struct uart_port *port, u32 offset, u32 value) in asc_out()
173 static inline void asc_disable_tx_interrupts(struct uart_port *port) in asc_disable_tx_interrupts()
180 static inline void asc_enable_tx_interrupts(struct uart_port *port) in asc_enable_tx_interrupts()
186 static inline void asc_disable_rx_interrupts(struct uart_port *port) in asc_disable_rx_interrupts()
193 static inline void asc_enable_rx_interrupts(struct uart_port *port) in asc_enable_rx_interrupts()
199 static inline u32 asc_txfifo_is_empty(struct uart_port *port) in asc_txfifo_is_empty()
204 static inline u32 asc_txfifo_is_half_empty(struct uart_port *port) in asc_txfifo_is_half_empty()
209 static inline const char *asc_port_name(struct uart_port *port) in asc_port_name()
221 static inline unsigned asc_hw_txroom(struct uart_port *port) in asc_hw_txroom()
238 static void asc_transmit_chars(struct uart_port *port) in asc_transmit_chars()
248 static void asc_receive_chars(struct uart_port *port) in asc_receive_chars()
319 struct uart_port *port = ptr; in asc_interrupt() local
348 static unsigned int asc_tx_empty(struct uart_port *port) in asc_tx_empty()
353 static void asc_set_mctrl(struct uart_port *port, unsigned int mctrl) in asc_set_mctrl()
378 static unsigned int asc_get_mctrl(struct uart_port *port) in asc_get_mctrl()
388 static void asc_start_tx(struct uart_port *port) in asc_start_tx()
397 static void asc_stop_tx(struct uart_port *port) in asc_stop_tx()
403 static void asc_stop_rx(struct uart_port *port) in asc_stop_rx()
409 static void asc_break_ctl(struct uart_port *port, int break_state) in asc_break_ctl()
417 static int asc_startup(struct uart_port *port) in asc_startup()
431 static void asc_shutdown(struct uart_port *port) in asc_shutdown()
438 static void asc_pm(struct uart_port *port, unsigned int state, in asc_pm()
464 static void asc_set_termios(struct uart_port *port, struct ktermios *termios, in asc_set_termios()
600 static const char *asc_type(struct uart_port *port) in asc_type()
605 static void asc_release_port(struct uart_port *port) in asc_release_port()
609 static int asc_request_port(struct uart_port *port) in asc_request_port()
618 static void asc_config_port(struct uart_port *port, int flags) in asc_config_port()
625 asc_verify_port(struct uart_port *port, struct serial_struct *ser) in asc_verify_port()
637 static int asc_get_poll_char(struct uart_port *port) in asc_get_poll_char()
645 static void asc_put_poll_char(struct uart_port *port, unsigned char c) in asc_put_poll_char()
682 struct uart_port *port = &ascport->port; in asc_init_port() local
798 struct uart_port *port = platform_get_drvdata(pdev); in asc_serial_remove() local
808 struct uart_port *port = dev_get_drvdata(dev); in asc_serial_suspend() local
815 struct uart_port *port = dev_get_drvdata(dev); in asc_serial_resume() local
825 static void asc_console_putchar(struct uart_port *port, unsigned char ch) in asc_console_putchar()
843 struct uart_port *port = &asc_ports[co->index].port; in asc_console_write() local