ser               538 arch/x86/kernel/cpu/mce/core.c 	if (!mca_cfg.ser || !(m->status & MCI_STATUS_MISCV))
ser               657 arch/x86/kernel/cpu/mce/core.c 		if (mca_cfg.ser && (m->status & MCI_STATUS_MISCV)) {
ser               741 arch/x86/kernel/cpu/mce/core.c 		if (!mca_cfg.ser) {
ser              1173 arch/x86/kernel/cpu/mce/core.c 		if (!(m->status & (cfg->ser ? MCI_STATUS_S : MCI_STATUS_UC)) &&
ser              1537 arch/x86/kernel/cpu/mce/core.c 		mca_cfg.ser = 1;
ser               116 arch/x86/kernel/cpu/mce/internal.h 	      ser			: 1,
ser                39 arch/x86/kernel/cpu/mce/severity.c 	unsigned char ser;
ser                49 arch/x86/kernel/cpu/mce/severity.c #define  SER		.ser = SER_REQUIRED
ser                50 arch/x86/kernel/cpu/mce/severity.c #define  NOSER		.ser = NO_SER
ser               315 arch/x86/kernel/cpu/mce/severity.c 		if (s->ser == SER_REQUIRED && !mca_cfg.ser)
ser               317 arch/x86/kernel/cpu/mce/severity.c 		if (s->ser == NO_SER && mca_cfg.ser)
ser               366 arch/x86/kernel/cpu/mce/severity.c 	struct severity *ser = data;
ser               367 arch/x86/kernel/cpu/mce/severity.c 	seq_printf(f, "%d\t%s\n", ser->covered, ser->msg);
ser                87 drivers/net/caif/caif_serial.c static inline void update_tty_status(struct ser_device *ser)
ser                89 drivers/net/caif/caif_serial.c 	ser->tty_status =
ser                90 drivers/net/caif/caif_serial.c 		ser->tty->stopped << 5 |
ser                91 drivers/net/caif/caif_serial.c 		ser->tty->flow_stopped << 3 |
ser                92 drivers/net/caif/caif_serial.c 		ser->tty->packet << 2 |
ser                93 drivers/net/caif/caif_serial.c 		ser->tty->port->low_latency << 1;
ser                95 drivers/net/caif/caif_serial.c static inline void debugfs_init(struct ser_device *ser, struct tty_struct *tty)
ser                97 drivers/net/caif/caif_serial.c 	ser->debugfs_tty_dir = debugfs_create_dir(tty->name, debugfsdir);
ser                99 drivers/net/caif/caif_serial.c 	debugfs_create_blob("last_tx_msg", 0400, ser->debugfs_tty_dir,
ser               100 drivers/net/caif/caif_serial.c 			    &ser->tx_blob);
ser               102 drivers/net/caif/caif_serial.c 	debugfs_create_blob("last_rx_msg", 0400, ser->debugfs_tty_dir,
ser               103 drivers/net/caif/caif_serial.c 			    &ser->rx_blob);
ser               105 drivers/net/caif/caif_serial.c 	debugfs_create_x32("ser_state", 0400, ser->debugfs_tty_dir,
ser               106 drivers/net/caif/caif_serial.c 			   (u32 *)&ser->state);
ser               108 drivers/net/caif/caif_serial.c 	debugfs_create_x8("tty_status", 0400, ser->debugfs_tty_dir,
ser               109 drivers/net/caif/caif_serial.c 			  &ser->tty_status);
ser               111 drivers/net/caif/caif_serial.c 	ser->tx_blob.data = ser->tx_data;
ser               112 drivers/net/caif/caif_serial.c 	ser->tx_blob.size = 0;
ser               113 drivers/net/caif/caif_serial.c 	ser->rx_blob.data = ser->rx_data;
ser               114 drivers/net/caif/caif_serial.c 	ser->rx_blob.size = 0;
ser               117 drivers/net/caif/caif_serial.c static inline void debugfs_deinit(struct ser_device *ser)
ser               119 drivers/net/caif/caif_serial.c 	debugfs_remove_recursive(ser->debugfs_tty_dir);
ser               122 drivers/net/caif/caif_serial.c static inline void debugfs_rx(struct ser_device *ser, const u8 *data, int size)
ser               124 drivers/net/caif/caif_serial.c 	if (size > sizeof(ser->rx_data))
ser               125 drivers/net/caif/caif_serial.c 		size = sizeof(ser->rx_data);
ser               126 drivers/net/caif/caif_serial.c 	memcpy(ser->rx_data, data, size);
ser               127 drivers/net/caif/caif_serial.c 	ser->rx_blob.data = ser->rx_data;
ser               128 drivers/net/caif/caif_serial.c 	ser->rx_blob.size = size;
ser               131 drivers/net/caif/caif_serial.c static inline void debugfs_tx(struct ser_device *ser, const u8 *data, int size)
ser               133 drivers/net/caif/caif_serial.c 	if (size > sizeof(ser->tx_data))
ser               134 drivers/net/caif/caif_serial.c 		size = sizeof(ser->tx_data);
ser               135 drivers/net/caif/caif_serial.c 	memcpy(ser->tx_data, data, size);
ser               136 drivers/net/caif/caif_serial.c 	ser->tx_blob.data = ser->tx_data;
ser               137 drivers/net/caif/caif_serial.c 	ser->tx_blob.size = size;
ser               140 drivers/net/caif/caif_serial.c static inline void debugfs_init(struct ser_device *ser, struct tty_struct *tty)
ser               144 drivers/net/caif/caif_serial.c static inline void debugfs_deinit(struct ser_device *ser)
ser               148 drivers/net/caif/caif_serial.c static inline void update_tty_status(struct ser_device *ser)
ser               152 drivers/net/caif/caif_serial.c static inline void debugfs_rx(struct ser_device *ser, const u8 *data, int size)
ser               156 drivers/net/caif/caif_serial.c static inline void debugfs_tx(struct ser_device *ser, const u8 *data, int size)
ser               166 drivers/net/caif/caif_serial.c 	struct ser_device *ser;
ser               169 drivers/net/caif/caif_serial.c 	ser = tty->disc_data;
ser               181 drivers/net/caif/caif_serial.c 	if (!ser->common.use_stx && !ser->tx_started) {
ser               182 drivers/net/caif/caif_serial.c 		dev_info(&ser->dev->dev,
ser               188 drivers/net/caif/caif_serial.c 	BUG_ON(ser->dev == NULL);
ser               191 drivers/net/caif/caif_serial.c 	skb = netdev_alloc_skb(ser->dev, count+1);
ser               198 drivers/net/caif/caif_serial.c 	debugfs_rx(ser, data, count);
ser               202 drivers/net/caif/caif_serial.c 		ser->dev->stats.rx_packets++;
ser               203 drivers/net/caif/caif_serial.c 		ser->dev->stats.rx_bytes += count;
ser               205 drivers/net/caif/caif_serial.c 		++ser->dev->stats.rx_dropped;
ser               206 drivers/net/caif/caif_serial.c 	update_tty_status(ser);
ser               209 drivers/net/caif/caif_serial.c static int handle_tx(struct ser_device *ser)
ser               215 drivers/net/caif/caif_serial.c 	tty = ser->tty;
ser               216 drivers/net/caif/caif_serial.c 	ser->tx_started = true;
ser               219 drivers/net/caif/caif_serial.c 	if (test_and_set_bit(CAIF_SENDING, &ser->state))
ser               223 drivers/net/caif/caif_serial.c 	while ((skb = skb_peek(&ser->head)) != NULL) {
ser               238 drivers/net/caif/caif_serial.c 			update_tty_status(ser);
ser               243 drivers/net/caif/caif_serial.c 		ser->dev->stats.tx_packets++;
ser               244 drivers/net/caif/caif_serial.c 		ser->dev->stats.tx_bytes += tty_wr;
ser               252 drivers/net/caif/caif_serial.c 			struct sk_buff *tmp = skb_dequeue(&ser->head);
ser               258 drivers/net/caif/caif_serial.c 	if (ser->head.qlen <= SEND_QUEUE_LOW &&
ser               259 drivers/net/caif/caif_serial.c 		test_and_clear_bit(CAIF_FLOW_OFF_SENT, &ser->state) &&
ser               260 drivers/net/caif/caif_serial.c 		ser->common.flowctrl != NULL)
ser               261 drivers/net/caif/caif_serial.c 				ser->common.flowctrl(ser->dev, ON);
ser               262 drivers/net/caif/caif_serial.c 	clear_bit(CAIF_SENDING, &ser->state);
ser               265 drivers/net/caif/caif_serial.c 	clear_bit(CAIF_SENDING, &ser->state);
ser               271 drivers/net/caif/caif_serial.c 	struct ser_device *ser;
ser               274 drivers/net/caif/caif_serial.c 	ser = netdev_priv(dev);
ser               277 drivers/net/caif/caif_serial.c 	if (ser->head.qlen > SEND_QUEUE_HIGH &&
ser               278 drivers/net/caif/caif_serial.c 		!test_and_set_bit(CAIF_FLOW_OFF_SENT, &ser->state) &&
ser               279 drivers/net/caif/caif_serial.c 		ser->common.flowctrl != NULL)
ser               281 drivers/net/caif/caif_serial.c 		ser->common.flowctrl(ser->dev, OFF);
ser               283 drivers/net/caif/caif_serial.c 	skb_queue_tail(&ser->head, skb);
ser               284 drivers/net/caif/caif_serial.c 	return handle_tx(ser);
ser               290 drivers/net/caif/caif_serial.c 	struct ser_device *ser;
ser               292 drivers/net/caif/caif_serial.c 	ser = tty->disc_data;
ser               293 drivers/net/caif/caif_serial.c 	BUG_ON(ser == NULL);
ser               294 drivers/net/caif/caif_serial.c 	WARN_ON(ser->tty != tty);
ser               295 drivers/net/caif/caif_serial.c 	handle_tx(ser);
ser               302 drivers/net/caif/caif_serial.c 	struct ser_device *ser, *tmp;
ser               310 drivers/net/caif/caif_serial.c 		list_for_each_entry_safe(ser, tmp, &list, node) {
ser               311 drivers/net/caif/caif_serial.c 			dev_close(ser->dev);
ser               312 drivers/net/caif/caif_serial.c 			unregister_netdevice(ser->dev);
ser               313 drivers/net/caif/caif_serial.c 			debugfs_deinit(ser);
ser               323 drivers/net/caif/caif_serial.c 	struct ser_device *ser;
ser               340 drivers/net/caif/caif_serial.c 	dev = alloc_netdev(sizeof(*ser), name, NET_NAME_UNKNOWN,
ser               345 drivers/net/caif/caif_serial.c 	ser = netdev_priv(dev);
ser               346 drivers/net/caif/caif_serial.c 	ser->tty = tty_kref_get(tty);
ser               347 drivers/net/caif/caif_serial.c 	ser->dev = dev;
ser               348 drivers/net/caif/caif_serial.c 	debugfs_init(ser, tty);
ser               350 drivers/net/caif/caif_serial.c 	tty->disc_data = ser;
ser               361 drivers/net/caif/caif_serial.c 	list_add(&ser->node, &ser_list);
ser               365 drivers/net/caif/caif_serial.c 	update_tty_status(ser);
ser               371 drivers/net/caif/caif_serial.c 	struct ser_device *ser = tty->disc_data;
ser               373 drivers/net/caif/caif_serial.c 	tty_kref_put(ser->tty);
ser               376 drivers/net/caif/caif_serial.c 	list_move(&ser->node, &ser_release_list);
ser               169 drivers/pci/controller/pci-hyperv.c 	u32	ser;	/* serial number */
ser              1762 drivers/pci/controller/pci-hyperv.c 		snprintf(name, SLOT_NAME_SIZE, "%u", hpdev->desc.ser);
ser              2027 drivers/pci/controller/pci-hyperv.c 			    (hpdev->desc.ser == new_desc->ser)) {
ser               392 drivers/staging/isdn/gigaset/gigaset.h 		struct ser_bc_state *ser;	/* serial hardware driver */
ser               499 drivers/staging/isdn/gigaset/gigaset.h 		struct ser_cardstate *ser; /* serial hardware driver */
ser                62 drivers/staging/isdn/gigaset/ser-gigaset.c 	struct tty_struct *tty = cs->hw.ser->tty;
ser               103 drivers/staging/isdn/gigaset/ser-gigaset.c 	struct tty_struct *tty = cs->hw.ser->tty;
ser               337 drivers/staging/isdn/gigaset/ser-gigaset.c 	bcs->hw.ser = NULL;
ser               366 drivers/staging/isdn/gigaset/ser-gigaset.c 	if (!cs->hw.ser)
ser               368 drivers/staging/isdn/gigaset/ser-gigaset.c 	platform_device_unregister(&cs->hw.ser->dev);
ser               390 drivers/staging/isdn/gigaset/ser-gigaset.c 	cs->hw.ser = scs;
ser               392 drivers/staging/isdn/gigaset/ser-gigaset.c 	cs->hw.ser->dev.name = GIGASET_MODULENAME;
ser               393 drivers/staging/isdn/gigaset/ser-gigaset.c 	cs->hw.ser->dev.id = cs->minor_index;
ser               394 drivers/staging/isdn/gigaset/ser-gigaset.c 	cs->hw.ser->dev.dev.release = gigaset_device_release;
ser               395 drivers/staging/isdn/gigaset/ser-gigaset.c 	rc = platform_device_register(&cs->hw.ser->dev);
ser               398 drivers/staging/isdn/gigaset/ser-gigaset.c 		kfree(cs->hw.ser);
ser               399 drivers/staging/isdn/gigaset/ser-gigaset.c 		cs->hw.ser = NULL;
ser               419 drivers/staging/isdn/gigaset/ser-gigaset.c 	struct tty_struct *tty = cs->hw.ser->tty;
ser               472 drivers/staging/isdn/gigaset/ser-gigaset.c 	if (!cs || !cs->hw.ser) {
ser               476 drivers/staging/isdn/gigaset/ser-gigaset.c 	atomic_inc(&cs->hw.ser->refcnt);
ser               482 drivers/staging/isdn/gigaset/ser-gigaset.c 	if (atomic_dec_and_test(&cs->hw.ser->refcnt))
ser               483 drivers/staging/isdn/gigaset/ser-gigaset.c 		complete(&cs->hw.ser->dead_cmp);
ser               512 drivers/staging/isdn/gigaset/ser-gigaset.c 	cs->dev = &cs->hw.ser->dev.dev;
ser               513 drivers/staging/isdn/gigaset/ser-gigaset.c 	cs->hw.ser->tty = tty;
ser               514 drivers/staging/isdn/gigaset/ser-gigaset.c 	atomic_set(&cs->hw.ser->refcnt, 1);
ser               515 drivers/staging/isdn/gigaset/ser-gigaset.c 	init_completion(&cs->hw.ser->dead_cmp);
ser               568 drivers/staging/isdn/gigaset/ser-gigaset.c 	if (!cs->hw.ser)
ser               572 drivers/staging/isdn/gigaset/ser-gigaset.c 		if (!atomic_dec_and_test(&cs->hw.ser->refcnt))
ser               573 drivers/staging/isdn/gigaset/ser-gigaset.c 			wait_for_completion(&cs->hw.ser->dead_cmp);
ser                51 drivers/staging/speakup/serialio.c 	const struct old_serial_port *ser;
ser                58 drivers/staging/speakup/serialio.c 	ser = rs_table + index;
ser                61 drivers/staging/speakup/serialio.c 	quot = ser->baud_base / baud;
ser                72 drivers/staging/speakup/serialio.c 	if (synth_request_region(ser->port, 8)) {
ser                75 drivers/staging/speakup/serialio.c 		__release_region(&ioport_resource, ser->port, 8);
ser                76 drivers/staging/speakup/serialio.c 		err = synth_request_region(ser->port, 8);
ser                79 drivers/staging/speakup/serialio.c 				ser->port, err);
ser                87 drivers/staging/speakup/serialio.c 	outb(cval | UART_LCR_DLAB, ser->port + UART_LCR);	/* set DLAB */
ser                88 drivers/staging/speakup/serialio.c 	outb(quot & 0xff, ser->port + UART_DLL);	/* LS of divisor */
ser                89 drivers/staging/speakup/serialio.c 	outb(quot >> 8, ser->port + UART_DLM);		/* MS of divisor */
ser                90 drivers/staging/speakup/serialio.c 	outb(cval, ser->port + UART_LCR);		/* reset DLAB */
ser                93 drivers/staging/speakup/serialio.c 	outb(0, ser->port + UART_IER);
ser                94 drivers/staging/speakup/serialio.c 	outb(UART_MCR_DTR | UART_MCR_RTS, ser->port + UART_MCR);
ser                97 drivers/staging/speakup/serialio.c 	if (inb(ser->port + UART_LSR) == 0xff) {
ser                98 drivers/staging/speakup/serialio.c 		synth_release_region(ser->port, 8);
ser               104 drivers/staging/speakup/serialio.c 	speakup_info.port_tts = ser->port;
ser               105 drivers/staging/speakup/serialio.c 	serstate = ser;
ser               107 drivers/staging/speakup/serialio.c 	start_serial_interrupt(ser->irq);
ser               109 drivers/staging/speakup/serialio.c 	return ser;
ser               172 drivers/staging/speakup/serialio.c 	const struct old_serial_port *ser;
ser               175 drivers/staging/speakup/serialio.c 	if ((synth->ser >= SPK_LO_TTY) && (synth->ser <= SPK_HI_TTY)) {
ser               176 drivers/staging/speakup/serialio.c 		ser = spk_serial_init(synth->ser);
ser               177 drivers/staging/speakup/serialio.c 		if (!ser) {
ser               180 drivers/staging/speakup/serialio.c 			outb_p(0, ser->port);
ser               182 drivers/staging/speakup/serialio.c 			outb_p('\r', ser->port);
ser               186 drivers/staging/speakup/serialio.c 		pr_warn("ttyS%i is an invalid port\n", synth->ser);
ser               193 drivers/staging/speakup/serialio.c 		synth->long_name, synth->ser, synth->version);
ser               129 drivers/staging/speakup/speakup_acntsa.c module_param_named(ser, synth_acntsa.ser, int, 0444);
ser               133 drivers/staging/speakup/speakup_acntsa.c MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
ser               193 drivers/staging/speakup/speakup_apollo.c module_param_named(ser, synth_apollo.ser, int, 0444);
ser               197 drivers/staging/speakup/speakup_apollo.c MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
ser               156 drivers/staging/speakup/speakup_audptr.c module_param_named(ser, synth_audptr.ser, int, 0444);
ser               160 drivers/staging/speakup/speakup_audptr.c MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
ser               113 drivers/staging/speakup/speakup_bns.c module_param_named(ser, synth_bns.ser, int, 0444);
ser               117 drivers/staging/speakup/speakup_bns.c MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
ser               221 drivers/staging/speakup/speakup_decext.c module_param_named(ser, synth_decext.ser, int, 0444);
ser               225 drivers/staging/speakup/speakup_decext.c MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
ser               293 drivers/staging/speakup/speakup_dectlk.c module_param_named(ser, synth_dectlk.ser, int, 0444);
ser               297 drivers/staging/speakup/speakup_dectlk.c MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
ser               116 drivers/staging/speakup/speakup_dummy.c module_param_named(ser, synth_dummy.ser, int, 0444);
ser               120 drivers/staging/speakup/speakup_dummy.c MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
ser               160 drivers/staging/speakup/speakup_ltlk.c module_param_named(ser, synth_ltlk.ser, int, 0444);
ser               164 drivers/staging/speakup/speakup_ltlk.c MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
ser               124 drivers/staging/speakup/speakup_spkout.c module_param_named(ser, synth_spkout.ser, int, 0444);
ser               128 drivers/staging/speakup/speakup_spkout.c MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
ser               112 drivers/staging/speakup/speakup_txprt.c module_param_named(ser, synth_txprt.ser, int, 0444);
ser               116 drivers/staging/speakup/speakup_txprt.c MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
ser                25 drivers/staging/speakup/spk_ttyio.c static int ser_to_dev(int ser, dev_t *dev_no)
ser                27 drivers/staging/speakup/spk_ttyio.c 	if (ser < 0 || ser > (255 - 64)) {
ser                32 drivers/staging/speakup/spk_ttyio.c 	*dev_no = MKDEV(4, (64 + ser));
ser                40 drivers/staging/speakup/spk_ttyio.c 	    synth->ser == SYNTH_DEFAULT_SER)
ser                43 drivers/staging/speakup/spk_ttyio.c 	return ser_to_dev(synth->ser, dev_no);
ser               175 drivers/staging/speakup/spk_types.h 	int ser;
ser               326 drivers/tty/serial/21285.c static int serial21285_verify_port(struct uart_port *port, struct serial_struct *ser)
ser               329 drivers/tty/serial/21285.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_21285)
ser               331 drivers/tty/serial/21285.c 	if (ser->irq <= 0)
ser               333 drivers/tty/serial/21285.c 	if (ser->baud_base != port->uartclk / 16)
ser              3024 drivers/tty/serial/8250/8250_port.c serial8250_verify_port(struct uart_port *port, struct serial_struct *ser)
ser              3026 drivers/tty/serial/8250/8250_port.c 	if (ser->irq >= nr_irqs || ser->irq < 0 ||
ser              3027 drivers/tty/serial/8250/8250_port.c 	    ser->baud_base < 9600 || ser->type < PORT_UNKNOWN ||
ser              3028 drivers/tty/serial/8250/8250_port.c 	    ser->type >= ARRAY_SIZE(uart_config) || ser->type == PORT_CIRRUS ||
ser              3029 drivers/tty/serial/8250/8250_port.c 	    ser->type == PORT_STARTECH)
ser               269 drivers/tty/serial/altera_jtaguart.c 				       struct serial_struct *ser)
ser               271 drivers/tty/serial/altera_jtaguart.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_ALTERA_JTAGUART)
ser               387 drivers/tty/serial/altera_uart.c 				   struct serial_struct *ser)
ser               389 drivers/tty/serial/altera_uart.c 	if ((ser->type != PORT_UNKNOWN) && (ser->type != PORT_ALTERA_UART))
ser               532 drivers/tty/serial/amba-pl010.c static int pl010_verify_port(struct uart_port *port, struct serial_struct *ser)
ser               535 drivers/tty/serial/amba-pl010.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_AMBA)
ser               537 drivers/tty/serial/amba-pl010.c 	if (ser->irq < 0 || ser->irq >= nr_irqs)
ser               539 drivers/tty/serial/amba-pl010.c 	if (ser->baud_base < 9600)
ser              2125 drivers/tty/serial/amba-pl011.c static int pl011_verify_port(struct uart_port *port, struct serial_struct *ser)
ser              2128 drivers/tty/serial/amba-pl011.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_AMBA)
ser              2130 drivers/tty/serial/amba-pl011.c 	if (ser->irq < 0 || ser->irq >= nr_irqs)
ser              2132 drivers/tty/serial/amba-pl011.c 	if (ser->baud_base < 9600)
ser               317 drivers/tty/serial/apbuart.c 			       struct serial_struct *ser)
ser               320 drivers/tty/serial/apbuart.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_APBUART)
ser               322 drivers/tty/serial/apbuart.c 	if (ser->irq < 0 || ser->irq >= NR_IRQS)
ser               324 drivers/tty/serial/apbuart.c 	if (ser->baud_base < 9600)
ser               477 drivers/tty/serial/ar933x_uart.c 				   struct serial_struct *ser)
ser               482 drivers/tty/serial/ar933x_uart.c 	if (ser->type != PORT_UNKNOWN &&
ser               483 drivers/tty/serial/ar933x_uart.c 	    ser->type != PORT_AR933X)
ser               486 drivers/tty/serial/ar933x_uart.c 	if (ser->irq < 0 || ser->irq >= NR_IRQS)
ser               489 drivers/tty/serial/ar933x_uart.c 	if (ser->baud_base < up->min_baud ||
ser               490 drivers/tty/serial/ar933x_uart.c 	    ser->baud_base > up->max_baud)
ser               425 drivers/tty/serial/arc_uart.c arc_serial_verify_port(struct uart_port *port, struct serial_struct *ser)
ser               427 drivers/tty/serial/arc_uart.c 	if (port->type != PORT_UNKNOWN && ser->type != PORT_ARC)
ser              2415 drivers/tty/serial/atmel_serial.c static int atmel_verify_port(struct uart_port *port, struct serial_struct *ser)
ser              2418 drivers/tty/serial/atmel_serial.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_ATMEL)
ser              2420 drivers/tty/serial/atmel_serial.c 	if (port->irq != ser->irq)
ser              2422 drivers/tty/serial/atmel_serial.c 	if (ser->io_type != SERIAL_IO_MEM)
ser              2424 drivers/tty/serial/atmel_serial.c 	if (port->uartclk / 16 != ser->baud_base)
ser              2426 drivers/tty/serial/atmel_serial.c 	if (port->mapbase != (unsigned long)ser->iomem_base)
ser              2428 drivers/tty/serial/atmel_serial.c 	if (port->iobase != ser->port)
ser              2430 drivers/tty/serial/atmel_serial.c 	if (ser->hub6 != 0)
ser               659 drivers/tty/serial/cpm_uart/cpm_uart_core.c 				struct serial_struct *ser)
ser               665 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_CPM)
ser               667 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	if (ser->irq < 0 || ser->irq >= nr_irqs)
ser               669 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	if (ser->baud_base < 9600)
ser               732 drivers/tty/serial/dz.c static int dz_verify_port(struct uart_port *uport, struct serial_struct *ser)
ser               736 drivers/tty/serial/dz.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_DZ)
ser               738 drivers/tty/serial/dz.c 	if (ser->irq != uport->irq)
ser              2008 drivers/tty/serial/fsl_lpuart.c static int lpuart_verify_port(struct uart_port *port, struct serial_struct *ser)
ser              2012 drivers/tty/serial/fsl_lpuart.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_LPUART)
ser              2014 drivers/tty/serial/fsl_lpuart.c 	if (port->irq != ser->irq)
ser              2016 drivers/tty/serial/fsl_lpuart.c 	if (ser->io_type != UPIO_MEM)
ser              2018 drivers/tty/serial/fsl_lpuart.c 	if (port->uartclk / 16 != ser->baud_base)
ser              2020 drivers/tty/serial/fsl_lpuart.c 	if (port->iobase != ser->port)
ser              2022 drivers/tty/serial/fsl_lpuart.c 	if (ser->hub6 != 0)
ser              1750 drivers/tty/serial/imx.c imx_uart_verify_port(struct uart_port *port, struct serial_struct *ser)
ser              1755 drivers/tty/serial/imx.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_IMX)
ser              1757 drivers/tty/serial/imx.c 	if (sport->port.irq != ser->irq)
ser              1759 drivers/tty/serial/imx.c 	if (ser->io_type != UPIO_MEM)
ser              1761 drivers/tty/serial/imx.c 	if (sport->port.uartclk / 16 != ser->baud_base)
ser              1763 drivers/tty/serial/imx.c 	if (sport->port.mapbase != (unsigned long)ser->iomem_base)
ser              1765 drivers/tty/serial/imx.c 	if (sport->port.iobase != ser->port)
ser              1767 drivers/tty/serial/imx.c 	if (ser->hub6 != 0)
ser               929 drivers/tty/serial/ip22zilog.c static int ip22zilog_verify_port(struct uart_port *port, struct serial_struct *ser)
ser               571 drivers/tty/serial/lantiq.c 	struct serial_struct *ser)
ser               574 drivers/tty/serial/lantiq.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_LTQ_ASC)
ser               576 drivers/tty/serial/lantiq.c 	if (ser->irq < 0 || ser->irq >= NR_IRQS)
ser               578 drivers/tty/serial/lantiq.c 	if (ser->baud_base < 9600)
ser               604 drivers/tty/serial/lpc32xx_hs.c 				      struct serial_struct *ser)
ser               608 drivers/tty/serial/lpc32xx_hs.c 	if (ser->type != PORT_UART00)
ser               666 drivers/tty/serial/max3100.c 			       struct serial_struct *ser)
ser               675 drivers/tty/serial/max3100.c 	if (ser->type == PORT_UNKNOWN || ser->type == PORT_MAX3100)
ser               427 drivers/tty/serial/mcf.c static int mcf_verify_port(struct uart_port *port, struct serial_struct *ser)
ser               429 drivers/tty/serial/mcf.c 	if ((ser->type != PORT_UNKNOWN) && (ser->type != PORT_MCF))
ser               386 drivers/tty/serial/meson_uart.c 				  struct serial_struct *ser)
ser               392 drivers/tty/serial/meson_uart.c 	if (port->irq != ser->irq)
ser               394 drivers/tty/serial/meson_uart.c 	if (ser->baud_base < 9600)
ser              1331 drivers/tty/serial/mpc52xx_uart.c mpc52xx_uart_verify_port(struct uart_port *port, struct serial_struct *ser)
ser              1333 drivers/tty/serial/mpc52xx_uart.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_MPC52xx)
ser              1336 drivers/tty/serial/mpc52xx_uart.c 	if ((ser->irq != port->irq) ||
ser              1337 drivers/tty/serial/mpc52xx_uart.c 	    (ser->io_type != UPIO_MEM) ||
ser              1338 drivers/tty/serial/mpc52xx_uart.c 	    (ser->baud_base != port->uartclk)  ||
ser              1339 drivers/tty/serial/mpc52xx_uart.c 	    (ser->iomem_base != (void *)port->mapbase) ||
ser              1340 drivers/tty/serial/mpc52xx_uart.c 	    (ser->hub6 != 0))
ser              1384 drivers/tty/serial/msm_serial.c static int msm_verify_port(struct uart_port *port, struct serial_struct *ser)
ser              1386 drivers/tty/serial/msm_serial.c 	if (unlikely(ser->type != PORT_UNKNOWN && ser->type != PORT_MSM))
ser              1388 drivers/tty/serial/msm_serial.c 	if (unlikely(port->irq != ser->irq))
ser               360 drivers/tty/serial/mux.c static int mux_verify_port(struct uart_port *port, struct serial_struct *ser)
ser               713 drivers/tty/serial/mxs-auart.c 				    struct serial_struct *ser)
ser              1146 drivers/tty/serial/omap-serial.c serial_omap_verify_port(struct uart_port *port, struct serial_struct *ser)
ser               445 drivers/tty/serial/owl-uart.c 				struct serial_struct *ser)
ser               450 drivers/tty/serial/owl-uart.c 	if (port->irq != ser->irq)
ser              1331 drivers/tty/serial/pmac_zilog.c static int pmz_verify_port(struct uart_port *port, struct serial_struct *ser)
ser               607 drivers/tty/serial/pnx8xxx_uart.c pnx8xxx_verify_port(struct uart_port *port, struct serial_struct *ser)
ser               613 drivers/tty/serial/pnx8xxx_uart.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_PNX8XXX)
ser               615 drivers/tty/serial/pnx8xxx_uart.c 	if (sport->port.irq != ser->irq)
ser               617 drivers/tty/serial/pnx8xxx_uart.c 	if (ser->io_type != SERIAL_IO_MEM)
ser               619 drivers/tty/serial/pnx8xxx_uart.c 	if (sport->port.uartclk / 16 != ser->baud_base)
ser               621 drivers/tty/serial/pnx8xxx_uart.c 	if ((void *)sport->port.mapbase != ser->iomem_base)
ser               623 drivers/tty/serial/pnx8xxx_uart.c 	if (sport->port.iobase != ser->port)
ser               625 drivers/tty/serial/pnx8xxx_uart.c 	if (ser->hub6 != 0)
ser               578 drivers/tty/serial/pxa.c serial_pxa_verify_port(struct uart_port *port, struct serial_struct *ser)
ser               548 drivers/tty/serial/rda-uart.c 				struct serial_struct *ser)
ser               553 drivers/tty/serial/rda-uart.c 	if (port->irq != ser->irq)
ser               571 drivers/tty/serial/rp2.c 				   struct serial_struct *ser)
ser               573 drivers/tty/serial/rp2.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_RP2)
ser               574 drivers/tty/serial/sa1100.c sa1100_verify_port(struct uart_port *port, struct serial_struct *ser)
ser               580 drivers/tty/serial/sa1100.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_SA1100)
ser               582 drivers/tty/serial/sa1100.c 	if (sport->port.irq != ser->irq)
ser               584 drivers/tty/serial/sa1100.c 	if (ser->io_type != SERIAL_IO_MEM)
ser               586 drivers/tty/serial/sa1100.c 	if (sport->port.uartclk / 16 != ser->baud_base)
ser               588 drivers/tty/serial/sa1100.c 	if ((void *)sport->port.mapbase != ser->iomem_base)
ser               590 drivers/tty/serial/sa1100.c 	if (sport->port.iobase != ser->port)
ser               592 drivers/tty/serial/sa1100.c 	if (ser->hub6 != 0)
ser              1461 drivers/tty/serial/samsung.c s3c24xx_serial_verify_port(struct uart_port *port, struct serial_struct *ser)
ser              1465 drivers/tty/serial/samsung.c 	if (ser->type != PORT_UNKNOWN && ser->type != info->type)
ser               740 drivers/tty/serial/sb1250-duart.c static int sbd_verify_port(struct uart_port *uport, struct serial_struct *ser)
ser               744 drivers/tty/serial/sb1250-duart.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_SB1250_DUART)
ser               746 drivers/tty/serial/sb1250-duart.c 	if (ser->irq != uport->irq)
ser               748 drivers/tty/serial/sb1250-duart.c 	if (ser->baud_base != uport->uartclk / 16)
ser              2750 drivers/tty/serial/sh-sci.c static int sci_verify_port(struct uart_port *port, struct serial_struct *ser)
ser              2752 drivers/tty/serial/sh-sci.c 	if (ser->baud_base < 2400)
ser               702 drivers/tty/serial/sifive.c 				     struct serial_struct *ser)
ser               898 drivers/tty/serial/sprd_serial.c static int sprd_verify_port(struct uart_port *port, struct serial_struct *ser)
ser               900 drivers/tty/serial/sprd_serial.c 	if (ser->type != PORT_SPRD)
ser               902 drivers/tty/serial/sprd_serial.c 	if (port->irq != ser->irq)
ser               904 drivers/tty/serial/sprd_serial.c 	if (port->iotype != ser->io_type)
ser               666 drivers/tty/serial/st-asc.c asc_verify_port(struct uart_port *port, struct serial_struct *ser)
ser               868 drivers/tty/serial/stm32-usart.c stm32_verify_port(struct uart_port *port, struct serial_struct *ser)
ser               373 drivers/tty/serial/sunhv.c static int sunhv_verify_port(struct uart_port *port, struct serial_struct *ser)
ser               818 drivers/tty/serial/sunsab.c static int sunsab_verify_port(struct uart_port *port, struct serial_struct *ser)
ser               947 drivers/tty/serial/sunsu.c sunsu_verify_port(struct uart_port *port, struct serial_struct *ser)
ser               999 drivers/tty/serial/sunzilog.c static int sunzilog_verify_port(struct uart_port *port, struct serial_struct *ser)
ser               379 drivers/tty/serial/timbuart.c 	struct serial_struct *ser)
ser               387 drivers/tty/serial/uartlite.c static int ulite_verify_port(struct uart_port *port, struct serial_struct *ser)
ser              1069 drivers/tty/serial/ucc_uart.c 			       struct serial_struct *ser)
ser              1071 drivers/tty/serial/ucc_uart.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_CPM)
ser              1074 drivers/tty/serial/ucc_uart.c 	if (ser->irq < 0 || ser->irq >= nr_irqs)
ser              1077 drivers/tty/serial/ucc_uart.c 	if (ser->baud_base < 9600)
ser               465 drivers/tty/serial/vt8500_serial.c 			      struct serial_struct *ser)
ser               467 drivers/tty/serial/vt8500_serial.c 	if (unlikely(ser->type != PORT_UNKNOWN && ser->type != PORT_VT8500))
ser               469 drivers/tty/serial/vt8500_serial.c 	if (unlikely(port->irq != ser->irq))
ser               938 drivers/tty/serial/xilinx_uartps.c 					struct serial_struct *ser)
ser               940 drivers/tty/serial/xilinx_uartps.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_XUARTPS)
ser               942 drivers/tty/serial/xilinx_uartps.c 	if (port->irq != ser->irq)
ser               944 drivers/tty/serial/xilinx_uartps.c 	if (ser->io_type != UPIO_MEM)
ser               946 drivers/tty/serial/xilinx_uartps.c 	if (port->iobase != ser->port)
ser               948 drivers/tty/serial/xilinx_uartps.c 	if (ser->hub6 != 0)
ser              1034 drivers/tty/serial/zs.c static int zs_verify_port(struct uart_port *uport, struct serial_struct *ser)
ser              1039 drivers/tty/serial/zs.c 	if (ser->type != PORT_UNKNOWN && ser->type != PORT_ZS)
ser              1041 drivers/tty/serial/zs.c 	if (ser->irq != uport->irq)
ser              1043 drivers/tty/serial/zs.c 	if (ser->baud_base != uport->uartclk / zport->clk_mode / 4)