/drivers/net/caif/ |
D | caif_serial.c | 87 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/ |
D | serialio.c | 53 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 …]
|
D | spk_ttyio.c | 26 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()
|
D | speakup_bns.c | 113 module_param_named(ser, synth_bns.ser, int, 0444); 117 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
D | speakup_txprt.c | 112 module_param_named(ser, synth_txprt.ser, int, 0444); 116 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
D | speakup_dummy.c | 125 module_param_named(ser, synth_dummy.ser, int, 0444); 129 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
D | speakup_spkout.c | 124 module_param_named(ser, synth_spkout.ser, int, 0444); 128 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
D | speakup_acntsa.c | 129 module_param_named(ser, synth_acntsa.ser, int, 0444); 133 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
D | speakup_audptr.c | 156 module_param_named(ser, synth_audptr.ser, int, 0444); 160 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
D | speakup_ltlk.c | 160 module_param_named(ser, synth_ltlk.ser, int, 0444); 164 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
D | speakup_apollo.c | 193 module_param_named(ser, synth_apollo.ser, int, 0444); 197 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
D | speakup_decext.c | 225 module_param_named(ser, synth_decext.ser, int, 0444); 229 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
D | speakup_dectlk.c | 306 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/ |
D | 21285.c | 361 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()
|
D | apbuart.c | 311 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()
|
D | sa1100.c | 566 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()
|
D | ar933x_uart.c | 546 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()
|
D | amba-pl010.c | 523 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()
|
D | lantiq.c | 572 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()
|
D | vt8500_serial.c | 459 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()
|
D | xilinx_uartps.c | 942 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()
|
D | altera_jtaguart.c | 267 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()
|
D | sb1250-duart.c | 735 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()
|
D | dz.c | 728 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()
|
D | ucc_uart.c | 1063 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()
|