Lines Matching refs:imx_port

198 struct imx_port {  struct
276 static void imx_uart_writel(struct imx_port *sport, u32 val, u32 offset) in imx_uart_writel()
300 static u32 imx_uart_readl(struct imx_port *sport, u32 offset) in imx_uart_readl()
331 static inline unsigned imx_uart_uts_reg(struct imx_port *sport) in imx_uart_uts_reg()
336 static inline int imx_uart_is_imx1(struct imx_port *sport) in imx_uart_is_imx1()
341 static inline int imx_uart_is_imx21(struct imx_port *sport) in imx_uart_is_imx21()
346 static inline int imx_uart_is_imx53(struct imx_port *sport) in imx_uart_is_imx53()
351 static inline int imx_uart_is_imx6q(struct imx_port *sport) in imx_uart_is_imx6q()
359 static void imx_uart_ucrs_save(struct imx_port *sport, in imx_uart_ucrs_save()
368 static void imx_uart_ucrs_restore(struct imx_port *sport, in imx_uart_ucrs_restore()
379 static void imx_uart_rts_active(struct imx_port *sport, u32 *ucr2) in imx_uart_rts_active()
388 static void imx_uart_rts_inactive(struct imx_port *sport, u32 *ucr2) in imx_uart_rts_inactive()
405 struct imx_port *sport = (struct imx_port *)port; in imx_uart_start_rx()
428 struct imx_port *sport = (struct imx_port *)port; in imx_uart_stop_tx()
493 struct imx_port *sport = (struct imx_port *)port; in imx_uart_stop_rx()
517 struct imx_port *sport = (struct imx_port *)port; in imx_uart_enable_ms()
524 static void imx_uart_dma_tx(struct imx_port *sport);
527 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()
618 static void imx_uart_dma_tx(struct imx_port *sport) in imx_uart_dma_tx()
681 struct imx_port *sport = (struct imx_port *)port; in imx_uart_start_tx()
763 struct imx_port *sport = dev_id; in __imx_uart_rtsint()
776 struct imx_port *sport = dev_id; in imx_uart_rtsint()
790 struct imx_port *sport = dev_id; in imx_uart_txint()
800 struct imx_port *sport = dev_id; in __imx_uart_rxint()
867 struct imx_port *sport = dev_id; in imx_uart_rxint()
879 static void imx_uart_clear_rx_errors(struct imx_port *sport);
884 static unsigned int imx_uart_get_hwmctrl(struct imx_port *sport) in imx_uart_get_hwmctrl()
907 static void imx_uart_mctrl_check(struct imx_port *sport) in imx_uart_mctrl_check()
933 struct imx_port *sport = dev_id; in imx_uart_int()
1017 struct imx_port *sport = (struct imx_port *)port; in imx_uart_tx_empty()
1032 struct imx_port *sport = (struct imx_port *)port; in imx_uart_get_mctrl()
1043 struct imx_port *sport = (struct imx_port *)port; in imx_uart_set_mctrl()
1086 struct imx_port *sport = (struct imx_port *)port; in imx_uart_break_ctl()
1108 struct imx_port *sport = from_timer(sport, t, timer); in imx_uart_timeout()
1130 struct imx_port *sport = data; in imx_uart_dma_rx_callback()
1201 static int imx_uart_start_rx_dma(struct imx_port *sport) in imx_uart_start_rx_dma()
1238 static void imx_uart_clear_rx_errors(struct imx_port *sport) in imx_uart_clear_rx_errors()
1275 static void imx_uart_setup_ufcr(struct imx_port *sport, in imx_uart_setup_ufcr()
1286 static void imx_uart_dma_exit(struct imx_port *sport) in imx_uart_dma_exit()
1304 static int imx_uart_dma_init(struct imx_port *sport) in imx_uart_dma_init()
1361 static void imx_uart_enable_dma(struct imx_port *sport) in imx_uart_enable_dma()
1375 static void imx_uart_disable_dma(struct imx_port *sport) in imx_uart_disable_dma()
1394 struct imx_port *sport = (struct imx_port *)port; in imx_uart_startup()
1510 struct imx_port *sport = (struct imx_port *)port; in imx_uart_shutdown()
1572 struct imx_port *sport = (struct imx_port *)port; in imx_uart_flush_buffer()
1625 struct imx_port *sport = (struct imx_port *)port; in imx_uart_set_termios()
1785 struct imx_port *sport = (struct imx_port *)port; in imx_uart_type()
1795 struct imx_port *sport = (struct imx_port *)port; in imx_uart_config_port()
1809 struct imx_port *sport = (struct imx_port *)port; in imx_uart_verify_port()
1833 struct imx_port *sport = (struct imx_port *)port; in imx_uart_poll_init()
1882 struct imx_port *sport = (struct imx_port *)port; in imx_uart_poll_get_char()
1891 struct imx_port *sport = (struct imx_port *)port; in imx_uart_poll_put_char()
1913 struct imx_port *sport = (struct imx_port *)port; in imx_uart_rs485_config()
1966 static struct imx_port *imx_uart_ports[UART_NR];
1971 struct imx_port *sport = (struct imx_port *)port; in imx_uart_console_putchar()
1985 struct imx_port *sport = imx_uart_ports[co->index]; in imx_uart_console_write()
2032 imx_uart_console_get_options(struct imx_port *sport, int *baud, in imx_uart_console_get_options()
2093 struct imx_port *sport; in imx_uart_console_setup()
2141 struct imx_port *sport = imx_uart_ports[co->index]; in imx_uart_console_exit()
2179 struct imx_port *sport = container_of(t, struct imx_port, trigger_start_tx); in imx_trigger_start_tx()
2192 struct imx_port *sport = container_of(t, struct imx_port, trigger_stop_tx); in imx_trigger_stop_tx()
2210 struct imx_port *sport; in imx_uart_probe()
2432 struct imx_port *sport = platform_get_drvdata(pdev); in imx_uart_remove()
2437 static void imx_uart_restore_context(struct imx_port *sport) in imx_uart_restore_context()
2461 static void imx_uart_save_context(struct imx_port *sport) in imx_uart_save_context()
2481 static void imx_uart_enable_wakeup(struct imx_port *sport, bool on) in imx_uart_enable_wakeup()
2508 struct imx_port *sport = dev_get_drvdata(dev); in imx_uart_suspend_noirq()
2521 struct imx_port *sport = dev_get_drvdata(dev); in imx_uart_resume_noirq()
2537 struct imx_port *sport = dev_get_drvdata(dev); in imx_uart_suspend()
2555 struct imx_port *sport = dev_get_drvdata(dev); in imx_uart_resume()
2570 struct imx_port *sport = dev_get_drvdata(dev); in imx_uart_freeze()
2579 struct imx_port *sport = dev_get_drvdata(dev); in imx_uart_thaw()