Home
last modified time | relevance | path

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

123

/Linux-v5.4/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->stopped << 5 | in update_tty_status()
91 ser->tty->flow_stopped << 3 | in update_tty_status()
92 ser->tty->packet << 2 | in update_tty_status()
93 ser->tty->port->low_latency << 1; in update_tty_status()
95 static inline void debugfs_init(struct ser_device *ser, struct tty_struct *tty) in debugfs_init() argument
97 ser->debugfs_tty_dir = debugfs_create_dir(tty->name, debugfsdir); in debugfs_init()
99 debugfs_create_blob("last_tx_msg", 0400, ser->debugfs_tty_dir, in debugfs_init()
100 &ser->tx_blob); in debugfs_init()
[all …]
/Linux-v5.4/drivers/staging/speakup/
Dserialio.c51 const struct old_serial_port *ser; in spk_serial_init() local
58 ser = rs_table + index; in spk_serial_init()
61 quot = ser->baud_base / baud; in spk_serial_init()
72 if (synth_request_region(ser->port, 8)) { in spk_serial_init()
75 __release_region(&ioport_resource, ser->port, 8); in spk_serial_init()
76 err = synth_request_region(ser->port, 8); in spk_serial_init()
79 ser->port, err); in spk_serial_init()
87 outb(cval | UART_LCR_DLAB, ser->port + UART_LCR); /* set DLAB */ in spk_serial_init()
88 outb(quot & 0xff, ser->port + UART_DLL); /* LS of divisor */ in spk_serial_init()
89 outb(quot >> 8, ser->port + UART_DLM); /* MS of divisor */ in spk_serial_init()
[all …]
Dspk_ttyio.c25 static int ser_to_dev(int ser, dev_t *dev_no) in ser_to_dev() argument
27 if (ser < 0 || ser > (255 - 64)) { in ser_to_dev()
32 *dev_no = MKDEV(4, (64 + ser)); in ser_to_dev()
40 synth->ser == SYNTH_DEFAULT_SER) in get_dev_to_use()
43 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_dummy.c116 module_param_named(ser, synth_dummy.ser, int, 0444);
120 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_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_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_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_decext.c221 module_param_named(ser, synth_decext.ser, int, 0444);
225 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_dectlk.c293 module_param_named(ser, synth_dectlk.ser, int, 0444);
297 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
/Linux-v5.4/drivers/staging/isdn/gigaset/
Dser-gigaset.c62 struct tty_struct *tty = cs->hw.ser->tty; in write_modem()
103 struct tty_struct *tty = cs->hw.ser->tty; in send_cb()
337 bcs->hw.ser = NULL; in gigaset_initbcshw()
366 if (!cs->hw.ser) in gigaset_freecshw()
368 platform_device_unregister(&cs->hw.ser->dev); in gigaset_freecshw()
390 cs->hw.ser = scs; in gigaset_initcshw()
392 cs->hw.ser->dev.name = GIGASET_MODULENAME; in gigaset_initcshw()
393 cs->hw.ser->dev.id = cs->minor_index; in gigaset_initcshw()
394 cs->hw.ser->dev.dev.release = gigaset_device_release; in gigaset_initcshw()
395 rc = platform_device_register(&cs->hw.ser->dev); in gigaset_initcshw()
[all …]
DMakefile11 ser_gigaset-y := ser-gigaset.o
/Linux-v5.4/arch/mips/boot/dts/brcm/
Dbcm6358-neufbox4-sercomm.dts7 compatible = "sfr,nb4-ser", "brcm,bcm6358";
27 label = "nb4-ser:white:alarm";
32 label = "nb4-ser:white:tv";
37 label = "nb4-ser:white:tel";
42 label = "nb4-ser:white:adsl";
Dbcm6362-neufbox6-sercomm.dts7 compatible = "sfr,nb6-ser", "brcm,bcm6362";
/Linux-v5.4/arch/x86/kernel/cpu/mce/
Dseverity.c30 enum ser { SER_REQUIRED = 1, NO_SER = 2 }; enum
39 unsigned char ser; member
49 #define SER .ser = SER_REQUIRED
50 #define NOSER .ser = NO_SER
315 if (s->ser == SER_REQUIRED && !mca_cfg.ser) in mce_severity_intel()
317 if (s->ser == NO_SER && mca_cfg.ser) in mce_severity_intel()
366 struct severity *ser = data; in s_show() local
367 seq_printf(f, "%d\t%s\n", ser->covered, ser->msg); in s_show()
/Linux-v5.4/drivers/tty/serial/
Dpnx8xxx_uart.c607 pnx8xxx_verify_port(struct uart_port *port, struct serial_struct *ser) in pnx8xxx_verify_port() argument
613 if (ser->type != PORT_UNKNOWN && ser->type != PORT_PNX8XXX) in pnx8xxx_verify_port()
615 if (sport->port.irq != ser->irq) in pnx8xxx_verify_port()
617 if (ser->io_type != SERIAL_IO_MEM) in pnx8xxx_verify_port()
619 if (sport->port.uartclk / 16 != ser->baud_base) in pnx8xxx_verify_port()
621 if ((void *)sport->port.mapbase != ser->iomem_base) in pnx8xxx_verify_port()
623 if (sport->port.iobase != ser->port) in pnx8xxx_verify_port()
625 if (ser->hub6 != 0) in pnx8xxx_verify_port()
D21285.c326 static int serial21285_verify_port(struct uart_port *port, struct serial_struct *ser) in serial21285_verify_port() argument
329 if (ser->type != PORT_UNKNOWN && ser->type != PORT_21285) in serial21285_verify_port()
331 if (ser->irq <= 0) in serial21285_verify_port()
333 if (ser->baud_base != port->uartclk / 16) in serial21285_verify_port()
Dapbuart.c317 struct serial_struct *ser) in apbuart_verify_port() argument
320 if (ser->type != PORT_UNKNOWN && ser->type != PORT_APBUART) in apbuart_verify_port()
322 if (ser->irq < 0 || ser->irq >= NR_IRQS) in apbuart_verify_port()
324 if (ser->baud_base < 9600) in apbuart_verify_port()
Dar933x_uart.c469 struct serial_struct *ser) in ar933x_uart_verify_port() argument
474 if (ser->type != PORT_UNKNOWN && in ar933x_uart_verify_port()
475 ser->type != PORT_AR933X) in ar933x_uart_verify_port()
478 if (ser->irq < 0 || ser->irq >= NR_IRQS) in ar933x_uart_verify_port()
481 if (ser->baud_base < up->min_baud || in ar933x_uart_verify_port()
482 ser->baud_base > up->max_baud) in ar933x_uart_verify_port()
Dsa1100.c574 sa1100_verify_port(struct uart_port *port, struct serial_struct *ser) in sa1100_verify_port() argument
580 if (ser->type != PORT_UNKNOWN && ser->type != PORT_SA1100) in sa1100_verify_port()
582 if (sport->port.irq != ser->irq) in sa1100_verify_port()
584 if (ser->io_type != SERIAL_IO_MEM) in sa1100_verify_port()
586 if (sport->port.uartclk / 16 != ser->baud_base) in sa1100_verify_port()
588 if ((void *)sport->port.mapbase != ser->iomem_base) in sa1100_verify_port()
590 if (sport->port.iobase != ser->port) in sa1100_verify_port()
592 if (ser->hub6 != 0) in sa1100_verify_port()
Damba-pl010.c532 static int pl010_verify_port(struct uart_port *port, struct serial_struct *ser) in pl010_verify_port() argument
535 if (ser->type != PORT_UNKNOWN && ser->type != PORT_AMBA) in pl010_verify_port()
537 if (ser->irq < 0 || ser->irq >= nr_irqs) in pl010_verify_port()
539 if (ser->baud_base < 9600) in pl010_verify_port()
Dlantiq.c571 struct serial_struct *ser) in lqasc_verify_port() argument
574 if (ser->type != PORT_UNKNOWN && ser->type != PORT_LTQ_ASC) in lqasc_verify_port()
576 if (ser->irq < 0 || ser->irq >= NR_IRQS) in lqasc_verify_port()
578 if (ser->baud_base < 9600) in lqasc_verify_port()

123