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

123

/drivers/net/caif/
H A Dcaif_serial.c88 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 Dserialio.c26 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 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 Dsynth.c49 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 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.c174 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 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_ltlk.c172 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 Dspeakup_spkout.c143 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 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 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.c231 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 Dspeakup_dectlk.c303 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 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;
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 DMakefile6 ser_gigaset-y := ser-gigaset.o
/drivers/usb/serial/
H A Df81232.c252 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 Dpl2303.c722 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 Dpnx8xxx_uart.c597 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 D21285.c325 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 Dar933x_uart.c469 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 Dapbuart.c316 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 Dlantiq.c547 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 Dsa1100.c559 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 Dserial_ks8695.c516 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 Dxilinx_uartps.c836 * @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

Completed in 265 milliseconds

123