Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.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_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.c120 module_param_named(ser, synth_dummy.ser, int, 0444);
124 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_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.c297 module_param_named(ser, synth_dectlk.ser, int, 0444);
301 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
/kernel/linux/linux-5.10/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";
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/
Dseverity.c35 enum ser { SER_REQUIRED = 1, NO_SER = 2 }; enum
44 unsigned char ser; member
59 #define SER .ser = SER_REQUIRED
60 #define NOSER .ser = NO_SER
389 if (s->ser == SER_REQUIRED && !mca_cfg.ser) in mce_severity_intel()
391 if (s->ser == NO_SER && mca_cfg.ser) in mce_severity_intel()
446 struct severity *ser = data; in s_show() local
447 seq_printf(f, "%d\t%s\n", ser->covered, ser->msg); in s_show()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dpnx8xxx_uart.c601 pnx8xxx_verify_port(struct uart_port *port, struct serial_struct *ser) in pnx8xxx_verify_port() argument
607 if (ser->type != PORT_UNKNOWN && ser->type != PORT_PNX8XXX) in pnx8xxx_verify_port()
609 if (sport->port.irq != ser->irq) in pnx8xxx_verify_port()
611 if (ser->io_type != SERIAL_IO_MEM) in pnx8xxx_verify_port()
613 if (sport->port.uartclk / 16 != ser->baud_base) in pnx8xxx_verify_port()
615 if ((void *)sport->port.mapbase != ser->iomem_base) in pnx8xxx_verify_port()
617 if (sport->port.iobase != ser->port) in pnx8xxx_verify_port()
619 if (ser->hub6 != 0) in pnx8xxx_verify_port()
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.c313 struct serial_struct *ser) in apbuart_verify_port() argument
316 if (ser->type != PORT_UNKNOWN && ser->type != PORT_APBUART) in apbuart_verify_port()
318 if (ser->irq < 0 || ser->irq >= NR_IRQS) in apbuart_verify_port()
320 if (ser->baud_base < 9600) in apbuart_verify_port()
Dsa1100.c568 sa1100_verify_port(struct uart_port *port, struct serial_struct *ser) in sa1100_verify_port() argument
574 if (ser->type != PORT_UNKNOWN && ser->type != PORT_SA1100) in sa1100_verify_port()
576 if (sport->port.irq != ser->irq) in sa1100_verify_port()
578 if (ser->io_type != SERIAL_IO_MEM) in sa1100_verify_port()
580 if (sport->port.uartclk / 16 != ser->baud_base) in sa1100_verify_port()
582 if ((void *)sport->port.mapbase != ser->iomem_base) in sa1100_verify_port()
584 if (sport->port.iobase != ser->port) in sa1100_verify_port()
586 if (ser->hub6 != 0) in sa1100_verify_port()
Dar933x_uart.c548 struct serial_struct *ser) in ar933x_uart_verify_port() argument
553 if (ser->type != PORT_UNKNOWN && in ar933x_uart_verify_port()
554 ser->type != PORT_AR933X) in ar933x_uart_verify_port()
557 if (ser->irq < 0 || ser->irq >= NR_IRQS) in ar933x_uart_verify_port()
560 if (ser->baud_base < up->min_baud || in ar933x_uart_verify_port()
561 ser->baud_base > up->max_baud) in ar933x_uart_verify_port()
Damba-pl010.c525 static int pl010_verify_port(struct uart_port *port, struct serial_struct *ser) in pl010_verify_port() argument
528 if (ser->type != PORT_UNKNOWN && ser->type != PORT_AMBA) in pl010_verify_port()
530 if (ser->irq < 0 || ser->irq >= nr_irqs) in pl010_verify_port()
532 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()
Daltera_jtaguart.c269 struct serial_struct *ser) in altera_jtaguart_verify_port() argument
271 if (ser->type != PORT_UNKNOWN && ser->type != PORT_ALTERA_JTAGUART) in altera_jtaguart_verify_port()
Dvt8500_serial.c461 struct serial_struct *ser) in vt8500_verify_port() argument
463 if (unlikely(ser->type != PORT_UNKNOWN && ser->type != PORT_VT8500)) in vt8500_verify_port()
465 if (unlikely(port->irq != ser->irq)) in vt8500_verify_port()

123