Home
last modified time | relevance | path

Searched refs:ser (Results 1 – 25 of 64) sorted by relevance

123

/drivers/net/caif/
Dcaif_serial.c87 static inline void update_tty_status(struct ser_device *ser) in update_tty_status() argument
89 ser->tty_status = in update_tty_status()
90 ser->tty->flow.stopped << 5 | in update_tty_status()
91 ser->tty->flow.tco_stopped << 3 | in update_tty_status()
92 ser->tty->ctrl.packet << 2; in update_tty_status()
94 static inline void debugfs_init(struct ser_device *ser, struct tty_struct *tty) in debugfs_init() argument
96 ser->debugfs_tty_dir = debugfs_create_dir(tty->name, debugfsdir); in debugfs_init()
98 debugfs_create_blob("last_tx_msg", 0400, ser->debugfs_tty_dir, in debugfs_init()
99 &ser->tx_blob); in debugfs_init()
101 debugfs_create_blob("last_rx_msg", 0400, ser->debugfs_tty_dir, in debugfs_init()
[all …]
/drivers/accessibility/speakup/
Dserialio.c53 const struct old_serial_port *ser; in spk_serial_init() local
60 ser = rs_table + index; in spk_serial_init()
63 quot = ser->baud_base / baud; in spk_serial_init()
74 if (synth_request_region(ser->port, 8)) { in spk_serial_init()
77 __release_region(&ioport_resource, ser->port, 8); in spk_serial_init()
78 err = synth_request_region(ser->port, 8); in spk_serial_init()
81 ser->port, err); in spk_serial_init()
89 outb(cval | UART_LCR_DLAB, ser->port + UART_LCR); /* set DLAB */ in spk_serial_init()
90 outb(quot & 0xff, ser->port + UART_DLL); /* LS of divisor */ in spk_serial_init()
91 outb(quot >> 8, ser->port + UART_DLM); /* MS of divisor */ in spk_serial_init()
[all …]
Dspk_ttyio.c26 static int ser_to_dev(int ser, dev_t *dev_no) in ser_to_dev() argument
28 if (ser < 0 || ser > (255 - 64)) { in ser_to_dev()
33 *dev_no = MKDEV(4, (64 + ser)); in ser_to_dev()
41 synth->ser == SYNTH_DEFAULT_SER) in get_dev_to_use()
44 return ser_to_dev(synth->ser, dev_no); in get_dev_to_use()
Dspeakup_bns.c113 module_param_named(ser, synth_bns.ser, int, 0444);
117 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspeakup_txprt.c112 module_param_named(ser, synth_txprt.ser, int, 0444);
116 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspeakup_dummy.c125 module_param_named(ser, synth_dummy.ser, int, 0444);
129 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspeakup_spkout.c124 module_param_named(ser, synth_spkout.ser, int, 0444);
128 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspeakup_acntsa.c129 module_param_named(ser, synth_acntsa.ser, int, 0444);
133 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspeakup_audptr.c156 module_param_named(ser, synth_audptr.ser, int, 0444);
160 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspeakup_ltlk.c160 module_param_named(ser, synth_ltlk.ser, int, 0444);
164 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspeakup_apollo.c193 module_param_named(ser, synth_apollo.ser, int, 0444);
197 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspeakup_decext.c225 module_param_named(ser, synth_decext.ser, int, 0444);
229 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspeakup_dectlk.c306 module_param_named(ser, synth_dectlk.ser, int, 0444);
310 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
/drivers/tty/serial/
D21285.c361 static int serial21285_verify_port(struct uart_port *port, struct serial_struct *ser) in serial21285_verify_port() argument
364 if (ser->type != PORT_UNKNOWN && ser->type != PORT_21285) in serial21285_verify_port()
366 if (ser->irq <= 0) in serial21285_verify_port()
368 if (ser->baud_base != port->uartclk / 16) in serial21285_verify_port()
Dapbuart.c311 struct serial_struct *ser) in apbuart_verify_port() argument
314 if (ser->type != PORT_UNKNOWN && ser->type != PORT_APBUART) in apbuart_verify_port()
316 if (ser->irq < 0 || ser->irq >= NR_IRQS) in apbuart_verify_port()
318 if (ser->baud_base < 9600) in apbuart_verify_port()
Dsa1100.c566 sa1100_verify_port(struct uart_port *port, struct serial_struct *ser) in sa1100_verify_port() argument
572 if (ser->type != PORT_UNKNOWN && ser->type != PORT_SA1100) in sa1100_verify_port()
574 if (sport->port.irq != ser->irq) in sa1100_verify_port()
576 if (ser->io_type != SERIAL_IO_MEM) in sa1100_verify_port()
578 if (sport->port.uartclk / 16 != ser->baud_base) in sa1100_verify_port()
580 if ((void *)sport->port.mapbase != ser->iomem_base) in sa1100_verify_port()
582 if (sport->port.iobase != ser->port) in sa1100_verify_port()
584 if (ser->hub6 != 0) in sa1100_verify_port()
Dar933x_uart.c546 struct serial_struct *ser) in ar933x_uart_verify_port() argument
551 if (ser->type != PORT_UNKNOWN && in ar933x_uart_verify_port()
552 ser->type != PORT_AR933X) in ar933x_uart_verify_port()
555 if (ser->irq < 0 || ser->irq >= NR_IRQS) in ar933x_uart_verify_port()
558 if (ser->baud_base < up->min_baud || in ar933x_uart_verify_port()
559 ser->baud_base > up->max_baud) in ar933x_uart_verify_port()
Damba-pl010.c523 static int pl010_verify_port(struct uart_port *port, struct serial_struct *ser) in pl010_verify_port() argument
526 if (ser->type != PORT_UNKNOWN && ser->type != PORT_AMBA) in pl010_verify_port()
528 if (ser->irq < 0 || ser->irq >= nr_irqs) in pl010_verify_port()
530 if (ser->baud_base < 9600) in pl010_verify_port()
Dlantiq.c572 struct serial_struct *ser) in lqasc_verify_port() argument
575 if (ser->type != PORT_UNKNOWN && ser->type != PORT_LTQ_ASC) in lqasc_verify_port()
577 if (ser->irq < 0 || ser->irq >= NR_IRQS) in lqasc_verify_port()
579 if (ser->baud_base < 9600) in lqasc_verify_port()
Dvt8500_serial.c459 struct serial_struct *ser) in vt8500_verify_port() argument
461 if (unlikely(ser->type != PORT_UNKNOWN && ser->type != PORT_VT8500)) in vt8500_verify_port()
463 if (unlikely(port->irq != ser->irq)) in vt8500_verify_port()
Dxilinx_uartps.c942 struct serial_struct *ser) in cdns_uart_verify_port() argument
944 if (ser->type != PORT_UNKNOWN && ser->type != PORT_XUARTPS) in cdns_uart_verify_port()
946 if (port->irq != ser->irq) in cdns_uart_verify_port()
948 if (ser->io_type != UPIO_MEM) in cdns_uart_verify_port()
950 if (port->iobase != ser->port) in cdns_uart_verify_port()
952 if (ser->hub6 != 0) in cdns_uart_verify_port()
Daltera_jtaguart.c267 struct serial_struct *ser) in altera_jtaguart_verify_port() argument
269 if (ser->type != PORT_UNKNOWN && ser->type != PORT_ALTERA_JTAGUART) in altera_jtaguart_verify_port()
Dsb1250-duart.c735 static int sbd_verify_port(struct uart_port *uport, struct serial_struct *ser) in sbd_verify_port() argument
739 if (ser->type != PORT_UNKNOWN && ser->type != PORT_SB1250_DUART) in sbd_verify_port()
741 if (ser->irq != uport->irq) in sbd_verify_port()
743 if (ser->baud_base != uport->uartclk / 16) in sbd_verify_port()
Ddz.c728 static int dz_verify_port(struct uart_port *uport, struct serial_struct *ser) in dz_verify_port() argument
732 if (ser->type != PORT_UNKNOWN && ser->type != PORT_DZ) in dz_verify_port()
734 if (ser->irq != uport->irq) in dz_verify_port()
Ducc_uart.c1063 struct serial_struct *ser) in qe_uart_verify_port() argument
1065 if (ser->type != PORT_UNKNOWN && ser->type != PORT_CPM) in qe_uart_verify_port()
1068 if (ser->irq < 0 || ser->irq >= nr_irqs) in qe_uart_verify_port()
1071 if (ser->baud_base < 9600) in qe_uart_verify_port()

123