/drivers/tty/serial/ |
H A D | msm_serial_hs.c | 316 * @uport: embedded uart port structure 335 struct uart_port uport; member in struct:msm_hs_port 368 container_of((uart_port), struct msm_hs_port, uport) 376 static unsigned int msm_hs_read(struct uart_port *uport, argument 379 return ioread32(uport->membase + offset); 382 static void msm_hs_write(struct uart_port *uport, unsigned int offset, argument 385 iowrite32(value, uport->membase + offset); 416 dev = msm_uport->uport.dev; 431 uart_remove_one_port(&msm_hs_driver, &msm_uport->uport); 442 iounmap(msm_uport->uport 447 msm_hs_init_clk_locked(struct uart_port *uport) argument 471 msm_hs_pm(struct uart_port *uport, unsigned int state, unsigned int oldstate) argument 503 msm_hs_set_bps_locked(struct uart_port *uport, unsigned int bps) argument 613 msm_hs_set_termios(struct uart_port *uport, struct ktermios *termios, struct ktermios *oldtermios) argument 714 msm_hs_tx_empty(struct uart_port *uport) argument 736 msm_hs_stop_tx_locked(struct uart_port *uport) argument 751 msm_hs_stop_rx_locked(struct uart_port *uport) argument 774 msm_hs_submit_tx_locked(struct uart_port *uport) argument 827 msm_hs_start_rx_locked(struct uart_port *uport) argument 846 msm_hs_start_tx_locked(struct uart_port *uport) argument 911 struct uart_port *uport; local 999 msm_hs_get_mctrl_locked(struct uart_port *uport) argument 1009 set_rfr_locked(struct uart_port *uport, int auto_rfr) argument 1031 msm_hs_set_mctrl_locked(struct uart_port *uport, unsigned int mctrl) argument 1046 msm_hs_enable_ms_locked(struct uart_port *uport) argument 1066 msm_hs_break_ctl(struct uart_port *uport, int ctl) argument 1075 msm_hs_config_port(struct uart_port *uport, int cfg_flags) argument 1088 msm_hs_handle_delta_cts_locked(struct uart_port *uport) argument 1109 msm_hs_check_clock_off_locked(struct uart_port *uport) argument 1165 struct uart_port *uport = &msm_uport->uport; local 1184 struct uart_port *uport = &msm_uport->uport; local 1253 msm_hs_request_clock_off_locked(struct uart_port *uport) argument 1279 msm_hs_request_clock_off(struct uart_port *uport) argument 1288 msm_hs_request_clock_on_locked(struct uart_port *uport) argument 1331 msm_hs_request_clock_on(struct uart_port *uport) argument 1345 struct uart_port *uport = &msm_uport->uport; local 1380 msm_hs_startup(struct uart_port *uport) argument 1521 uartdm_init_port(struct uart_port *uport) argument 1617 struct uart_port *uport; local 1744 msm_hs_shutdown(struct uart_port *uport) argument [all...] |
H A D | serial_core.c | 62 static int uart_dcd_enabled(struct uart_port *uport) argument 64 return uport->status & UPSTAT_DCD_ENABLE; 140 struct uart_port *uport = state->uart_port; local 144 if (uport->type == PORT_UNKNOWN) 166 retval = uport->ops->startup(uport); 168 if (uart_console(uport) && uport->cons->cflag) { 169 tty->termios.c_cflag = uport->cons->cflag; 170 uport 238 struct uart_port *uport = state->uart_port; local 446 struct uart_port *uport = state->uart_port; local 670 struct uart_port *uport = state->uart_port; local 719 struct uart_port *uport = state->uart_port; local 943 struct uart_port *uport = state->uart_port; local 966 struct uart_port *uport = state->uart_port; local 985 struct uart_port *uport = state->uart_port; local 1002 struct uart_port *uport = state->uart_port; local 1015 struct uart_port *uport = state->uart_port; local 1057 uart_enable_ms(struct uart_port *uport) argument 1078 struct uart_port *uport = state->uart_port; local 1136 struct uart_port *uport = state->uart_port; local 1229 struct uart_port *uport = state->uart_port; local 1244 struct uart_port *uport = state->uart_port; local 1254 struct uart_port *uport = state->uart_port; local 1334 struct uart_port *uport; local 1492 struct uart_port *uport = state->uart_port; local 1517 struct uart_port *uport = state->uart_port; local 1531 struct uart_port *uport = state->uart_port; local 1627 struct uart_port *uport = state->uart_port; local 1934 uart_suspend_port(struct uart_driver *drv, struct uart_port *uport) argument 1999 uart_resume_port(struct uart_driver *drv, struct uart_port *uport) argument 2572 uart_add_one_port(struct uart_driver *drv, struct uart_port *uport) argument 2662 uart_remove_one_port(struct uart_driver *drv, struct uart_port *uport) argument 2757 uart_handle_dcd_change(struct uart_port *uport, unsigned int status) argument 2792 uart_handle_cts_change(struct uart_port *uport, unsigned int status) argument [all...] |
H A D | sb1250-duart.c | 109 #define to_sport(uport) container_of(uport, struct sbd_port, port) 241 static unsigned int sbd_tx_empty(struct uart_port *uport) argument 243 struct sbd_port *sport = to_sport(uport); 248 static unsigned int sbd_get_mctrl(struct uart_port *uport) argument 250 struct sbd_port *sport = to_sport(uport); 254 status >>= (uport->line) % 2; 262 static void sbd_set_mctrl(struct uart_port *uport, unsigned int mctrl) argument 264 struct sbd_port *sport = to_sport(uport); 275 clr <<= (uport 290 sbd_stop_tx(struct uart_port *uport) argument 298 sbd_start_tx(struct uart_port *uport) argument 313 sbd_stop_rx(struct uart_port *uport) argument 320 sbd_enable_ms(struct uart_port *uport) argument 328 sbd_break_ctl(struct uart_port *uport, int break_state) argument 341 struct uart_port *uport = &sport->port; local 392 struct uart_port *uport = &sport->port; local 429 struct uart_port *uport = &sport->port; local 449 struct uart_port *uport = &sport->port; local 477 sbd_startup(struct uart_port *uport) argument 511 sbd_shutdown(struct uart_port *uport) argument 523 struct uart_port *uport = &sport->port; local 542 sbd_set_termios(struct uart_port *uport, struct ktermios *termios, struct ktermios *old_termios) argument 648 sbd_type(struct uart_port *uport) argument 653 sbd_release_port(struct uart_port *uport) argument 670 sbd_map_port(struct uart_port *uport) argument 697 sbd_request_port(struct uart_port *uport) argument 734 sbd_config_port(struct uart_port *uport, int flags) argument 748 sbd_verify_port(struct uart_port *uport, struct serial_struct *ser) argument 812 struct uart_port *uport = &sport->port; local 835 sbd_console_putchar(struct uart_port *uport, int ch) argument 849 struct uart_port *uport = &sport->port; local 877 struct uart_port *uport = &sport->port; local 949 struct uart_port *uport = &sport->port; local 966 struct uart_port *uport = &sport->port; local [all...] |
H A D | dz.c | 88 static inline struct dz_port *to_dport(struct uart_port *uport) argument 90 return container_of(uport, struct dz_port, port); 126 static void dz_stop_tx(struct uart_port *uport) argument 128 struct dz_port *dport = to_dport(uport); 136 static void dz_start_tx(struct uart_port *uport) argument 138 struct dz_port *dport = to_dport(uport); 146 static void dz_stop_rx(struct uart_port *uport) argument 148 struct dz_port *dport = to_dport(uport); 183 struct uart_port *uport; local 193 uport 360 dz_get_mctrl(struct uart_port *uport) argument 376 dz_set_mctrl(struct uart_port *uport, unsigned int mctrl) argument 401 dz_startup(struct uart_port *uport) argument 442 dz_shutdown(struct uart_port *uport) argument 477 dz_tx_empty(struct uart_port *uport) argument 488 dz_break_ctl(struct uart_port *uport, int break_state) argument 564 dz_set_termios(struct uart_port *uport, struct ktermios *termios, struct ktermios *old_termios) argument 643 dz_pm(struct uart_port *uport, unsigned int state, unsigned int oldstate) argument 658 dz_type(struct uart_port *uport) argument 663 dz_release_port(struct uart_port *uport) argument 676 dz_map_port(struct uart_port *uport) argument 688 dz_request_port(struct uart_port *uport) argument 714 dz_config_port(struct uart_port *uport, int flags) argument 731 dz_verify_port(struct uart_port *uport, struct serial_struct *ser) argument 778 struct uart_port *uport = &dport->port; local 807 dz_console_putchar(struct uart_port *uport, int ch) argument 866 struct uart_port *uport = &dport->port; local [all...] |
H A D | zs.c | 102 #define to_zport(uport) container_of(uport, struct zs_port, port) 307 static unsigned int zs_tx_empty(struct uart_port *uport) argument 309 struct zs_port *zport = to_zport(uport); 375 static unsigned int zs_get_mctrl(struct uart_port *uport) argument 377 struct zs_port *zport = to_zport(uport); 388 static void zs_set_mctrl(struct uart_port *uport, unsigned int mctrl) argument 390 struct zs_port *zport = to_zport(uport); 428 static void zs_stop_tx(struct uart_port *uport) argument 430 struct zs_port *zport = to_zport(uport); 440 zs_start_tx(struct uart_port *uport) argument 454 zs_stop_rx(struct uart_port *uport) argument 488 zs_enable_ms(struct uart_port *uport) argument 518 zs_break_ctl(struct uart_port *uport, int break_state) argument 542 struct uart_port *uport = &zport->port; local 651 struct uart_port *uport = &zport->port; local 755 zs_startup(struct uart_port *uport) argument 808 zs_shutdown(struct uart_port *uport) argument 851 zs_set_termios(struct uart_port *uport, struct ktermios *termios, struct ktermios *old_termios) argument 966 zs_pm(struct uart_port *uport, unsigned int state, unsigned int oldstate) argument 979 zs_type(struct uart_port *uport) argument 984 zs_release_port(struct uart_port *uport) argument 991 zs_map_port(struct uart_port *uport) argument 1003 zs_request_port(struct uart_port *uport) argument 1019 zs_config_port(struct uart_port *uport, int flags) argument 1033 zs_verify_port(struct uart_port *uport, struct serial_struct *ser) argument 1103 struct uart_port *uport = &zport->port; local 1129 zs_console_putchar(struct uart_port *uport, int ch) argument 1198 struct uart_port *uport = &zport->port; local 1279 struct uart_port *uport = &zport->port; local 1295 struct uart_port *uport = &zport->port; local [all...] |
H A D | serial-tegra.c | 101 struct uart_port uport; member in struct:tegra_uart_port 144 return readl(tup->uport.membase + (reg << tup->uport.regshift)); 150 writel(val, tup->uport.membase + (reg << tup->uport.regshift)); 155 return container_of(u, struct tegra_uart_port, uport); 284 dev_err(tup->uport.dev, 323 tup->uport.icount.overrun++; 324 dev_err(tup->uport.dev, "Got overrun errors\n"); 328 tup->uport [all...] |
H A D | mfd.c | 71 struct uart_hsu_port *uport; member in struct:hsu_dma_chan 637 struct uart_hsu_port *up = chan->uport; 1294 struct uart_hsu_port *uport; local 1333 uport = &phsu->port[index]; 1334 uport->port.irq = pdev->irq; 1335 uport->port.dev = &pdev->dev; 1336 uport->dev = &pdev->dev; 1338 ret = request_irq(pdev->irq, port_irq, 0, uport->name, uport); 1343 uart_add_one_port(&serial_hsu_reg, &uport 1361 struct uart_hsu_port *uport; local [all...] |
H A D | bfin_uart.c | 111 struct uart_port *uport = &uart->port; local 112 unsigned int status = bfin_serial_get_mctrl(uport); 116 if (uport->hw_stopped) { 118 uport->hw_stopped = 0; 119 uart_write_wakeup(uport); 123 uport->hw_stopped = 1; 126 uart_handle_cts_change(uport, status & TIOCM_CTS);
|
H A D | samsung.c | 1058 struct uart_port *uport; local 1061 uport = &port->port; 1087 if (uport->state == NULL) 1090 tty = uport->state->port.tty; 1098 dev_warn(uport->dev, "%s: no termios?\n", __func__); 1102 s3c24xx_serial_set_termios(uport, termios, NULL);
|
H A D | arc_uart.c | 107 #define to_arc_port(uport) container_of(uport, struct arc_uart_port, port)
|
H A D | pmac_zilog.c | 1940 struct uart_pmac_port *uport = &pmz_ports[i]; local 1942 if (uport->node != NULL) 1943 pmz_dispose_port(uport); 1945 if (uport->pdev != NULL) 1946 pmz_dispose_port(uport);
|
/drivers/tty/serial/8250/ |
H A D | 8250_core.c | 2805 struct uart_port *uport = state->uart_port; local 2807 container_of(uport, struct uart_8250_port, port); 2809 if (!(up->capabilities & UART_CAP_FIFO) || uport->fifosize <= 1) 2842 struct uart_port *uport = state->uart_port; local 2844 container_of(uport, struct uart_8250_port, port); 2847 if (!(up->capabilities & UART_CAP_FIFO) || uport->fifosize <= 1 ||
|