Searched defs:ser (Results 1 - 25 of 56) sorted by relevance

123

/drivers/staging/speakup/
H A Dserialio.c22 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 Dsynth.c37 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 Dtimbuart.c394 struct serial_struct *ser)
393 timbuart_verify_port(struct uart_port *port, struct serial_struct *ser) argument
H A D21285.c329 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 Daltera_jtaguart.c275 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 Dmax3107.c894 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 Dmcf.c412 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 Dmux.c371 * @ser: Ptr to the serial information.
376 static int mux_verify_port(struct uart_port *port, struct serial_struct *ser) argument
H A Dnwpserial.c206 struct serial_struct *ser)
205 nwpserial_verify_port(struct uart_port *port, struct serial_struct *ser) argument
H A Daltera_uart.c373 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 Damba-pl010.c525 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 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 Dbfin_sport_uart.c485 static int sport_verify_port(struct uart_port *port, struct serial_struct *ser) argument
H A Ddz.c739 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 Dmsm_serial.c675 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 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 Dpxa.c603 serial_pxa_verify_port(struct uart_port *port, struct serial_struct *ser) argument
H A Dsa1100.c556 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 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)
H A Dsunhv.c368 static int sunhv_verify_port(struct uart_port *port, struct serial_struct *ser) argument
H A Duartlite.c309 static int ulite_verify_port(struct uart_port *port, struct serial_struct *ser) argument
H A Dvt8500_serial.c425 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 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/tty/serial/cpm_uart/
H A Dcpm_uart_core.c646 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

Completed in 176 milliseconds

123