Lines Matching defs:port
37 struct uart_port port; member
147 static inline struct asc_port *to_asc_port(struct uart_port *port) in to_asc_port()
152 static inline u32 asc_in(struct uart_port *port, u32 offset) in asc_in()
161 static inline void asc_out(struct uart_port *port, u32 offset, u32 value) in asc_out()
174 static inline void asc_disable_tx_interrupts(struct uart_port *port) in asc_disable_tx_interrupts()
181 static inline void asc_enable_tx_interrupts(struct uart_port *port) in asc_enable_tx_interrupts()
187 static inline void asc_disable_rx_interrupts(struct uart_port *port) in asc_disable_rx_interrupts()
194 static inline void asc_enable_rx_interrupts(struct uart_port *port) in asc_enable_rx_interrupts()
200 static inline u32 asc_txfifo_is_empty(struct uart_port *port) in asc_txfifo_is_empty()
205 static inline u32 asc_txfifo_is_half_empty(struct uart_port *port) in asc_txfifo_is_half_empty()
210 static inline const char *asc_port_name(struct uart_port *port) in asc_port_name()
222 static inline unsigned asc_hw_txroom(struct uart_port *port) in asc_hw_txroom()
239 static void asc_transmit_chars(struct uart_port *port) in asc_transmit_chars()
287 static void asc_receive_chars(struct uart_port *port) in asc_receive_chars()
358 struct uart_port *port = ptr; in asc_interrupt() local
387 static unsigned int asc_tx_empty(struct uart_port *port) in asc_tx_empty()
392 static void asc_set_mctrl(struct uart_port *port, unsigned int mctrl) in asc_set_mctrl()
417 static unsigned int asc_get_mctrl(struct uart_port *port) in asc_get_mctrl()
427 static void asc_start_tx(struct uart_port *port) in asc_start_tx()
436 static void asc_stop_tx(struct uart_port *port) in asc_stop_tx()
442 static void asc_stop_rx(struct uart_port *port) in asc_stop_rx()
448 static void asc_break_ctl(struct uart_port *port, int break_state) in asc_break_ctl()
456 static int asc_startup(struct uart_port *port) in asc_startup()
470 static void asc_shutdown(struct uart_port *port) in asc_shutdown()
477 static void asc_pm(struct uart_port *port, unsigned int state, in asc_pm()
503 static void asc_set_termios(struct uart_port *port, struct ktermios *termios, in asc_set_termios()
635 static const char *asc_type(struct uart_port *port) in asc_type()
640 static void asc_release_port(struct uart_port *port) in asc_release_port()
644 static int asc_request_port(struct uart_port *port) in asc_request_port()
653 static void asc_config_port(struct uart_port *port, int flags) in asc_config_port()
660 asc_verify_port(struct uart_port *port, struct serial_struct *ser) in asc_verify_port()
672 static int asc_get_poll_char(struct uart_port *port) in asc_get_poll_char()
680 static void asc_put_poll_char(struct uart_port *port, unsigned char c) in asc_put_poll_char()
717 struct uart_port *port = &ascport->port; in asc_init_port() local
832 struct uart_port *port = platform_get_drvdata(pdev); in asc_serial_remove() local
840 struct uart_port *port = dev_get_drvdata(dev); in asc_serial_suspend() local
847 struct uart_port *port = dev_get_drvdata(dev); in asc_serial_resume() local
857 static void asc_console_putchar(struct uart_port *port, int ch) in asc_console_putchar()
875 struct uart_port *port = &asc_ports[co->index].port; in asc_console_write() local