Searched refs:uport (Results 1 - 10 of 10) sorted by relevance

/drivers/misc/ibmasm/
H A Duart.c36 struct uart_port uport; local
50 memset(&uport, 0, sizeof(struct uart_port));
51 uport.irq = sp->irq;
52 uport.uartclk = 3686400;
53 uport.flags = UPF_SHARE_IRQ;
54 uport.iotype = UPIO_MEM;
55 uport.membase = iomem_base;
57 sp->serial_line = serial8250_register_port(&uport);
/drivers/tty/serial/
H A Dmsm_serial_hs.c316 * @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
1000 msm_hs_get_mctrl_locked(struct uart_port *uport) argument
1010 set_rfr_locked(struct uart_port *uport, int auto_rfr) argument
1032 msm_hs_set_mctrl_locked(struct uart_port *uport, unsigned int mctrl) argument
1047 msm_hs_enable_ms_locked(struct uart_port *uport) argument
1067 msm_hs_break_ctl(struct uart_port *uport, int ctl) argument
1076 msm_hs_config_port(struct uart_port *uport, int cfg_flags) argument
1089 msm_hs_handle_delta_cts_locked(struct uart_port *uport) argument
1110 msm_hs_check_clock_off_locked(struct uart_port *uport) argument
1166 struct uart_port *uport = &msm_uport->uport; local
1185 struct uart_port *uport = &msm_uport->uport; local
1254 msm_hs_request_clock_off_locked(struct uart_port *uport) argument
1280 msm_hs_request_clock_off(struct uart_port *uport) argument
1289 msm_hs_request_clock_on_locked(struct uart_port *uport) argument
1332 msm_hs_request_clock_on(struct uart_port *uport) argument
1346 struct uart_port *uport = &msm_uport->uport; local
1383 msm_hs_startup(struct uart_port *uport) argument
1524 uartdm_init_port(struct uart_port *uport) argument
1620 struct uart_port *uport; local
1747 msm_hs_shutdown(struct uart_port *uport) argument
[all...]
H A Dsb1250-duart.c108 #define to_sport(uport) container_of(uport, struct sbd_port, port)
240 static unsigned int sbd_tx_empty(struct uart_port *uport) argument
242 struct sbd_port *sport = to_sport(uport);
247 static unsigned int sbd_get_mctrl(struct uart_port *uport) argument
249 struct sbd_port *sport = to_sport(uport);
253 status >>= (uport->line) % 2;
261 static void sbd_set_mctrl(struct uart_port *uport, unsigned int mctrl) argument
263 struct sbd_port *sport = to_sport(uport);
274 clr <<= (uport
289 sbd_stop_tx(struct uart_port *uport) argument
297 sbd_start_tx(struct uart_port *uport) argument
312 sbd_stop_rx(struct uart_port *uport) argument
319 sbd_enable_ms(struct uart_port *uport) argument
327 sbd_break_ctl(struct uart_port *uport, int break_state) argument
340 struct uart_port *uport = &sport->port; local
391 struct uart_port *uport = &sport->port; local
428 struct uart_port *uport = &sport->port; local
448 struct uart_port *uport = &sport->port; local
476 sbd_startup(struct uart_port *uport) argument
510 sbd_shutdown(struct uart_port *uport) argument
522 struct uart_port *uport = &sport->port; local
541 sbd_set_termios(struct uart_port *uport, struct ktermios *termios, struct ktermios *old_termios) argument
647 sbd_type(struct uart_port *uport) argument
652 sbd_release_port(struct uart_port *uport) argument
669 sbd_map_port(struct uart_port *uport) argument
696 sbd_request_port(struct uart_port *uport) argument
733 sbd_config_port(struct uart_port *uport, int flags) argument
747 sbd_verify_port(struct uart_port *uport, struct serial_struct *ser) argument
811 struct uart_port *uport = &sport->port; local
834 sbd_console_putchar(struct uart_port *uport, int ch) argument
848 struct uart_port *uport = &sport->port; local
876 struct uart_port *uport = &sport->port; local
948 struct uart_port *uport = &sport->port; local
965 struct uart_port *uport = &sport->port; local
[all...]
H A Dserial_core.c140 struct uart_port *uport = state->uart_port; local
145 if (uport->type == PORT_UNKNOWN)
162 retval = uport->ops->startup(uport);
164 if (uart_console(uport) && uport->cons->cflag) {
165 tty->termios->c_cflag = uport->cons->cflag;
166 uport->cons->cflag = 0;
179 uart_set_mctrl(uport, TIOCM_RTS | TIOCM_DTR);
183 spin_lock_irq(&uport
233 struct uart_port *uport = state->uart_port; local
439 struct uart_port *uport = state->uart_port; local
643 struct uart_port *uport = state->uart_port; local
683 struct uart_port *uport = state->uart_port; local
894 struct uart_port *uport = state->uart_port; local
917 struct uart_port *uport = state->uart_port; local
936 struct uart_port *uport = state->uart_port; local
953 struct uart_port *uport = state->uart_port; local
966 struct uart_port *uport = state->uart_port; local
1020 struct uart_port *uport = state->uart_port; local
1082 struct uart_port *uport = state->uart_port; local
1175 struct uart_port *uport = state->uart_port; local
1190 struct uart_port *uport = state->uart_port; local
1259 struct uart_port *uport; local
1416 struct uart_port *uport = state->uart_port; local
1441 struct uart_port *uport = state->uart_port; local
1455 struct uart_port *uport = state->uart_port; local
1564 struct uart_port *uport = state->uart_port; local
1866 uart_suspend_port(struct uart_driver *drv, struct uart_port *uport) argument
1932 uart_resume_port(struct uart_driver *drv, struct uart_port *uport) argument
2309 uart_add_one_port(struct uart_driver *drv, struct uart_port *uport) argument
2381 uart_remove_one_port(struct uart_driver *drv, struct uart_port *uport) argument
2456 uart_handle_dcd_change(struct uart_port *uport, unsigned int status) argument
2491 uart_handle_cts_change(struct uart_port *uport, unsigned int status) argument
[all...]
H A Ddz.c88 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);
154 static void dz_enable_ms(struct uart_port *uport) argument
188 struct uart_port *uport; local
367 dz_get_mctrl(struct uart_port *uport) argument
383 dz_set_mctrl(struct uart_port *uport, unsigned int mctrl) argument
408 dz_startup(struct uart_port *uport) argument
449 dz_shutdown(struct uart_port *uport) argument
484 dz_tx_empty(struct uart_port *uport) argument
495 dz_break_ctl(struct uart_port *uport, int break_state) argument
571 dz_set_termios(struct uart_port *uport, struct ktermios *termios, struct ktermios *old_termios) argument
650 dz_pm(struct uart_port *uport, unsigned int state, unsigned int oldstate) argument
665 dz_type(struct uart_port *uport) argument
670 dz_release_port(struct uart_port *uport) argument
683 dz_map_port(struct uart_port *uport) argument
695 dz_request_port(struct uart_port *uport) argument
721 dz_config_port(struct uart_port *uport, int flags) argument
738 dz_verify_port(struct uart_port *uport, struct serial_struct *ser) argument
786 struct uart_port *uport = &dport->port; local
815 dz_console_putchar(struct uart_port *uport, int ch) argument
874 struct uart_port *uport = &dport->port; local
[all...]
H A Dzs.c101 #define to_zport(uport) container_of(uport, struct zs_port, port)
306 static unsigned int zs_tx_empty(struct uart_port *uport) argument
308 struct zs_port *zport = to_zport(uport);
374 static unsigned int zs_get_mctrl(struct uart_port *uport) argument
376 struct zs_port *zport = to_zport(uport);
387 static void zs_set_mctrl(struct uart_port *uport, unsigned int mctrl) argument
389 struct zs_port *zport = to_zport(uport);
427 static void zs_stop_tx(struct uart_port *uport) argument
429 struct zs_port *zport = to_zport(uport);
439 zs_start_tx(struct uart_port *uport) argument
453 zs_stop_rx(struct uart_port *uport) argument
487 zs_enable_ms(struct uart_port *uport) argument
517 zs_break_ctl(struct uart_port *uport, int break_state) argument
541 struct uart_port *uport = &zport->port; local
650 struct uart_port *uport = &zport->port; local
754 zs_startup(struct uart_port *uport) argument
807 zs_shutdown(struct uart_port *uport) argument
850 zs_set_termios(struct uart_port *uport, struct ktermios *termios, struct ktermios *old_termios) argument
965 zs_pm(struct uart_port *uport, unsigned int state, unsigned int oldstate) argument
978 zs_type(struct uart_port *uport) argument
983 zs_release_port(struct uart_port *uport) argument
990 zs_map_port(struct uart_port *uport) argument
1002 zs_request_port(struct uart_port *uport) argument
1018 zs_config_port(struct uart_port *uport, int flags) argument
1032 zs_verify_port(struct uart_port *uport, struct serial_struct *ser) argument
1102 struct uart_port *uport = &zport->port; local
1128 zs_console_putchar(struct uart_port *uport, int ch) argument
1197 struct uart_port *uport = &zport->port; local
1278 struct uart_port *uport = &zport->port; local
1294 struct uart_port *uport = &zport->port; local
[all...]
H A Dmfd.c66 struct uart_hsu_port *uport; member in struct:hsu_dma_chan
631 struct uart_hsu_port *up = chan->uport;
1291 struct uart_hsu_port *uport; local
1330 uport = &phsu->port[index];
1331 uport->port.irq = pdev->irq;
1332 uport->port.dev = &pdev->dev;
1333 uport->dev = &pdev->dev;
1335 ret = request_irq(pdev->irq, port_irq, 0, uport->name, uport);
1340 uart_add_one_port(&serial_hsu_reg, &uport
1358 struct uart_hsu_port *uport; local
[all...]
H A Dsamsung.c1002 struct uart_port *uport; local
1005 uport = &port->port;
1031 if (uport->state == NULL)
1034 tty = uport->state->port.tty;
1046 s3c24xx_serial_set_termios(uport, termios, NULL);
H A Dpmac_zilog.c1933 struct uart_pmac_port *uport = &pmz_ports[i]; local
1935 if (uport->node != NULL)
1936 pmz_dispose_port(uport);
1938 if (uport->pdev != NULL)
1939 pmz_dispose_port(uport);
/drivers/tty/serial/8250/
H A D8250_hp300.c213 struct uart_port uport; local
251 memset(&uport, 0, sizeof(struct uart_port));
256 uport.iotype = UPIO_MEM;
257 uport.flags = UPF_SKIP_TEST | UPF_SHARE_IRQ \
260 uport.irq = 0;
261 uport.uartclk = HPAPCI_BAUD_BASE * 16;
262 uport.mapbase = base;
263 uport.membase = (char *)(base + DIO_VIRADDRBASE);
264 uport.regshift = 2;
266 line = serial8250_register_port(&uport);
[all...]

Completed in 500 milliseconds