Lines Matching defs:port
62 #define SCIx_IRQ_IS_MUXED(port) \ argument
79 #define SCI_PUBLIC_PORT_ID(port) (((port) & BIT(7)) ? PORT_GENERIC : (port)) argument
570 static inline unsigned long port_rx_irq_mask(struct uart_port *port) in port_rx_irq_mask()
582 static void sci_start_tx(struct uart_port *port) in sci_start_tx()
626 static void sci_stop_tx(struct uart_port *port) in sci_stop_tx()
650 static void sci_start_rx(struct uart_port *port) in sci_start_rx()
663 static void sci_stop_rx(struct uart_port *port) in sci_stop_rx()
678 static void sci_clear_SCxSR(struct uart_port *port, unsigned int mask) in sci_clear_SCxSR()
699 static int sci_poll_get_char(struct uart_port *port) in sci_poll_get_char()
727 static void sci_poll_put_char(struct uart_port *port, unsigned char c) in sci_poll_put_char()
743 static void sci_init_pins(struct uart_port *port, unsigned int cflag) in sci_init_pins()
793 static int sci_txfill(struct uart_port *port) in sci_txfill()
810 static int sci_txroom(struct uart_port *port) in sci_txroom()
815 static int sci_rxfill(struct uart_port *port) in sci_rxfill()
836 static void sci_transmit_chars(struct uart_port *port) in sci_transmit_chars()
897 static void sci_receive_chars(struct uart_port *port) in sci_receive_chars()
972 static int sci_handle_errors(struct uart_port *port) in sci_handle_errors()
1011 static int sci_handle_fifo_overrun(struct uart_port *port) in sci_handle_fifo_overrun()
1038 static int sci_handle_breaks(struct uart_port *port) in sci_handle_breaks()
1063 static int scif_set_rtrg(struct uart_port *port, int rx_trig) in scif_set_rtrg()
1123 static int scif_rtrg_enabled(struct uart_port *port) in scif_rtrg_enabled()
1135 struct uart_port *port = &s->port; in rx_fifo_timer_fn() local
1144 struct uart_port *port = dev_get_drvdata(dev); in rx_fifo_trigger_show() local
1154 struct uart_port *port = dev_get_drvdata(dev); in rx_fifo_trigger_store() local
1176 struct uart_port *port = dev_get_drvdata(dev); in rx_fifo_timeout_show() local
1193 struct uart_port *port = dev_get_drvdata(dev); in rx_fifo_timeout_store() local
1223 struct uart_port *port = &s->port; in sci_dma_tx_complete() local
1261 struct uart_port *port = &s->port; in sci_dma_rx_push() local
1299 struct uart_port *port = &s->port; in sci_dma_rx_release() local
1324 struct uart_port *port = &s->port; in sci_dma_rx_reenable_irq() local
1344 struct uart_port *port = &s->port; in sci_dma_rx_complete() local
1412 struct uart_port *port = &s->port; in sci_dma_rx_submit() local
1457 struct uart_port *port = &s->port; in sci_dma_tx_work_fn() local
1520 struct uart_port *port = &s->port; in sci_dma_rx_timer_fn() local
1583 static struct dma_chan *sci_request_dma_chan(struct uart_port *port, in sci_request_dma_chan()
1615 static void sci_request_dma(struct uart_port *port) in sci_request_dma()
1702 static void sci_free_dma(struct uart_port *port) in sci_free_dma()
1712 static void sci_flush_buffer(struct uart_port *port) in sci_flush_buffer()
1741 static inline void sci_request_dma(struct uart_port *port) in sci_request_dma()
1745 static inline void sci_free_dma(struct uart_port *port) in sci_free_dma()
1758 struct uart_port *port = ptr; in sci_rx_interrupt() local
1815 struct uart_port *port = ptr; in sci_tx_interrupt() local
1828 struct uart_port *port = ptr; in sci_tx_end_interrupt() local
1848 struct uart_port *port = ptr; in sci_br_interrupt() local
1864 struct uart_port *port = ptr; in sci_er_interrupt() local
1905 struct uart_port *port = ptr; in sci_mpxed_interrupt() local
1995 static int sci_request_irq(struct sci_port *port) in sci_request_irq()
2054 static void sci_free_irq(struct sci_port *port) in sci_free_irq()
2089 static unsigned int sci_tx_empty(struct uart_port *port) in sci_tx_empty()
2103 static void sci_set_rts(struct uart_port *port, bool state) in sci_set_rts()
2132 static bool sci_get_cts(struct uart_port *port) in sci_get_cts()
2159 static void sci_set_mctrl(struct uart_port *port, unsigned int mctrl) in sci_set_mctrl()
2205 static unsigned int sci_get_mctrl(struct uart_port *port) in sci_get_mctrl()
2231 static void sci_enable_ms(struct uart_port *port) in sci_enable_ms()
2236 static void sci_break_ctl(struct uart_port *port, int break_state) in sci_break_ctl()
2267 static void sci_shutdown_complete(struct uart_port *port) in sci_shutdown_complete()
2277 int sci_startup(struct uart_port *port) in sci_startup()
2297 void sci_shutdown(struct uart_port *port) in sci_shutdown()
2454 static void sci_reset(struct uart_port *port) in sci_reset()
2489 static void sci_set_termios(struct uart_port *port, struct ktermios *termios, in sci_set_termios()
2744 void sci_pm(struct uart_port *port, unsigned int state, in sci_pm()
2760 static const char *sci_type(struct uart_port *port) in sci_type()
2782 static int sci_remap_port(struct uart_port *port) in sci_remap_port()
2810 void sci_release_port(struct uart_port *port) in sci_release_port()
2823 int sci_request_port(struct uart_port *port) in sci_request_port()
2846 void sci_config_port(struct uart_port *port, int flags) in sci_config_port()
2856 int sci_verify_port(struct uart_port *port, struct serial_struct *ser) in sci_verify_port()
2866 static void sci_prepare_console_write(struct uart_port *port, u32 ctrl) in sci_prepare_console_write()
2877 static void sci_console_save(struct uart_port *port) in sci_console_save()
2906 static void sci_console_restore(struct uart_port *port) in sci_console_restore()
3082 struct uart_port *port = &sci_port->port; in sci_init_single() local
3199 static void serial_console_putchar(struct uart_port *port, unsigned char ch) in serial_console_putchar()
3212 struct uart_port *port = &sci_port->port; in serial_console_write() local
3250 struct uart_port *port; in serial_console_setup() local