Lines Matching refs:imx_port

198 struct imx_port {  struct
268 static inline struct imx_port *to_imx_port(struct uart_port *port) in to_imx_port()
270 return container_of(port, struct imx_port, port); in to_imx_port()
273 static inline void imx_uart_writel(struct imx_port *sport, u32 val, u32 offset) in imx_uart_writel()
278 static inline u32 imx_uart_readl(struct imx_port *sport, u32 offset) in imx_uart_readl()
283 static inline unsigned imx_uart_uts_reg(struct imx_port *sport) in imx_uart_uts_reg()
288 static inline int imx_uart_is_imx1(struct imx_port *sport) in imx_uart_is_imx1()
297 static void imx_uart_ucrs_save(struct imx_port *sport, in imx_uart_ucrs_save()
306 static void imx_uart_ucrs_restore(struct imx_port *sport, in imx_uart_ucrs_restore()
317 static void imx_uart_rts_active(struct imx_port *sport, u32 *ucr2) in imx_uart_rts_active()
325 static void imx_uart_rts_inactive(struct imx_port *sport, u32 *ucr2) in imx_uart_rts_inactive()
339 static void imx_uart_soft_reset(struct imx_port *sport) in imx_uart_soft_reset()
373 static void imx_uart_disable_loopback_rs485(struct imx_port *sport) in imx_uart_disable_loopback_rs485()
386 struct imx_port *sport = to_imx_port(port); in imx_uart_start_rx()
410 struct imx_port *sport = to_imx_port(port); in imx_uart_stop_tx()
475 struct imx_port *sport = to_imx_port(port); in imx_uart_stop_rx_with_loopback_ctrl()
520 struct imx_port *sport = to_imx_port(port); in imx_uart_enable_ms()
527 static void imx_uart_dma_tx(struct imx_port *sport);
530 static inline void imx_uart_transmit_buffer(struct imx_port *sport) in imx_uart_transmit_buffer()
581 struct imx_port *sport = data; in imx_uart_dma_tx_callback()
617 static void imx_uart_dma_tx(struct imx_port *sport) in imx_uart_dma_tx()
671 struct imx_port *sport = to_imx_port(port); in imx_uart_start_tx()
760 struct imx_port *sport = dev_id; in __imx_uart_rtsint()
788 struct imx_port *sport = dev_id; in imx_uart_rtsint()
802 struct imx_port *sport = dev_id; in imx_uart_txint()
822 static void imx_uart_check_flood(struct imx_port *sport, u32 usr2) in imx_uart_check_flood()
858 struct imx_port *sport = dev_id; in __imx_uart_rxint()
917 struct imx_port *sport = dev_id; in imx_uart_rxint()
929 static void imx_uart_clear_rx_errors(struct imx_port *sport);
934 static unsigned int imx_uart_get_hwmctrl(struct imx_port *sport) in imx_uart_get_hwmctrl()
957 static void imx_uart_mctrl_check(struct imx_port *sport) in imx_uart_mctrl_check()
983 struct imx_port *sport = dev_id; in imx_uart_int()
1067 struct imx_port *sport = to_imx_port(port); in imx_uart_tx_empty()
1082 struct imx_port *sport = to_imx_port(port); in imx_uart_get_mctrl()
1093 struct imx_port *sport = to_imx_port(port); in imx_uart_set_mctrl()
1136 struct imx_port *sport = to_imx_port(port); in imx_uart_break_ctl()
1158 struct imx_port *sport = from_timer(sport, t, timer); in imx_uart_timeout()
1180 struct imx_port *sport = data; in imx_uart_dma_rx_callback()
1258 static int imx_uart_start_rx_dma(struct imx_port *sport) in imx_uart_start_rx_dma()
1295 static void imx_uart_clear_rx_errors(struct imx_port *sport) in imx_uart_clear_rx_errors()
1334 static void imx_uart_setup_ufcr(struct imx_port *sport, in imx_uart_setup_ufcr()
1345 static void imx_uart_dma_exit(struct imx_port *sport) in imx_uart_dma_exit()
1363 static int imx_uart_dma_init(struct imx_port *sport) in imx_uart_dma_init()
1425 static void imx_uart_enable_dma(struct imx_port *sport) in imx_uart_enable_dma()
1439 static void imx_uart_disable_dma(struct imx_port *sport) in imx_uart_disable_dma()
1458 struct imx_port *sport = to_imx_port(port); in imx_uart_startup()
1572 struct imx_port *sport = to_imx_port(port); in imx_uart_shutdown()
1697 struct imx_port *sport = to_imx_port(port); in imx_uart_flush_buffer()
1724 struct imx_port *sport = to_imx_port(port); in imx_uart_set_termios()
1927 struct imx_port *sport = to_imx_port(port); in imx_uart_poll_init()
1976 struct imx_port *sport = to_imx_port(port); in imx_uart_poll_get_char()
1985 struct imx_port *sport = to_imx_port(port); in imx_uart_poll_put_char()
2007 struct imx_port *sport = to_imx_port(port); in imx_uart_rs485_config()
2061 static struct imx_port *imx_uart_ports[UART_NR];
2066 struct imx_port *sport = to_imx_port(port); in imx_uart_console_putchar()
2080 struct imx_port *sport = imx_uart_ports[co->index]; in imx_uart_console_write()
2127 imx_uart_console_get_options(struct imx_port *sport, int *baud, in imx_uart_console_get_options()
2188 struct imx_port *sport; in imx_uart_console_setup()
2236 struct imx_port *sport = imx_uart_ports[co->index]; in imx_uart_console_exit()
2274 struct imx_port *sport = container_of(t, struct imx_port, trigger_start_tx); in imx_trigger_start_tx()
2287 struct imx_port *sport = container_of(t, struct imx_port, trigger_stop_tx); in imx_trigger_stop_tx()
2312 struct imx_port *sport; in imx_uart_probe()
2549 struct imx_port *sport = platform_get_drvdata(pdev); in imx_uart_remove()
2554 static void imx_uart_restore_context(struct imx_port *sport) in imx_uart_restore_context()
2578 static void imx_uart_save_context(struct imx_port *sport) in imx_uart_save_context()
2598 static void imx_uart_enable_wakeup(struct imx_port *sport, bool on) in imx_uart_enable_wakeup()
2625 struct imx_port *sport = dev_get_drvdata(dev); in imx_uart_suspend_noirq()
2638 struct imx_port *sport = dev_get_drvdata(dev); in imx_uart_resume_noirq()
2654 struct imx_port *sport = dev_get_drvdata(dev); in imx_uart_suspend()
2672 struct imx_port *sport = dev_get_drvdata(dev); in imx_uart_resume()
2687 struct imx_port *sport = dev_get_drvdata(dev); in imx_uart_freeze()
2696 struct imx_port *sport = dev_get_drvdata(dev); in imx_uart_thaw()