Lines Matching defs:sport
327 static inline bool is_layerscape_lpuart(struct lpuart_port *sport) in is_layerscape_lpuart()
333 static inline bool is_imx7ulp_lpuart(struct lpuart_port *sport) in is_imx7ulp_lpuart()
338 static inline bool is_imx8qxp_lpuart(struct lpuart_port *sport) in is_imx8qxp_lpuart()
368 static int __lpuart_enable_clks(struct lpuart_port *sport, bool is_en) in __lpuart_enable_clks()
390 static unsigned int lpuart_get_baud_clk_rate(struct lpuart_port *sport) in lpuart_get_baud_clk_rate()
401 static int lpuart_global_reset(struct lpuart_port *sport) in lpuart_global_reset()
462 static void lpuart_dma_tx(struct lpuart_port *sport) in lpuart_dma_tx()
517 struct lpuart_port *sport = arg; in lpuart_dma_tx_complete() local
554 static dma_addr_t lpuart_dma_datareg_addr(struct lpuart_port *sport) in lpuart_dma_datareg_addr()
567 struct lpuart_port *sport = container_of(port, in lpuart_dma_tx_request() local
587 static bool lpuart_is_32(struct lpuart_port *sport) in lpuart_is_32()
595 struct lpuart_port *sport = container_of(port, struct lpuart_port, port); in lpuart_flush_buffer() local
637 struct lpuart_port *sport = container_of(port, in lpuart_poll_init() local
691 struct lpuart_port *sport = container_of(port, struct lpuart_port, port); in lpuart32_poll_init() local
737 static inline void lpuart_transmit_buffer(struct lpuart_port *sport) in lpuart_transmit_buffer()
767 static inline void lpuart32_transmit_buffer(struct lpuart_port *sport) in lpuart32_transmit_buffer()
805 struct lpuart_port *sport = container_of(port, in lpuart_start_tx() local
823 struct lpuart_port *sport = container_of(port, struct lpuart_port, port); in lpuart32_start_tx() local
841 struct lpuart_port *sport = container_of(port, in lpuart_tx_empty() local
857 struct lpuart_port *sport = container_of(port, in lpuart32_tx_empty() local
871 static void lpuart_txint(struct lpuart_port *sport) in lpuart_txint()
878 static void lpuart_rxint(struct lpuart_port *sport) in lpuart_rxint()
947 static void lpuart32_txint(struct lpuart_port *sport) in lpuart32_txint()
954 static void lpuart32_rxint(struct lpuart_port *sport) in lpuart32_rxint()
1031 struct lpuart_port *sport = dev_id; in lpuart_int() local
1056 struct lpuart_port *sport = dev_id; in lpuart32_int() local
1084 static void lpuart_handle_sysrq(struct lpuart_port *sport) in lpuart_handle_sysrq()
1104 static void lpuart_copy_rx_to_tty(struct lpuart_port *sport) in lpuart_copy_rx_to_tty()
1242 struct lpuart_port *sport = arg; in lpuart_dma_rx_complete() local
1249 struct lpuart_port *sport = from_timer(sport, t, lpuart_timer); in lpuart_timer_func() local
1254 static inline int lpuart_start_rx_dma(struct lpuart_port *sport) in lpuart_start_rx_dma()
1335 struct lpuart_port *sport = container_of(port, in lpuart_dma_rx_free() local
1351 struct lpuart_port *sport = container_of(port, in lpuart_config_rs485() local
1402 struct lpuart_port *sport = container_of(port, in lpuart32_config_rs485() local
1526 static void lpuart_setup_watermark(struct lpuart_port *sport) in lpuart_setup_watermark()
1558 static void lpuart_setup_watermark_enable(struct lpuart_port *sport) in lpuart_setup_watermark_enable()
1569 static void lpuart32_setup_watermark(struct lpuart_port *sport) in lpuart32_setup_watermark()
1594 static void lpuart32_setup_watermark_enable(struct lpuart_port *sport) in lpuart32_setup_watermark_enable()
1605 static void rx_dma_timer_init(struct lpuart_port *sport) in rx_dma_timer_init()
1612 static void lpuart_request_dma(struct lpuart_port *sport) in lpuart_request_dma()
1631 static void lpuart_tx_dma_startup(struct lpuart_port *sport) in lpuart_tx_dma_startup()
1663 static void lpuart_rx_dma_startup(struct lpuart_port *sport) in lpuart_rx_dma_startup()
1700 struct lpuart_port *sport = container_of(port, struct lpuart_port, port); in lpuart_startup() local
1728 static void lpuart32_configure(struct lpuart_port *sport) in lpuart32_configure()
1748 struct lpuart_port *sport = container_of(port, struct lpuart_port, port); in lpuart32_startup() local
1788 static void lpuart_dma_shutdown(struct lpuart_port *sport) in lpuart_dma_shutdown()
1811 struct lpuart_port *sport = container_of(port, struct lpuart_port, port); in lpuart_shutdown() local
1830 struct lpuart_port *sport = in lpuart32_shutdown() local
1852 struct lpuart_port *sport = container_of(port, struct lpuart_port, port); in lpuart_set_termios() local
2079 static void lpuart32_serial_setbrg(struct lpuart_port *sport, in lpuart32_serial_setbrg()
2092 struct lpuart_port *sport = container_of(port, struct lpuart_port, port); in lpuart32_set_termios() local
2338 struct lpuart_port *sport = lpuart_ports[co->index]; in lpuart_console_write() local
2368 struct lpuart_port *sport = lpuart_ports[co->index]; in lpuart32_console_write() local
2400 lpuart_console_get_options(struct lpuart_port *sport, int *baud, in lpuart_console_get_options()
2449 lpuart32_console_get_options(struct lpuart_port *sport, int *baud, in lpuart32_console_get_options()
2496 struct lpuart_port *sport; in lpuart_console_setup() local
2651 struct lpuart_port *sport; in lpuart_probe() local
2779 struct lpuart_port *sport = platform_get_drvdata(pdev); in lpuart_remove() local
2799 struct lpuart_port *sport = dev_get_drvdata(dev); in lpuart_suspend() local
2857 struct lpuart_port *sport = dev_get_drvdata(dev); in lpuart_resume() local