Searched refs:ser (Results 1 - 25 of 69) sorted by relevance

123

/drivers/net/caif/
H A Dcaif_serial.c87 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/staging/speakup/
H A Dserialio.c22 const struct old_serial_port *ser = rs_table + index; local
26 quot = ser->baud_base / baud;
37 if (synth_request_region(ser->port, 8)) {
40 __release_region(&ioport_resource, ser->port, 8);
41 err = synth_request_region(ser->port, 8);
44 ser->port, err);
51 outb(cval | UART_LCR_DLAB, ser->port + UART_LCR); /* set DLAB */
52 outb(quot & 0xff, ser->port + UART_DLL); /* LS of divisor */
53 outb(quot >> 8, ser->port + UART_DLM); /* MS of divisor */
54 outb(cval, ser
[all...]
H A Dspeakup_bns.c124 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 Dspeakup_dummy.c126 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 Dspeakup_txprt.c124 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 Dsynth.c37 const struct old_serial_port *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...]
H A Dspeakup_acntsa.c140 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 Dspeakup_audptr.c172 module_param_named(ser, synth_audptr.ser, int, S_IRUGO);
175 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
H A Dspeakup_ltlk.c171 module_param_named(ser, synth_ltlk.ser, int, S_IRUGO);
174 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
H A Dspeakup_spkout.c142 module_param_named(ser, synth_spkout.ser, int, S_IRUGO);
145 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
H A Dspeakup_apollo.c204 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 Dspeakup_decext.c230 module_param_named(ser, synth_decext.ser, int, S_IRUGO);
233 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
H A Dspeakup_dectlk.c299 module_param_named(ser, synth_dectlk.ser, int, S_IRUGO);
302 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
/drivers/isdn/gigaset/
H A Dser-gigaset.c65 struct tty_struct *tty = cs->hw.ser->tty;
107 struct tty_struct *tty = cs->hw.ser->tty;
342 bcs->hw.ser = NULL;
372 if (!cs->hw.ser)
374 dev_set_drvdata(&cs->hw.ser->dev.dev, NULL);
375 platform_device_unregister(&cs->hw.ser->dev);
376 kfree(cs->hw.ser);
377 cs->hw.ser = NULL;
403 cs->hw.ser = scs;
405 cs->hw.ser
[all...]
H A DMakefile6 ser_gigaset-y := ser-gigaset.o
/drivers/usb/serial/
H A Df81232.c294 struct serial_struct ser; local
300 memset(&ser, 0, sizeof ser);
301 ser.type = PORT_16654;
302 ser.line = port->serial->minor;
303 ser.port = port->number;
304 ser.baud_base = 460800;
306 if (copy_to_user((void __user *)arg, &ser, sizeof ser))
H A Dpl2303.c626 struct serial_struct ser; local
632 memset(&ser, 0, sizeof ser);
633 ser.type = PORT_16654;
634 ser.line = port->serial->minor;
635 ser.port = port->number;
636 ser.baud_base = 460800;
638 if (copy_to_user((void __user *)arg, &ser, sizeof ser))
/drivers/tty/serial/
H A Dpnx8xxx_uart.c595 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 D21285.c330 static int serial21285_verify_port(struct uart_port *port, struct serial_struct *ser) argument
333 if (ser->type != PORT_UNKNOWN && ser->type != PORT_21285)
335 if (ser->irq <= 0)
337 if (ser->baud_base != port->uartclk / 16)
H A Dxilinx_uartps.c633 * @ser: Handle to the structure whose members are compared
638 struct serial_struct *ser)
640 if (ser->type != PORT_UNKNOWN && ser->type != PORT_XUARTPS)
642 if (port->irq != ser->irq)
644 if (ser->io_type != UPIO_MEM)
646 if (port->iobase != ser->port)
648 if (ser->hub6 != 0)
637 xuartps_verify_port(struct uart_port *port, struct serial_struct *ser) argument
H A Dapbuart.c320 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 Dar933x_uart.c402 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 Dlantiq.c546 struct serial_struct *ser)
549 if (ser->type != PORT_UNKNOWN && ser->type != PORT_LTQ_ASC)
551 if (ser->irq < 0 || ser->irq >= NR_IRQS)
553 if (ser->baud_base < 9600)
545 lqasc_verify_port(struct uart_port *port, struct serial_struct *ser) argument
H A Dsa1100.c557 sa1100_verify_port(struct uart_port *port, struct serial_struct *ser) argument
562 if (ser->type != PORT_UNKNOWN && ser->type != PORT_SA1100)
564 if (sport->port.irq != ser->irq)
566 if (ser->io_type != SERIAL_IO_MEM)
568 if (sport->port.uartclk / 16 != ser->baud_base)
570 if ((void *)sport->port.mapbase != ser->iomem_base)
572 if (sport->port.iobase != ser->port)
574 if (ser->hub6 != 0)
H A Dserial_ks8695.c517 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)

Completed in 251 milliseconds

123