/drivers/net/caif/ |
H A D | caif_serial.c | 88 static inline void update_tty_status(struct ser_device *ser) argument 90 ser->tty_status = 91 ser->tty->stopped << 5 | 92 ser->tty->flow_stopped << 3 | 93 ser->tty->packet << 2 | 94 ser->tty->port->low_latency << 1; 96 static inline void debugfs_init(struct ser_device *ser, struct tty_struct *tty) argument 98 ser->debugfs_tty_dir = 100 if (!IS_ERR(ser->debugfs_tty_dir)) { 102 ser 124 debugfs_deinit(struct ser_device *ser) argument 129 debugfs_rx(struct ser_device *ser, const u8 *data, int size) argument 138 debugfs_tx(struct ser_device *ser, const u8 *data, int size) argument 147 debugfs_init(struct ser_device *ser, struct tty_struct *tty) argument 151 debugfs_deinit(struct ser_device *ser) argument 155 update_tty_status(struct ser_device *ser) argument 159 debugfs_rx(struct ser_device *ser, const u8 *data, int size) argument 163 debugfs_tx(struct ser_device *ser, const u8 *data, int size) argument 173 struct ser_device *ser; local 218 handle_tx(struct ser_device *ser) argument 283 struct ser_device *ser; local 302 struct ser_device *ser; local 314 struct ser_device *ser, *tmp; local 335 struct ser_device *ser; local 383 struct ser_device *ser = tty->disc_data; local [all...] |
/drivers/staging/speakup/ |
H A D | serialio.c | 26 const struct old_serial_port *ser = rs_table + index; local 30 quot = ser->baud_base / baud; 41 if (synth_request_region(ser->port, 8)) { 44 __release_region(&ioport_resource, ser->port, 8); 45 err = synth_request_region(ser->port, 8); 48 ser->port, err); 55 outb(cval | UART_LCR_DLAB, ser->port + UART_LCR); /* set DLAB */ 56 outb(quot & 0xff, ser->port + UART_DLL); /* LS of divisor */ 57 outb(quot >> 8, ser->port + UART_DLM); /* MS of divisor */ 58 outb(cval, ser [all...] |
H A D | speakup_dummy.c | 126 module_param_named(ser, synth_dummy.ser, int, S_IRUGO); 129 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
H A D | synth.c | 49 const struct old_serial_port *ser; local 52 if ((synth->ser >= SPK_LO_TTY) && (synth->ser <= SPK_HI_TTY)) { 53 ser = spk_serial_init(synth->ser); 54 if (ser == NULL) { 57 outb_p(0, ser->port); 59 outb_p('\r', ser->port); 63 pr_warn("ttyS%i is an invalid port\n", synth->ser); 70 synth->long_name, synth->ser, synt [all...] |
H A D | speakup_acntsa.c | 140 module_param_named(ser, synth_acntsa.ser, int, S_IRUGO); 143 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
H A D | speakup_audptr.c | 174 module_param_named(ser, synth_audptr.ser, int, S_IRUGO); 177 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
H A D | speakup_bns.c | 124 module_param_named(ser, synth_bns.ser, int, S_IRUGO); 127 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
H A D | speakup_ltlk.c | 172 module_param_named(ser, synth_ltlk.ser, int, S_IRUGO); 175 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
H A D | speakup_spkout.c | 143 module_param_named(ser, synth_spkout.ser, int, S_IRUGO); 146 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
H A D | speakup_txprt.c | 124 module_param_named(ser, synth_txprt.ser, int, S_IRUGO); 127 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
H A D | speakup_apollo.c | 204 module_param_named(ser, synth_apollo.ser, int, S_IRUGO); 207 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
H A D | speakup_decext.c | 231 module_param_named(ser, synth_decext.ser, int, S_IRUGO); 234 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
H A D | speakup_dectlk.c | 303 module_param_named(ser, synth_dectlk.ser, int, S_IRUGO); 306 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
/drivers/isdn/gigaset/ |
H A D | ser-gigaset.c | 65 struct tty_struct *tty = cs->hw.ser->tty; 107 struct tty_struct *tty = cs->hw.ser->tty; 342 bcs->hw.ser = NULL; 371 if (!cs->hw.ser) 373 dev_set_drvdata(&cs->hw.ser->dev.dev, NULL); 374 platform_device_unregister(&cs->hw.ser->dev); 375 kfree(cs->hw.ser); 376 cs->hw.ser = NULL; 402 cs->hw.ser = scs; 404 cs->hw.ser [all...] |
H A D | Makefile | 6 ser_gigaset-y := ser-gigaset.o
|
/drivers/usb/serial/ |
H A D | f81232.c | 252 struct serial_struct ser; local 257 memset(&ser, 0, sizeof ser); 258 ser.type = PORT_16654; 259 ser.line = port->minor; 260 ser.port = port->port_number; 261 ser.baud_base = 460800; 263 if (copy_to_user((void __user *)arg, &ser, sizeof ser))
|
H A D | pl2303.c | 722 struct serial_struct ser; local 727 memset(&ser, 0, sizeof ser); 728 ser.type = PORT_16654; 729 ser.line = port->minor; 730 ser.port = port->port_number; 731 ser.baud_base = 460800; 733 if (copy_to_user((void __user *)arg, &ser, sizeof ser))
|
/drivers/tty/serial/ |
H A D | pnx8xxx_uart.c | 597 pnx8xxx_verify_port(struct uart_port *port, struct serial_struct *ser) argument 602 if (ser->type != PORT_UNKNOWN && ser->type != PORT_PNX8XXX) 604 if (sport->port.irq != ser->irq) 606 if (ser->io_type != SERIAL_IO_MEM) 608 if (sport->port.uartclk / 16 != ser->baud_base) 610 if ((void *)sport->port.mapbase != ser->iomem_base) 612 if (sport->port.iobase != ser->port) 614 if (ser->hub6 != 0)
|
H A D | 21285.c | 325 static int serial21285_verify_port(struct uart_port *port, struct serial_struct *ser) argument 328 if (ser->type != PORT_UNKNOWN && ser->type != PORT_21285) 330 if (ser->irq <= 0) 332 if (ser->baud_base != port->uartclk / 16)
|
H A D | ar933x_uart.c | 469 struct serial_struct *ser) 473 if (ser->type != PORT_UNKNOWN && 474 ser->type != PORT_AR933X) 477 if (ser->irq < 0 || ser->irq >= NR_IRQS) 480 if (ser->baud_base < up->min_baud || 481 ser->baud_base > up->max_baud) 468 ar933x_uart_verify_port(struct uart_port *port, struct serial_struct *ser) argument
|
H A D | apbuart.c | 316 struct serial_struct *ser) 319 if (ser->type != PORT_UNKNOWN && ser->type != PORT_APBUART) 321 if (ser->irq < 0 || ser->irq >= NR_IRQS) 323 if (ser->baud_base < 9600) 315 apbuart_verify_port(struct uart_port *port, struct serial_struct *ser) argument
|
H A D | lantiq.c | 547 struct serial_struct *ser) 550 if (ser->type != PORT_UNKNOWN && ser->type != PORT_LTQ_ASC) 552 if (ser->irq < 0 || ser->irq >= NR_IRQS) 554 if (ser->baud_base < 9600) 546 lqasc_verify_port(struct uart_port *port, struct serial_struct *ser) argument
|
H A D | sa1100.c | 559 sa1100_verify_port(struct uart_port *port, struct serial_struct *ser) argument 564 if (ser->type != PORT_UNKNOWN && ser->type != PORT_SA1100) 566 if (sport->port.irq != ser->irq) 568 if (ser->io_type != SERIAL_IO_MEM) 570 if (sport->port.uartclk / 16 != ser->baud_base) 572 if ((void *)sport->port.mapbase != ser->iomem_base) 574 if (sport->port.iobase != ser->port) 576 if (ser->hub6 != 0)
|
H A D | serial_ks8695.c | 516 static int ks8695uart_verify_port(struct uart_port *port, struct serial_struct *ser) argument 520 if (ser->type != PORT_UNKNOWN && ser->type != PORT_KS8695) 522 if (ser->irq != port->irq) 524 if (ser->baud_base < 9600)
|
H A D | xilinx_uartps.c | 836 * @ser: Handle to the structure whose members are compared 841 struct serial_struct *ser) 843 if (ser->type != PORT_UNKNOWN && ser->type != PORT_XUARTPS) 845 if (port->irq != ser->irq) 847 if (ser->io_type != UPIO_MEM) 849 if (port->iobase != ser->port) 851 if (ser->hub6 != 0) 840 cdns_uart_verify_port(struct uart_port *port, struct serial_struct *ser) argument
|