Home
last modified time | relevance | path

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

/linux-4.4.14/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 = in debugfs_init()
99 if (!IS_ERR(ser->debugfs_tty_dir)) { in debugfs_init()
101 ser->debugfs_tty_dir, in debugfs_init()
[all …]
/linux-4.4.14/drivers/staging/speakup/
Dserialio.c31 const struct old_serial_port *ser; in spk_serial_init() local
38 ser = rs_table + index; in spk_serial_init()
41 quot = ser->baud_base / baud; in spk_serial_init()
52 if (synth_request_region(ser->port, 8)) { in spk_serial_init()
55 __release_region(&ioport_resource, ser->port, 8); in spk_serial_init()
56 err = synth_request_region(ser->port, 8); in spk_serial_init()
59 ser->port, err); in spk_serial_init()
67 outb(cval | UART_LCR_DLAB, ser->port + UART_LCR); /* set DLAB */ in spk_serial_init()
68 outb(quot & 0xff, ser->port + UART_DLL); /* LS of divisor */ in spk_serial_init()
69 outb(quot >> 8, ser->port + UART_DLM); /* MS of divisor */ in spk_serial_init()
[all …]
Dsynth.c49 const struct old_serial_port *ser; in spk_serial_synth_probe() local
52 if ((synth->ser >= SPK_LO_TTY) && (synth->ser <= SPK_HI_TTY)) { in spk_serial_synth_probe()
53 ser = spk_serial_init(synth->ser); in spk_serial_synth_probe()
54 if (ser == NULL) { in spk_serial_synth_probe()
57 outb_p(0, ser->port); in spk_serial_synth_probe()
59 outb_p('\r', ser->port); in spk_serial_synth_probe()
63 pr_warn("ttyS%i is an invalid port\n", synth->ser); in spk_serial_synth_probe()
70 synth->long_name, synth->ser, synth->version); in spk_serial_synth_probe()
Dspeakup_bns.c124 module_param_named(ser, synth_bns.ser, int, S_IRUGO);
127 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspeakup_dummy.c126 module_param_named(ser, synth_dummy.ser, int, S_IRUGO);
129 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspeakup_txprt.c124 module_param_named(ser, synth_txprt.ser, int, S_IRUGO);
127 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspeakup_spkout.c143 module_param_named(ser, synth_spkout.ser, int, S_IRUGO);
146 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspeakup_acntsa.c140 module_param_named(ser, synth_acntsa.ser, int, S_IRUGO);
143 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspeakup_ltlk.c172 module_param_named(ser, synth_ltlk.ser, int, S_IRUGO);
175 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspeakup_audptr.c174 module_param_named(ser, synth_audptr.ser, int, S_IRUGO);
177 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspeakup_apollo.c204 module_param_named(ser, synth_apollo.ser, int, S_IRUGO);
207 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspeakup_decext.c233 module_param_named(ser, synth_decext.ser, int, S_IRUGO);
236 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspeakup_dectlk.c302 module_param_named(ser, synth_dectlk.ser, int, S_IRUGO);
305 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
Dspk_types.h162 int ser; member
/linux-4.4.14/drivers/tty/serial/
Detraxfs-uart.c20 if (REG_RD_INT(ser, instance, reg) != \
22 REG_WR(ser, instance, reg, var); \
62 tr_dma_en = old = REG_RD(ser, up->regi_ser, rw_tr_dma_en); in cris_console_write()
65 REG_WR(ser, up->regi_ser, rw_tr_dma_en, tr_dma_en); in cris_console_write()
73 stat = REG_RD(ser, up->regi_ser, r_stat_din); in cris_console_write()
75 REG_WR_INT(ser, up->regi_ser, rw_dout, '\r'); in cris_console_write()
79 stat = REG_RD(ser, up->regi_ser, r_stat_din); in cris_console_write()
81 REG_WR_INT(ser, up->regi_ser, rw_dout, s[i]); in cris_console_write()
86 REG_WR(ser, up->regi_ser, rw_tr_dma_en, old); in cris_console_write()
144 reg_ser_r_stat_din rstat = REG_RD(ser, regi_ser, r_stat_din); in crisv32_serial_get_rts()
[all …]
Dpnx8xxx_uart.c611 pnx8xxx_verify_port(struct uart_port *port, struct serial_struct *ser) in pnx8xxx_verify_port() argument
617 if (ser->type != PORT_UNKNOWN && ser->type != PORT_PNX8XXX) in pnx8xxx_verify_port()
619 if (sport->port.irq != ser->irq) in pnx8xxx_verify_port()
621 if (ser->io_type != SERIAL_IO_MEM) in pnx8xxx_verify_port()
623 if (sport->port.uartclk / 16 != ser->baud_base) in pnx8xxx_verify_port()
625 if ((void *)sport->port.mapbase != ser->iomem_base) in pnx8xxx_verify_port()
627 if (sport->port.iobase != ser->port) in pnx8xxx_verify_port()
629 if (ser->hub6 != 0) in pnx8xxx_verify_port()
D21285.c325 static int serial21285_verify_port(struct uart_port *port, struct serial_struct *ser) in serial21285_verify_port() argument
328 if (ser->type != PORT_UNKNOWN && ser->type != PORT_21285) in serial21285_verify_port()
330 if (ser->irq <= 0) in serial21285_verify_port()
332 if (ser->baud_base != port->uartclk / 16) in serial21285_verify_port()
Dapbuart.c316 struct serial_struct *ser) in apbuart_verify_port() argument
319 if (ser->type != PORT_UNKNOWN && ser->type != PORT_APBUART) in apbuart_verify_port()
321 if (ser->irq < 0 || ser->irq >= NR_IRQS) in apbuart_verify_port()
323 if (ser->baud_base < 9600) in apbuart_verify_port()
Dar933x_uart.c477 struct serial_struct *ser) in ar933x_uart_verify_port() argument
482 if (ser->type != PORT_UNKNOWN && in ar933x_uart_verify_port()
483 ser->type != PORT_AR933X) in ar933x_uart_verify_port()
486 if (ser->irq < 0 || ser->irq >= NR_IRQS) in ar933x_uart_verify_port()
489 if (ser->baud_base < up->min_baud || in ar933x_uart_verify_port()
490 ser->baud_base > up->max_baud) in ar933x_uart_verify_port()
Dsa1100.c572 sa1100_verify_port(struct uart_port *port, struct serial_struct *ser) in sa1100_verify_port() argument
578 if (ser->type != PORT_UNKNOWN && ser->type != PORT_SA1100) in sa1100_verify_port()
580 if (sport->port.irq != ser->irq) in sa1100_verify_port()
582 if (ser->io_type != SERIAL_IO_MEM) in sa1100_verify_port()
584 if (sport->port.uartclk / 16 != ser->baud_base) in sa1100_verify_port()
586 if ((void *)sport->port.mapbase != ser->iomem_base) in sa1100_verify_port()
588 if (sport->port.iobase != ser->port) in sa1100_verify_port()
590 if (ser->hub6 != 0) in sa1100_verify_port()
Dlantiq.c548 struct serial_struct *ser) in lqasc_verify_port() argument
551 if (ser->type != PORT_UNKNOWN && ser->type != PORT_LTQ_ASC) in lqasc_verify_port()
553 if (ser->irq < 0 || ser->irq >= NR_IRQS) in lqasc_verify_port()
555 if (ser->baud_base < 9600) in lqasc_verify_port()
Dserial_ks8695.c516 static int ks8695uart_verify_port(struct uart_port *port, struct serial_struct *ser) in ks8695uart_verify_port() argument
520 if (ser->type != PORT_UNKNOWN && ser->type != PORT_KS8695) in ks8695uart_verify_port()
522 if (ser->irq != port->irq) in ks8695uart_verify_port()
524 if (ser->baud_base < 9600) in ks8695uart_verify_port()
Damba-pl010.c545 static int pl010_verify_port(struct uart_port *port, struct serial_struct *ser) in pl010_verify_port() argument
548 if (ser->type != PORT_UNKNOWN && ser->type != PORT_AMBA) in pl010_verify_port()
550 if (ser->irq < 0 || ser->irq >= nr_irqs) in pl010_verify_port()
552 if (ser->baud_base < 9600) in pl010_verify_port()
Daltera_jtaguart.c273 struct serial_struct *ser) in altera_jtaguart_verify_port() argument
275 if (ser->type != PORT_UNKNOWN && ser->type != PORT_ALTERA_JTAGUART) in altera_jtaguart_verify_port()
Dxilinx_uartps.c852 struct serial_struct *ser) in cdns_uart_verify_port() argument
854 if (ser->type != PORT_UNKNOWN && ser->type != PORT_XUARTPS) in cdns_uart_verify_port()
856 if (port->irq != ser->irq) in cdns_uart_verify_port()
858 if (ser->io_type != UPIO_MEM) in cdns_uart_verify_port()
860 if (port->iobase != ser->port) in cdns_uart_verify_port()
862 if (ser->hub6 != 0) in cdns_uart_verify_port()
Dsprd_serial.c490 struct serial_struct *ser) in sprd_verify_port() argument
492 if (ser->type != PORT_SPRD) in sprd_verify_port()
494 if (port->irq != ser->irq) in sprd_verify_port()
496 if (port->iotype != ser->io_type) in sprd_verify_port()
Dvt8500_serial.c474 struct serial_struct *ser) in vt8500_verify_port() argument
476 if (unlikely(ser->type != PORT_UNKNOWN && ser->type != PORT_VT8500)) in vt8500_verify_port()
478 if (unlikely(port->irq != ser->irq)) in vt8500_verify_port()
Dsb1250-duart.c748 static int sbd_verify_port(struct uart_port *uport, struct serial_struct *ser) in sbd_verify_port() argument
752 if (ser->type != PORT_UNKNOWN && ser->type != PORT_SB1250_DUART) in sbd_verify_port()
754 if (ser->irq != uport->irq) in sbd_verify_port()
756 if (ser->baud_base != uport->uartclk / 16) in sbd_verify_port()
Ddz.c731 static int dz_verify_port(struct uart_port *uport, struct serial_struct *ser) in dz_verify_port() argument
735 if (ser->type != PORT_UNKNOWN && ser->type != PORT_DZ) in dz_verify_port()
737 if (ser->irq != uport->irq) in dz_verify_port()
Ducc_uart.c1071 struct serial_struct *ser) in qe_uart_verify_port() argument
1073 if (ser->type != PORT_UNKNOWN && ser->type != PORT_CPM) in qe_uart_verify_port()
1076 if (ser->irq < 0 || ser->irq >= nr_irqs) in qe_uart_verify_port()
1079 if (ser->baud_base < 9600) in qe_uart_verify_port()
Dtilegx.c559 struct serial_struct *ser) in tilegx_verify_port() argument
561 if ((ser->type != PORT_UNKNOWN) && (ser->type != PORT_TILEGX)) in tilegx_verify_port()
Daltera_uart.c377 struct serial_struct *ser) in altera_uart_verify_port() argument
379 if ((ser->type != PORT_UNKNOWN) && (ser->type != PORT_ALTERA_UART)) in altera_uart_verify_port()
Dmpc52xx_uart.c1334 mpc52xx_uart_verify_port(struct uart_port *port, struct serial_struct *ser) in mpc52xx_uart_verify_port() argument
1336 if (ser->type != PORT_UNKNOWN && ser->type != PORT_MPC52xx) in mpc52xx_uart_verify_port()
1339 if ((ser->irq != port->irq) || in mpc52xx_uart_verify_port()
1340 (ser->io_type != UPIO_MEM) || in mpc52xx_uart_verify_port()
1341 (ser->baud_base != port->uartclk) || in mpc52xx_uart_verify_port()
1342 (ser->iomem_base != (void *)port->mapbase) || in mpc52xx_uart_verify_port()
1343 (ser->hub6 != 0)) in mpc52xx_uart_verify_port()
Dmeson_uart.c357 struct serial_struct *ser) in meson_uart_verify_port() argument
363 if (port->irq != ser->irq) in meson_uart_verify_port()
365 if (ser->baud_base < 9600) in meson_uart_verify_port()
Dmpsc.c1523 static int mpsc_verify_port(struct uart_port *port, struct serial_struct *ser) in mpsc_verify_port() argument
1531 if (ser->type != PORT_UNKNOWN && ser->type != PORT_MPSC) in mpsc_verify_port()
1533 else if (pi->port.irq != ser->irq) in mpsc_verify_port()
1535 else if (ser->io_type != SERIAL_IO_MEM) in mpsc_verify_port()
1537 else if (pi->port.uartclk / 16 != ser->baud_base) /* Not sure */ in mpsc_verify_port()
1539 else if ((void *)pi->port.mapbase != ser->iomem_base) in mpsc_verify_port()
1541 else if (pi->port.iobase != ser->port) in mpsc_verify_port()
1543 else if (ser->hub6 != 0) in mpsc_verify_port()
Dmcf.c431 static int mcf_verify_port(struct uart_port *port, struct serial_struct *ser) in mcf_verify_port() argument
433 if ((ser->type != PORT_UNKNOWN) && (ser->type != PORT_MCF)) in mcf_verify_port()
Dnetx-serial.c455 netx_verify_port(struct uart_port *port, struct serial_struct *ser) in netx_verify_port() argument
459 if (ser->type != PORT_UNKNOWN && ser->type != PORT_NETX) in netx_verify_port()
Dm32r_sio.c916 m32r_sio_verify_port(struct uart_port *port, struct serial_struct *ser) in m32r_sio_verify_port() argument
918 if (ser->irq >= nr_irqs || ser->irq < 0 || ser->baud_base < 9600) in m32r_sio_verify_port()
Dfsl_lpuart.c1478 static int lpuart_verify_port(struct uart_port *port, struct serial_struct *ser) in lpuart_verify_port() argument
1482 if (ser->type != PORT_UNKNOWN && ser->type != PORT_LPUART) in lpuart_verify_port()
1484 if (port->irq != ser->irq) in lpuart_verify_port()
1486 if (ser->io_type != UPIO_MEM) in lpuart_verify_port()
1488 if (port->uartclk / 16 != ser->baud_base) in lpuart_verify_port()
1490 if (port->iobase != ser->port) in lpuart_verify_port()
1492 if (ser->hub6 != 0) in lpuart_verify_port()
Dimx.c1467 imx_verify_port(struct uart_port *port, struct serial_struct *ser) in imx_verify_port() argument
1472 if (ser->type != PORT_UNKNOWN && ser->type != PORT_IMX) in imx_verify_port()
1474 if (sport->port.irq != ser->irq) in imx_verify_port()
1476 if (ser->io_type != UPIO_MEM) in imx_verify_port()
1478 if (sport->port.uartclk / 16 != ser->baud_base) in imx_verify_port()
1480 if (sport->port.mapbase != (unsigned long)ser->iomem_base) in imx_verify_port()
1482 if (sport->port.iobase != ser->port) in imx_verify_port()
1484 if (ser->hub6 != 0) in imx_verify_port()
Dzs.c1033 static int zs_verify_port(struct uart_port *uport, struct serial_struct *ser) in zs_verify_port() argument
1038 if (ser->type != PORT_UNKNOWN && ser->type != PORT_ZS) in zs_verify_port()
1040 if (ser->irq != uport->irq) in zs_verify_port()
1042 if (ser->baud_base != uport->uartclk / zport->clk_mode / 4) in zs_verify_port()
Datmel_serial.c2305 static int atmel_verify_port(struct uart_port *port, struct serial_struct *ser) in atmel_verify_port() argument
2308 if (ser->type != PORT_UNKNOWN && ser->type != PORT_ATMEL) in atmel_verify_port()
2310 if (port->irq != ser->irq) in atmel_verify_port()
2312 if (ser->io_type != SERIAL_IO_MEM) in atmel_verify_port()
2314 if (port->uartclk / 16 != ser->baud_base) in atmel_verify_port()
2316 if (port->mapbase != (unsigned long)ser->iomem_base) in atmel_verify_port()
2318 if (port->iobase != ser->port) in atmel_verify_port()
2320 if (ser->hub6 != 0) in atmel_verify_port()
Darc_uart.c428 arc_serial_verify_port(struct uart_port *port, struct serial_struct *ser) in arc_serial_verify_port() argument
430 if (port->type != PORT_UNKNOWN && ser->type != PORT_ARC) in arc_serial_verify_port()
Dmax3100.c673 struct serial_struct *ser) in max3100_verify_port() argument
682 if (ser->type == PORT_UNKNOWN || ser->type == PORT_MAX3100) in max3100_verify_port()
Drp2.c574 struct serial_struct *ser) in rp2_uart_verify_port() argument
576 if (ser->type != PORT_UNKNOWN && ser->type != PORT_RP2) in rp2_uart_verify_port()
Dlpc32xx_hs.c638 struct serial_struct *ser) in serial_lpc32xx_verify_port() argument
642 if (ser->type != PORT_UART00) in serial_lpc32xx_verify_port()
Damba-pl011.c1978 static int pl011_verify_port(struct uart_port *port, struct serial_struct *ser) in pl011_verify_port() argument
1981 if (ser->type != PORT_UNKNOWN && ser->type != PORT_AMBA) in pl011_verify_port()
1983 if (ser->irq < 0 || ser->irq >= nr_irqs) in pl011_verify_port()
1985 if (ser->baud_base < 9600) in pl011_verify_port()
Dmsm_serial.c1174 static int msm_verify_port(struct uart_port *port, struct serial_struct *ser) in msm_verify_port() argument
1176 if (unlikely(ser->type != PORT_UNKNOWN && ser->type != PORT_MSM)) in msm_verify_port()
1178 if (unlikely(port->irq != ser->irq)) in msm_verify_port()
Dmux.c364 static int mux_verify_port(struct uart_port *port, struct serial_struct *ser) in mux_verify_port() argument
Dsunhv.c368 static int sunhv_verify_port(struct uart_port *port, struct serial_struct *ser) in sunhv_verify_port() argument
Dnwpserial.c210 struct serial_struct *ser) in nwpserial_verify_port() argument
Dtimbuart.c391 struct serial_struct *ser) in timbuart_verify_port() argument
Duartlite.c361 static int ulite_verify_port(struct uart_port *port, struct serial_struct *ser) in ulite_verify_port() argument
Dstm32-usart.c461 stm32_verify_port(struct uart_port *port, struct serial_struct *ser) in stm32_verify_port() argument
Dsamsung.c1424 s3c24xx_serial_verify_port(struct uart_port *port, struct serial_struct *ser) in s3c24xx_serial_verify_port() argument
1428 if (ser->type != PORT_UNKNOWN && ser->type != info->type) in s3c24xx_serial_verify_port()
Dst-asc.c611 asc_verify_port(struct uart_port *port, struct serial_struct *ser) in asc_verify_port() argument
Dbfin_sport_uart.c484 static int sport_verify_port(struct uart_port *port, struct serial_struct *ser) in sport_verify_port() argument
Dpxa.c583 serial_pxa_verify_port(struct uart_port *port, struct serial_struct *ser) in serial_pxa_verify_port() argument
Dip22zilog.c928 static int ip22zilog_verify_port(struct uart_port *port, struct serial_struct *ser) in ip22zilog_verify_port() argument
Dsh-sci.c2186 static int sci_verify_port(struct uart_port *port, struct serial_struct *ser) in sci_verify_port() argument
2188 if (ser->baud_base < 2400) in sci_verify_port()
Dsunsab.c817 static int sunsab_verify_port(struct uart_port *port, struct serial_struct *ser) in sunsab_verify_port() argument
Dmxs-auart.c395 struct serial_struct *ser) in mxs_auart_verify_port() argument
Dsunsu.c946 sunsu_verify_port(struct uart_port *port, struct serial_struct *ser) in sunsu_verify_port() argument
Dbfin_uart.c940 bfin_serial_verify_port(struct uart_port *port, struct serial_struct *ser) in bfin_serial_verify_port() argument
Dsunzilog.c998 static int sunzilog_verify_port(struct uart_port *port, struct serial_struct *ser) in sunzilog_verify_port() argument
Dpmac_zilog.c1346 static int pmz_verify_port(struct uart_port *port, struct serial_struct *ser) in pmz_verify_port() argument
Domap-serial.c1150 serial_omap_verify_port(struct uart_port *port, struct serial_struct *ser) in serial_omap_verify_port() argument
/linux-4.4.14/arch/cris/arch-v32/kernel/
Ddebugport.c149 REG_WR (ser, p->instance, rw_tr_baud_div, tr_baud_div); in start_port()
150 REG_WR (ser, p->instance, rw_rec_baud_div, rec_baud_div); in start_port()
151 REG_WR (ser, p->instance, rw_tr_dma_en, tr_dma_en); in start_port()
152 REG_WR (ser, p->instance, rw_tr_ctrl, tr_ctrl); in start_port()
153 REG_WR (ser, p->instance, rw_rec_ctrl, rec_ctrl); in start_port()
164 stat = REG_RD(ser, kgdb_port->instance, rs_stat_din); in getDebugChar()
169 REG_WR(ser, kgdb_port->instance, rw_ack_intr, ack_intr); in getDebugChar()
179 stat = REG_RD(ser, kgdb_port->instance, r_stat_din); in putDebugChar()
181 REG_WR_INT(ser, kgdb_port->instance, rw_dout, val); in putDebugChar()
190 stat = REG_RD(ser, port->instance, r_stat_din); in early_putch()
[all …]
Dkgdb.c1533 ser_intr_mask = REG_RD(ser, regi_ser0, rw_intr_mask); in kgdb_init()
1535 REG_WR(ser, regi_ser0, rw_intr_mask, ser_intr_mask); in kgdb_init()
1545 ser_intr_mask = REG_RD(ser, regi_ser1, rw_intr_mask); in kgdb_init()
1547 REG_WR(ser, regi_ser1, rw_intr_mask, ser_intr_mask); in kgdb_init()
1557 ser_intr_mask = REG_RD(ser, regi_ser2, rw_intr_mask); in kgdb_init()
1559 REG_WR(ser, regi_ser2, rw_intr_mask, ser_intr_mask); in kgdb_init()
1569 ser_intr_mask = REG_RD(ser, regi_ser3, rw_intr_mask); in kgdb_init()
1571 REG_WR(ser, regi_ser3, rw_intr_mask, ser_intr_mask); in kgdb_init()
/linux-4.4.14/drivers/isdn/gigaset/
Dser-gigaset.c65 struct tty_struct *tty = cs->hw.ser->tty; in write_modem()
106 struct tty_struct *tty = cs->hw.ser->tty; in send_cb()
340 bcs->hw.ser = NULL; in gigaset_initbcshw()
369 if (!cs->hw.ser) in gigaset_freecshw()
371 platform_device_unregister(&cs->hw.ser->dev); in gigaset_freecshw()
381 kfree(cs->hw.ser); in gigaset_device_release()
382 cs->hw.ser = NULL; in gigaset_device_release()
399 cs->hw.ser = scs; in gigaset_initcshw()
401 cs->hw.ser->dev.name = GIGASET_MODULENAME; in gigaset_initcshw()
402 cs->hw.ser->dev.id = cs->minor_index; in gigaset_initcshw()
[all …]
DMakefile6 ser_gigaset-y := ser-gigaset.o
Dgigaset.h395 struct ser_bc_state *ser; /* serial hardware driver */ member
502 struct ser_cardstate *ser; /* serial hardware driver */ member
/linux-4.4.14/arch/cris/boot/compressed/
Dmisc.c134 rs = REG_RD(ser, regi_ser, rs_stat_din); in serout()
138 REG_WR(ser, regi_ser, rw_dout, dout); in serout()
243 xoff = REG_RD(ser, regi_ser, rw_xoff); in serial_setup()
248 REG_WR(ser, regi_ser, rw_xoff, xoff); in serial_setup()
251 tr_ctrl = REG_RD(ser, regi_ser, rw_tr_ctrl); in serial_setup()
252 rec_ctrl = REG_RD(ser, regi_ser, rw_rec_ctrl); in serial_setup()
253 tr_baud = REG_RD(ser, regi_ser, rw_tr_baud_div); in serial_setup()
254 rec_baud = REG_RD(ser, regi_ser, rw_rec_baud_div); in serial_setup()
270 REG_WR(ser, regi_ser, rw_tr_ctrl, tr_ctrl); in serial_setup()
271 REG_WR(ser, regi_ser, rw_tr_baud_div, tr_baud); in serial_setup()
[all …]
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/
Dmce-severity.c33 enum ser { SER_REQUIRED = 1, NO_SER = 2 }; enum
42 unsigned char ser; member
51 #define SER .ser = SER_REQUIRED
52 #define NOSER .ser = NO_SER
254 if (s->ser == SER_REQUIRED && !mca_cfg.ser) in mce_severity_intel()
256 if (s->ser == NO_SER && mca_cfg.ser) in mce_severity_intel()
304 struct severity *ser = data; in s_show() local
305 seq_printf(f, "%d\t%s\n", ser->covered, ser->msg); in s_show()
Dmce.c512 if (mca_cfg.ser && (m->status & MCI_STATUS_MISCV)) { in mce_read_aux()
601 (m.status & (mca_cfg.ser ? MCI_STATUS_S : MCI_STATUS_UC))) in machine_check_poll()
1072 if (!(m.status & (cfg->ser ? MCI_STATUS_S : MCI_STATUS_UC)) && in do_machine_check()
1409 mca_cfg.ser = true; in __mcheck_cpu_cap_init()
/linux-4.4.14/drivers/usb/serial/
Df81232.c593 struct serial_struct ser; in f81232_get_serial_info() local
595 memset(&ser, 0, sizeof(ser)); in f81232_get_serial_info()
597 ser.type = PORT_16550A; in f81232_get_serial_info()
598 ser.line = port->minor; in f81232_get_serial_info()
599 ser.port = port->port_number; in f81232_get_serial_info()
600 ser.baud_base = F81232_MAX_BAUDRATE; in f81232_get_serial_info()
602 if (copy_to_user((void __user *)arg, &ser, sizeof(ser))) in f81232_get_serial_info()
Dpl2303.c740 struct serial_struct ser; in pl2303_ioctl() local
745 memset(&ser, 0, sizeof ser); in pl2303_ioctl()
746 ser.type = PORT_16654; in pl2303_ioctl()
747 ser.line = port->minor; in pl2303_ioctl()
748 ser.port = port->port_number; in pl2303_ioctl()
749 ser.baud_base = 460800; in pl2303_ioctl()
751 if (copy_to_user((void __user *)arg, &ser, sizeof ser)) in pl2303_ioctl()
/linux-4.4.14/drivers/spi/
Dspi-rockchip.c267 u32 ser; in rockchip_spi_set_cs() local
273 ser = readl_relaxed(rs->regs + ROCKCHIP_SPI_SER) & SER_MASK; in rockchip_spi_set_cs()
291 ser |= 1 << spi->chip_select; in rockchip_spi_set_cs()
293 ser &= ~(1 << spi->chip_select); in rockchip_spi_set_cs()
295 writel_relaxed(ser, rs->regs + ROCKCHIP_SPI_SER); in rockchip_spi_set_cs()
/linux-4.4.14/arch/cris/include/arch-v32/arch/hwregs/
DMakefile61 REGDESC += $(BASEDIR)/io/ser/rtl/ser_regs.r
135 ser_defs.h: $(BASEDIR)/io/ser/rtl/ser_regs.r
/linux-4.4.14/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c666 struct serial_struct *ser) in cpm_uart_verify_port() argument
672 if (ser->type != PORT_UNKNOWN && ser->type != PORT_CPM) in cpm_uart_verify_port()
674 if (ser->irq < 0 || ser->irq >= nr_irqs) in cpm_uart_verify_port()
676 if (ser->baud_base < 9600) in cpm_uart_verify_port()
/linux-4.4.14/tools/power/cpupower/po/
Dpt.po516 "O argumento usado pra essa ferramenta não pode ser combinado com um "
579 " -f FREQ, --freq FREQ frequência específica para ser setada. Necessita "
615 "2. O parâmetro -f FREQ, --freq FREQ não pode ser combinado com qualquer "
618 "3. FREQuências podem ser usadas em Hz, kHz (padrão), MHz, GHz, o THz\n"
641 " por exemplo devido ao hardware que não pode ser setado pra uma frequência "
656 "o parâmetro -f/--freq não pode ser combinado com os parâmetros -d/--min, -"
667 "-g/--governor deve ser usado\n"
949 #~ " -c CPU, --cpu CPU número do CPU sobre o qual as inforções devem ser "
957 #~ "vão ser modificadas\n"
/linux-4.4.14/arch/x86/include/asm/
Dmce.h115 bool ser; member
/linux-4.4.14/drivers/tty/serial/8250/
D8250_port.c2712 serial8250_verify_port(struct uart_port *port, struct serial_struct *ser) in serial8250_verify_port() argument
2714 if (ser->irq >= nr_irqs || ser->irq < 0 || in serial8250_verify_port()
2715 ser->baud_base < 9600 || ser->type < PORT_UNKNOWN || in serial8250_verify_port()
2716 ser->type >= ARRAY_SIZE(uart_config) || ser->type == PORT_CIRRUS || in serial8250_verify_port()
2717 ser->type == PORT_STARTECH) in serial8250_verify_port()
/linux-4.4.14/Documentation/m68k/
Dkernel-options.txt188 - "ser": built-in serial port; parameters: 9600bps, 8N1
197 - "ser" : default serial port