/drivers/staging/speakup/ |
H A D | serialio.c | 22 struct serial_state *ser = NULL; local 25 ser = rs_table + index; 27 quot = ser->baud_base / baud; 38 if (synth_request_region(ser->port, 8)) { 41 __release_region(&ioport_resource, ser->port, 8); 42 err = synth_request_region(ser->port, 8); 45 ser->port, err); 52 outb(cval | UART_LCR_DLAB, ser->port + UART_LCR); /* set DLAB */ 53 outb(quot & 0xff, ser->port + UART_DLL); /* LS of divisor */ 54 outb(quot >> 8, ser [all...] |
H A D | synth.c | 37 struct serial_state *ser; local 40 if ((synth->ser >= SPK_LO_TTY) && (synth->ser <= SPK_HI_TTY)) { 41 ser = spk_serial_init(synth->ser); 42 if (ser == NULL) { 45 outb_p(0, ser->port); 47 outb_p('\r', ser->port); 51 pr_warn("ttyS%i is an invalid port\n", synth->ser); 58 synth->long_name, synth->ser, synt [all...] |
/drivers/tty/serial/ |
H A D | timbuart.c | 394 struct serial_struct *ser) 393 timbuart_verify_port(struct uart_port *port, struct serial_struct *ser) argument
|
H A D | 21285.c | 329 static int serial21285_verify_port(struct uart_port *port, struct serial_struct *ser) argument 332 if (ser->type != PORT_UNKNOWN && ser->type != PORT_21285) 334 if (ser->irq != NO_IRQ) 336 if (ser->baud_base != port->uartclk / 16)
|
H A D | altera_jtaguart.c | 275 struct serial_struct *ser) 277 if (ser->type != PORT_UNKNOWN && ser->type != PORT_ALTERA_JTAGUART) 274 altera_jtaguart_verify_port(struct uart_port *port, struct serial_struct *ser) argument
|
H A D | max3107.c | 894 struct serial_struct *ser) 896 if (ser->type == PORT_UNKNOWN || ser->type == PORT_MAX3107) 893 max3107_verify_port(struct uart_port *port, struct serial_struct *ser) argument
|
H A D | mcf.c | 412 static int mcf_verify_port(struct uart_port *port, struct serial_struct *ser) argument 414 if ((ser->type != PORT_UNKNOWN) && (ser->type != PORT_MCF))
|
H A D | mux.c | 371 * @ser: Ptr to the serial information. 376 static int mux_verify_port(struct uart_port *port, struct serial_struct *ser) argument
|
H A D | nwpserial.c | 206 struct serial_struct *ser) 205 nwpserial_verify_port(struct uart_port *port, struct serial_struct *ser) argument
|
H A D | altera_uart.c | 373 struct serial_struct *ser) 375 if ((ser->type != PORT_UNKNOWN) && (ser->type != PORT_ALTERA_UART)) 372 altera_uart_verify_port(struct uart_port *port, struct serial_struct *ser) argument
|
H A D | amba-pl010.c | 525 static int pl010_verify_port(struct uart_port *port, struct serial_struct *ser) argument 528 if (ser->type != PORT_UNKNOWN && ser->type != PORT_AMBA) 530 if (ser->irq < 0 || ser->irq >= nr_irqs) 532 if (ser->baud_base < 9600)
|
H A D | apbuart.c | 320 struct serial_struct *ser) 323 if (ser->type != PORT_UNKNOWN && ser->type != PORT_APBUART) 325 if (ser->irq < 0 || ser->irq >= NR_IRQS) 327 if (ser->baud_base < 9600) 319 apbuart_verify_port(struct uart_port *port, struct serial_struct *ser) argument
|
H A D | ar933x_uart.c | 402 struct serial_struct *ser) 404 if (ser->type != PORT_UNKNOWN && 405 ser->type != PORT_AR933X) 408 if (ser->irq < 0 || ser->irq >= NR_IRQS) 411 if (ser->baud_base < 28800) 401 ar933x_uart_verify_port(struct uart_port *port, struct serial_struct *ser) argument
|
H A D | bfin_sport_uart.c | 485 static int sport_verify_port(struct uart_port *port, struct serial_struct *ser) argument
|
H A D | dz.c | 739 static int dz_verify_port(struct uart_port *uport, struct serial_struct *ser) argument 743 if (ser->type != PORT_UNKNOWN && ser->type != PORT_DZ) 745 if (ser->irq != uport->irq)
|
H A D | msm_serial.c | 675 static int msm_verify_port(struct uart_port *port, struct serial_struct *ser) argument 677 if (unlikely(ser->type != PORT_UNKNOWN && ser->type != PORT_MSM)) 679 if (unlikely(port->irq != ser->irq))
|
H A D | pnx8xxx_uart.c | 595 pnx8xxx_verify_port(struct uart_port *port, struct serial_struct *ser) argument 600 if (ser->type != PORT_UNKNOWN && ser->type != PORT_PNX8XXX) 602 if (sport->port.irq != ser->irq) 604 if (ser->io_type != SERIAL_IO_MEM) 606 if (sport->port.uartclk / 16 != ser->baud_base) 608 if ((void *)sport->port.mapbase != ser->iomem_base) 610 if (sport->port.iobase != ser->port) 612 if (ser->hub6 != 0)
|
H A D | pxa.c | 603 serial_pxa_verify_port(struct uart_port *port, struct serial_struct *ser) argument
|
H A D | sa1100.c | 556 sa1100_verify_port(struct uart_port *port, struct serial_struct *ser) argument 561 if (ser->type != PORT_UNKNOWN && ser->type != PORT_SA1100) 563 if (sport->port.irq != ser->irq) 565 if (ser->io_type != SERIAL_IO_MEM) 567 if (sport->port.uartclk / 16 != ser->baud_base) 569 if ((void *)sport->port.mapbase != ser->iomem_base) 571 if (sport->port.iobase != ser->port) 573 if (ser->hub6 != 0)
|
H A D | serial_ks8695.c | 517 static int ks8695uart_verify_port(struct uart_port *port, struct serial_struct *ser) argument 521 if (ser->type != PORT_UNKNOWN && ser->type != PORT_KS8695) 523 if (ser->irq != port->irq) 525 if (ser->baud_base < 9600)
|
H A D | sunhv.c | 368 static int sunhv_verify_port(struct uart_port *port, struct serial_struct *ser) argument
|
H A D | uartlite.c | 309 static int ulite_verify_port(struct uart_port *port, struct serial_struct *ser) argument
|
H A D | vt8500_serial.c | 425 struct serial_struct *ser) 427 if (unlikely(ser->type != PORT_UNKNOWN && ser->type != PORT_VT8500)) 429 if (unlikely(port->irq != ser->irq)) 424 vt8500_verify_port(struct uart_port *port, struct serial_struct *ser) argument
|
/drivers/net/caif/ |
H A D | caif_serial.c | 87 static inline void update_tty_status(struct ser_device *ser) argument 89 ser->tty_status = 90 ser->tty->stopped << 5 | 91 ser->tty->hw_stopped << 4 | 92 ser->tty->flow_stopped << 3 | 93 ser->tty->packet << 2 | 94 ser->tty->low_latency << 1 | 95 ser->tty->warned; 97 static inline void debugfs_init(struct ser_device *ser, struct tty_struct *tty) argument 99 ser 125 debugfs_deinit(struct ser_device *ser) argument 130 debugfs_rx(struct ser_device *ser, const u8 *data, int size) argument 139 debugfs_tx(struct ser_device *ser, const u8 *data, int size) argument 148 debugfs_init(struct ser_device *ser, struct tty_struct *tty) argument 152 debugfs_deinit(struct ser_device *ser) argument 156 update_tty_status(struct ser_device *ser) argument 160 debugfs_rx(struct ser_device *ser, const u8 *data, int size) argument 164 debugfs_tx(struct ser_device *ser, const u8 *data, int size) argument 174 struct ser_device *ser; local 220 handle_tx(struct ser_device *ser) argument 285 struct ser_device *ser; local 304 struct ser_device *ser; local 315 struct ser_device *ser; local 352 struct ser_device *ser = tty->disc_data; local 440 struct ser_device *ser = NULL; local [all...] |
/drivers/tty/serial/cpm_uart/ |
H A D | cpm_uart_core.c | 646 struct serial_struct *ser) 652 if (ser->type != PORT_UNKNOWN && ser->type != PORT_CPM) 654 if (ser->irq < 0 || ser->irq >= nr_irqs) 656 if (ser->baud_base < 9600) 645 cpm_uart_verify_port(struct uart_port *port, struct serial_struct *ser) argument
|