co                247 arch/alpha/kernel/srmcons.c srm_console_write(struct console *co, const char *s, unsigned count)
co                257 arch/alpha/kernel/srmcons.c srm_console_device(struct console *co, int *index)
co                259 arch/alpha/kernel/srmcons.c 	*index = co->index;
co                264 arch/alpha/kernel/srmcons.c srm_console_setup(struct console *co, char *options)
co                370 arch/arm/mach-omap2/clockdomain.c int clkdm_register_platform_funcs(struct clkdm_ops *co)
co                372 arch/arm/mach-omap2/clockdomain.c 	if (!co)
co                378 arch/arm/mach-omap2/clockdomain.c 	arch_clkdm = co;
co                182 arch/arm/mach-omap2/clockdomain.h int clkdm_register_platform_funcs(struct clkdm_ops *co);
co                366 arch/arm/mm/cache-l2x0-pmu.c 	L220_PLUS_EVENT_ATTR(co,	0x1),
co                406 arch/ia64/include/asm/pal.h 			co		: 1,	/* Continuable */
co                706 arch/ia64/include/asm/pal.h #define pmci_proc_continuable			pme_processor.co
co               1143 arch/ia64/include/asm/pal.h 				co			: 1,
co                204 arch/ia64/kernel/palinfo.c 				   halt_info[i].pal_power_mgmt_info_s.co ? "Yes" : "No");
co                102 arch/m68k/amiga/config.c static void amiga_mem_console_write(struct console *co, const char *b,
co                636 arch/m68k/amiga/config.c static void amiga_mem_console_write(struct console *co, const char *s,
co                681 arch/m68k/amiga/config.c static void amiga_serial_console_write(struct console *co, const char *s,
co                697 arch/m68k/amiga/config.c int amiga_serial_console_wait_key(struct console *co)
co                709 arch/m68k/amiga/config.c void amiga_serial_gets(struct console *co, char *s, int len)
co                714 arch/m68k/amiga/config.c 		ch = amiga_serial_console_wait_key(co);
co                111 arch/m68k/apollo/config.c int dn_serial_console_wait_key(struct console *co) {
co                118 arch/m68k/apollo/config.c void dn_serial_console_write (struct console *co, const char *str,unsigned int count)
co                 42 arch/m68k/atari/debug.c static void atari_mfp_console_write(struct console *co, const char *str,
co                 61 arch/m68k/atari/debug.c static void atari_scc_console_write(struct console *co, const char *str,
co                 78 arch/m68k/atari/debug.c static void atari_midi_console_write(struct console *co, const char *str,
co                109 arch/m68k/atari/debug.c static void atari_par_console_write(struct console *co, const char *str,
co                132 arch/m68k/atari/debug.c int atari_mfp_console_wait_key(struct console *co)
co                139 arch/m68k/atari/debug.c int atari_scc_console_wait_key(struct console *co)
co                148 arch/m68k/atari/debug.c int atari_midi_console_wait_key(struct console *co)
co                 15 arch/m68k/kernel/early_printk.c extern void mvme16x_cons_write(struct console *co,
co                209 arch/m68k/mvme16x/config.c void mvme16x_cons_write(struct console *co, const char *str, unsigned count)
co                 50 arch/m68k/q40/config.c static void q40_mem_console_write(struct console *co, const char *b,
co                 67 arch/m68k/q40/config.c static void q40_mem_console_write(struct console *co, const char *s,
co                 76 arch/m68k/sun3x/prom.c static void sun3x_prom_write(struct console *co, const char *s,
co                 18 arch/mips/fw/arc/arc_con.c static void prom_console_write(struct console *co, const char *s,
co                 29 arch/mips/fw/arc/arc_con.c static int prom_console_setup(struct console *co, char *options)
co                691 arch/mips/include/uapi/asm/inst.h 	__BITFIELD_FIELD(unsigned int co : 1,
co               1282 arch/mips/kvm/emulate.c 	if (inst.co_format.co) {
co                920 arch/mips/kvm/vz.c 	if (inst.co_format.co) {
co                 48 arch/parisc/include/asm/assembly.h #define LDCW		ldcw,co
co                 45 arch/parisc/kernel/pdc_cons.c static void pdc_console_write(struct console *co, const char *s, unsigned count)
co                 57 arch/parisc/kernel/pdc_cons.c int pdc_console_poll_key(struct console *co)
co                 69 arch/parisc/kernel/pdc_cons.c static int pdc_console_setup(struct console *co, char *options)
co                108 arch/sh/kernel/sh_bios.c static void sh_console_write(struct console *co, const char *s,
co                120 arch/sh/kernel/sh_bios.c static int __init sh_console_setup(struct console *co, char *options)
co                132 arch/sh/kernel/sh_bios.c 	co->cflag = cflag;
co                 37 arch/um/drivers/chan.h extern int console_open_chan(struct line *line, struct console *co);
co                278 arch/um/drivers/chan_kern.c int console_open_chan(struct line *line, struct console *co)
co                286 arch/um/drivers/chan_kern.c 	printk(KERN_INFO "Console initialized on /dev/%s%d\n", co->name,
co                287 arch/um/drivers/chan_kern.c 	       co->index);
co                132 arch/um/drivers/ssl.c static int ssl_console_setup(struct console *co, char *options)
co                134 arch/um/drivers/ssl.c 	struct line *line = &serial_lines[co->index];
co                136 arch/um/drivers/ssl.c 	return console_open_chan(line, co);
co                133 arch/um/drivers/stdio_console.c static int uml_console_setup(struct console *co, char *options)
co                135 arch/um/drivers/stdio_console.c 	struct line *line = &vts[co->index];
co                137 arch/um/drivers/stdio_console.c 	return console_open_chan(line, co);
co                225 arch/xtensa/platforms/iss/console.c static void iss_console_write(struct console *co, const char *s, unsigned count)
co                813 drivers/char/lp.c static void lp_console_write(struct console *co, const char *s,
co                550 drivers/clk/ti/adpll.c 	struct ti_adpll_clkout_data *co = to_clkout(hw);
co                551 drivers/clk/ti/adpll.c 	struct clk_hw *gate_hw = &co->gate.hw;
co                560 drivers/clk/ti/adpll.c 	struct ti_adpll_clkout_data *co = to_clkout(hw);
co                561 drivers/clk/ti/adpll.c 	struct clk_hw *gate_hw = &co->gate.hw;
co                569 drivers/clk/ti/adpll.c 	struct ti_adpll_clkout_data *co = to_clkout(hw);
co                570 drivers/clk/ti/adpll.c 	struct clk_hw *gate_hw = &co->gate.hw;
co                580 drivers/clk/ti/adpll.c 	struct ti_adpll_clkout_data *co = to_clkout(hw);
co                581 drivers/clk/ti/adpll.c 	struct ti_adpll_data *d = co->adpll;
co                592 drivers/clk/ti/adpll.c 	struct ti_adpll_clkout_data *co;
co                600 drivers/clk/ti/adpll.c 	co = devm_kzalloc(d->dev, sizeof(*co), GFP_KERNEL);
co                601 drivers/clk/ti/adpll.c 	if (!co)
co                603 drivers/clk/ti/adpll.c 	co->adpll = d;
co                619 drivers/clk/ti/adpll.c 	co->hw.init = &init;
co                628 drivers/clk/ti/adpll.c 		co->gate.lock = &d->lock;
co                629 drivers/clk/ti/adpll.c 		co->gate.reg = d->regs + ADPLL_CLKCTRL_OFFSET;
co                630 drivers/clk/ti/adpll.c 		co->gate.bit_idx = gate_bit;
co                636 drivers/clk/ti/adpll.c 	clock = devm_clk_register(d->dev, &co->hw);
co                 43 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 	u32 co, ho;
co                 45 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 	co = ho = nvkm_ramht_hash(ramht, chid, handle);
co                 47 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 		if (ramht->data[co].chid == chid) {
co                 48 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 			if (ramht->data[co].handle == handle)
co                 49 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 				return ramht->data[co].inst;
co                 52 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 		if (++co >= ramht->size)
co                 53 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 			co = 0;
co                 54 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 	} while (co != ho);
co                 60 drivers/gpu/drm/nouveau/nvkm/core/ramht.c nvkm_ramht_update(struct nvkm_ramht *ramht, int co, struct nvkm_object *object,
co                 63 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 	struct nvkm_ramht_data *data = &ramht->data[co];
co                 93 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 	nvkm_wo32(ramht->gpuobj, (co << 3) + 0, handle);
co                 94 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 	nvkm_wo32(ramht->gpuobj, (co << 3) + 4, context);
co                 96 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 	return co + 1;
co                110 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 	u32 co, ho;
co                115 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 	co = ho = nvkm_ramht_hash(ramht, chid, handle);
co                117 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 		if (ramht->data[co].chid < 0) {
co                118 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 			return nvkm_ramht_update(ramht, co, object, chid,
co                122 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 		if (++co >= ramht->size)
co                123 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 			co = 0;
co                124 drivers/gpu/drm/nouveau/nvkm/core/ramht.c 	} while (co != ho);
co                977 drivers/hwmon/adm1031.c 	int id, co;
co                983 drivers/hwmon/adm1031.c 	co = i2c_smbus_read_byte_data(client, 0x3e);
co                985 drivers/hwmon/adm1031.c 	if (!((id == 0x31 || id == 0x30) && co == 0x41))
co               1829 drivers/isdn/hardware/mISDN/hfcmulti.c 	int		co, ch;
co               1854 drivers/isdn/hardware/mISDN/hfcmulti.c 		for (co = 0; co < 8; co++) {
co               1856 drivers/isdn/hardware/mISDN/hfcmulti.c 			addr = hc->DTMFbase + ((co << 7) | (ch << 2));
co               1877 drivers/isdn/hardware/mISDN/hfcmulti.c 			coeff[co << 1] = mantissa;
co               1896 drivers/isdn/hardware/mISDN/hfcmulti.c 			coeff[(co << 1) | 1] = mantissa;
co                 84 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c 	u32 co;
co                192 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c 	cfg->co = 1 << i;
co                197 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c 	    cfg->co < 1 || cfg->co > 8) {
co                199 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c 			cfg->cm, cfg->cn, cfg->co);
co                307 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c 	    priv->cfg.co < 1 || priv->cfg.co > 8) {
co                309 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c 			priv->cfg.cm, priv->cfg.cn, priv->cfg.co);
co                313 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c 		priv->cfg.cm, priv->cfg.cn, priv->cfg.co);
co                316 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c 	phy_write(phy, CO(priv->cfg.co), DPHY_CO);
co                 52 drivers/power/supply/wm8350_power.c 	u16 sm, ov, co, chrg;
co                 57 drivers/power/supply/wm8350_power.c 	co = wm8350_reg_read(wm8350, WM8350_COMPARATOR_OVERRIDES);
co                 78 drivers/power/supply/wm8350_power.c 	else if (co & WM8350_WALL_FB_OVRDE)
co                821 drivers/s390/char/con3215.c static void con3215_write(struct console *co, const char *str,
co                491 drivers/s390/char/con3270.c con3270_write(struct console *co, const char *str, unsigned int count)
co               4916 drivers/scsi/lpfc/lpfc_bsg.c 			pmb->un.varUpdateCfg.co) {
co               3007 drivers/scsi/lpfc/lpfc_hw.h 	uint32_t co:1;
co               3015 drivers/scsi/lpfc/lpfc_hw.h 	uint32_t co:1;
co               3092 drivers/scsi/lpfc/lpfc_hw.h 	uint32_t co:1;
co               3100 drivers/scsi/lpfc/lpfc_hw.h 	uint32_t co:1;
co                152 drivers/scsi/lpfc/lpfc_mbox.c 	mb->un.varDmp.co = 0;
co                187 drivers/scsi/lpfc/lpfc_mbox.c 	mb->un.varDmp.co = 0;
co               1760 drivers/tty/amiserial.c static void serial_console_write(struct console *co, const char *s,
co               1934 drivers/tty/cyclades.c 	int co, co_val, bpr;
co               1944 drivers/tty/cyclades.c 	for (co = 4, co_val = 2048; co; co--, co_val >>= 2) {
co               1954 drivers/tty/cyclades.c 	info->tco = info->rco = co;
co                258 drivers/tty/ehv_bytechan.c static void ehv_bc_console_write(struct console *co, const char *s,
co                288 drivers/tty/ehv_bytechan.c static struct tty_driver *ehv_bc_console_device(struct console *co, int *index)
co                290 drivers/tty/ehv_bytechan.c 	*index = co->index;
co                208 drivers/tty/goldfish.c static void goldfish_tty_console_write(struct console *co, const char *b,
co                211 drivers/tty/goldfish.c 	goldfish_tty_do_write(co->index, b, count);
co                221 drivers/tty/goldfish.c static int goldfish_tty_console_setup(struct console *co, char *options)
co                223 drivers/tty/goldfish.c 	if ((unsigned)co->index >= goldfish_tty_line_count)
co                225 drivers/tty/goldfish.c 	if (!goldfish_ttys[co->index].base)
co                151 drivers/tty/hvc/hvc_console.c static void hvc_console_print(struct console *co, const char *b,
co                156 drivers/tty/hvc/hvc_console.c 	int r, donecr = 0, index = co->index;
co                206 drivers/tty/hvc/hvc_console.c static int hvc_console_setup(struct console *co, char *options)
co                208 drivers/tty/hvc/hvc_console.c 	if (co->index < 0 || co->index >= MAX_NR_HVC_CONSOLES)
co                211 drivers/tty/hvc/hvc_console.c 	if (vtermnos[co->index] == -1)
co                379 drivers/tty/serial/21285.c serial21285_console_write(struct console *co, const char *s,
co                421 drivers/tty/serial/21285.c static int __init serial21285_console_setup(struct console *co, char *options)
co                442 drivers/tty/serial/21285.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                581 drivers/tty/serial/8250/8250_core.c static void univ8250_console_write(struct console *co, const char *s,
co                584 drivers/tty/serial/8250/8250_core.c 	struct uart_8250_port *up = &serial8250_ports[co->index];
co                589 drivers/tty/serial/8250/8250_core.c static int univ8250_console_setup(struct console *co, char *options)
co                599 drivers/tty/serial/8250/8250_core.c 	if (co->index >= nr_uarts)
co                600 drivers/tty/serial/8250/8250_core.c 		co->index = 0;
co                601 drivers/tty/serial/8250/8250_core.c 	port = &serial8250_ports[co->index].port;
co                603 drivers/tty/serial/8250/8250_core.c 	port->cons = co;
co                629 drivers/tty/serial/8250/8250_core.c static int univ8250_console_match(struct console *co, char *name, int idx,
co                656 drivers/tty/serial/8250/8250_core.c 		co->index = i;
co                657 drivers/tty/serial/8250/8250_core.c 		port->cons = co;
co                339 drivers/tty/serial/altera_jtaguart.c static void altera_jtaguart_console_write(struct console *co, const char *s,
co                342 drivers/tty/serial/altera_jtaguart.c 	struct uart_port *port = &(altera_jtaguart_ports + co->index)->port;
co                347 drivers/tty/serial/altera_jtaguart.c static int __init altera_jtaguart_console_setup(struct console *co,
co                352 drivers/tty/serial/altera_jtaguart.c 	if (co->index < 0 || co->index >= ALTERA_JTAGUART_MAXPORTS)
co                354 drivers/tty/serial/altera_jtaguart.c 	port = &altera_jtaguart_ports[co->index].port;
co                382 drivers/tty/serial/altera_jtaguart.c static void altera_jtaguart_earlycon_write(struct console *co, const char *s,
co                385 drivers/tty/serial/altera_jtaguart.c 	struct earlycon_device *dev = co->data;
co                452 drivers/tty/serial/altera_uart.c static void altera_uart_console_write(struct console *co, const char *s,
co                455 drivers/tty/serial/altera_uart.c 	struct uart_port *port = &(altera_uart_ports + co->index)->port;
co                460 drivers/tty/serial/altera_uart.c static int __init altera_uart_console_setup(struct console *co, char *options)
co                468 drivers/tty/serial/altera_uart.c 	if (co->index < 0 || co->index >= CONFIG_SERIAL_ALTERA_UART_MAXPORTS)
co                470 drivers/tty/serial/altera_uart.c 	port = &altera_uart_ports[co->index].port;
co                477 drivers/tty/serial/altera_uart.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                502 drivers/tty/serial/altera_uart.c static void altera_uart_earlycon_write(struct console *co, const char *s,
co                505 drivers/tty/serial/altera_uart.c 	struct earlycon_device *dev = co->data;
co                582 drivers/tty/serial/amba-pl010.c pl010_console_write(struct console *co, const char *s, unsigned int count)
co                584 drivers/tty/serial/amba-pl010.c 	struct uart_amba_port *uap = amba_ports[co->index];
co                637 drivers/tty/serial/amba-pl010.c static int __init pl010_console_setup(struct console *co, char *options)
co                651 drivers/tty/serial/amba-pl010.c 	if (co->index >= UART_NR)
co                652 drivers/tty/serial/amba-pl010.c 		co->index = 0;
co                653 drivers/tty/serial/amba-pl010.c 	uap = amba_ports[co->index];
co                668 drivers/tty/serial/amba-pl010.c 	return uart_set_options(&uap->port, co, baud, parity, bits, flow);
co               2208 drivers/tty/serial/amba-pl011.c pl011_console_write(struct console *co, const char *s, unsigned int count)
co               2210 drivers/tty/serial/amba-pl011.c 	struct uart_amba_port *uap = amba_ports[co->index];
co               2290 drivers/tty/serial/amba-pl011.c static int __init pl011_console_setup(struct console *co, char *options)
co               2304 drivers/tty/serial/amba-pl011.c 	if (co->index >= UART_NR)
co               2305 drivers/tty/serial/amba-pl011.c 		co->index = 0;
co               2306 drivers/tty/serial/amba-pl011.c 	uap = amba_ports[co->index];
co               2337 drivers/tty/serial/amba-pl011.c 	return uart_set_options(&uap->port, co, baud, parity, bits, flow);
co               2358 drivers/tty/serial/amba-pl011.c static int __init pl011_console_match(struct console *co, char *name, int idx,
co               2392 drivers/tty/serial/amba-pl011.c 		co->index = i;
co               2393 drivers/tty/serial/amba-pl011.c 		port->cons = co;
co               2394 drivers/tty/serial/amba-pl011.c 		return pl011_console_setup(co, options);
co                432 drivers/tty/serial/apbuart.c apbuart_console_write(struct console *co, const char *s, unsigned int count)
co                434 drivers/tty/serial/apbuart.c 	struct uart_port *port = &grlib_apbuart_ports[co->index];
co                477 drivers/tty/serial/apbuart.c static int __init apbuart_console_setup(struct console *co, char *options)
co                486 drivers/tty/serial/apbuart.c 		 co, co->index, options);
co                493 drivers/tty/serial/apbuart.c 	if (co->index >= grlib_apbuart_port_nr)
co                494 drivers/tty/serial/apbuart.c 		co->index = 0;
co                496 drivers/tty/serial/apbuart.c 	port = &grlib_apbuart_ports[co->index];
co                505 drivers/tty/serial/apbuart.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                541 drivers/tty/serial/ar933x_uart.c static void ar933x_uart_console_write(struct console *co, const char *s,
co                544 drivers/tty/serial/ar933x_uart.c 	struct ar933x_uart_port *up = ar933x_console_ports[co->index];
co                581 drivers/tty/serial/ar933x_uart.c static int ar933x_uart_console_setup(struct console *co, char *options)
co                589 drivers/tty/serial/ar933x_uart.c 	if (co->index < 0 || co->index >= CONFIG_SERIAL_AR933X_NR_UARTS)
co                592 drivers/tty/serial/ar933x_uart.c 	up = ar933x_console_ports[co->index];
co                599 drivers/tty/serial/ar933x_uart.c 	return uart_set_options(&up->port, co, baud, parity, bits, flow);
co                488 drivers/tty/serial/arc_uart.c static int arc_serial_console_setup(struct console *co, char *options)
co                496 drivers/tty/serial/arc_uart.c 	if (co->index < 0 || co->index >= CONFIG_SERIAL_ARC_NR_PORTS)
co                503 drivers/tty/serial/arc_uart.c 	port = &arc_uart_ports[co->index].port;
co                514 drivers/tty/serial/arc_uart.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                528 drivers/tty/serial/arc_uart.c static void arc_serial_console_write(struct console *co, const char *s,
co                531 drivers/tty/serial/arc_uart.c 	struct uart_port *port = &arc_uart_ports[co->index].port;
co               2554 drivers/tty/serial/atmel_serial.c static void atmel_console_write(struct console *co, const char *s, u_int count)
co               2556 drivers/tty/serial/atmel_serial.c 	struct uart_port *port = &atmel_ports[co->index].uart;
co               2632 drivers/tty/serial/atmel_serial.c static int __init atmel_console_setup(struct console *co, char *options)
co               2635 drivers/tty/serial/atmel_serial.c 	struct uart_port *port = &atmel_ports[co->index].uart;
co               2647 drivers/tty/serial/atmel_serial.c 	ret = clk_prepare_enable(atmel_ports[co->index].clk);
co               2661 drivers/tty/serial/atmel_serial.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                699 drivers/tty/serial/bcm63xx_uart.c static void bcm_console_write(struct console *co, const char *s,
co                706 drivers/tty/serial/bcm63xx_uart.c 	port = &ports[co->index];
co                734 drivers/tty/serial/bcm63xx_uart.c static int bcm_console_setup(struct console *co, char *options)
co                742 drivers/tty/serial/bcm63xx_uart.c 	if (co->index < 0 || co->index >= BCM63XX_NR_UARTS)
co                744 drivers/tty/serial/bcm63xx_uart.c 	port = &ports[co->index];
co                750 drivers/tty/serial/bcm63xx_uart.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                368 drivers/tty/serial/clps711x.c static void uart_clps711x_console_write(struct console *co, const char *c,
co                371 drivers/tty/serial/clps711x.c 	struct uart_port *port = clps711x_uart.state[co->index].uart_port;
co                383 drivers/tty/serial/clps711x.c static int uart_clps711x_console_setup(struct console *co, char *options)
co                386 drivers/tty/serial/clps711x.c 	int ret, index = co->index;
co                424 drivers/tty/serial/clps711x.c 	ret = uart_set_options(port, co, baud, parity, bits, flow);
co               1265 drivers/tty/serial/cpm_uart/cpm_uart_core.c static void cpm_uart_console_write(struct console *co, const char *s,
co               1268 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	struct uart_cpm_port *pinfo = &cpm_uart_ports[co->index];
co               1288 drivers/tty/serial/cpm_uart/cpm_uart_core.c static int __init cpm_uart_console_setup(struct console *co, char *options)
co               1301 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	if (co->index >= UART_NR) {
co               1303 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		       co->index);
co               1314 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		if (i++ == co->index)
co               1321 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	pinfo = &cpm_uart_ports[co->index];
co               1362 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	uart_set_options(port, co, baud, parity, bits, flow);
co                392 drivers/tty/serial/digicolor-usart.c static void digicolor_uart_console_write(struct console *co, const char *c,
co                395 drivers/tty/serial/digicolor-usart.c 	struct uart_port *port = digicolor_ports[co->index];
co                416 drivers/tty/serial/digicolor-usart.c static int digicolor_uart_console_setup(struct console *co, char *options)
co                421 drivers/tty/serial/digicolor-usart.c 	if (co->index < 0 || co->index >= DIGICOLOR_USART_NR)
co                424 drivers/tty/serial/digicolor-usart.c 	port = digicolor_ports[co->index];
co                431 drivers/tty/serial/digicolor-usart.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                853 drivers/tty/serial/dz.c static void dz_console_print(struct console *co,
co                857 drivers/tty/serial/dz.c 	struct dz_port *dport = &dz_mux.dport[co->index];
co                864 drivers/tty/serial/dz.c static int __init dz_console_setup(struct console *co, char *options)
co                866 drivers/tty/serial/dz.c 	struct dz_port *dport = &dz_mux.dport[co->index];
co                886 drivers/tty/serial/dz.c 	return uart_set_options(&dport->port, co, baud, parity, bits, flow);
co                530 drivers/tty/serial/efm32-uart.c static void efm32_uart_console_write(struct console *co, const char *s,
co                533 drivers/tty/serial/efm32-uart.c 	struct efm32_uart_port *efm_port = efm32_uart_ports[co->index];
co                595 drivers/tty/serial/efm32-uart.c static int efm32_uart_console_setup(struct console *co, char *options)
co                604 drivers/tty/serial/efm32-uart.c 	if (co->index < 0 || co->index >= ARRAY_SIZE(efm32_uart_ports)) {
co                609 drivers/tty/serial/efm32-uart.c 						i, co->index);
co                610 drivers/tty/serial/efm32-uart.c 				co->index = i;
co                616 drivers/tty/serial/efm32-uart.c 	efm_port = efm32_uart_ports[co->index];
co                618 drivers/tty/serial/efm32-uart.c 		pr_warn("efm32-console: No port at %d\n", co->index);
co                637 drivers/tty/serial/efm32-uart.c 	return uart_set_options(&efm_port->port, co, baud, parity, bits, flow);
co                661 drivers/tty/serial/fsl_linflexuart.c linflex_console_write(struct console *co, const char *s, unsigned int count)
co                663 drivers/tty/serial/fsl_linflexuart.c 	struct uart_port *sport = linflex_ports[co->index];
co                713 drivers/tty/serial/fsl_linflexuart.c static int __init linflex_console_setup(struct console *co, char *options)
co                728 drivers/tty/serial/fsl_linflexuart.c 	if (co->index == -1 || co->index >= ARRAY_SIZE(linflex_ports))
co                729 drivers/tty/serial/fsl_linflexuart.c 		co->index = 0;
co                731 drivers/tty/serial/fsl_linflexuart.c 	sport = linflex_ports[co->index];
co                756 drivers/tty/serial/fsl_linflexuart.c 	ret = uart_set_options(sport, co, baud, parity, bits, flow);
co               2091 drivers/tty/serial/fsl_lpuart.c lpuart_console_write(struct console *co, const char *s, unsigned int count)
co               2093 drivers/tty/serial/fsl_lpuart.c 	struct lpuart_port *sport = lpuart_ports[co->index];
co               2121 drivers/tty/serial/fsl_lpuart.c lpuart32_console_write(struct console *co, const char *s, unsigned int count)
co               2123 drivers/tty/serial/fsl_lpuart.c 	struct lpuart_port *sport = lpuart_ports[co->index];
co               2246 drivers/tty/serial/fsl_lpuart.c static int __init lpuart_console_setup(struct console *co, char *options)
co               2259 drivers/tty/serial/fsl_lpuart.c 	if (co->index == -1 || co->index >= ARRAY_SIZE(lpuart_ports))
co               2260 drivers/tty/serial/fsl_lpuart.c 		co->index = 0;
co               2262 drivers/tty/serial/fsl_lpuart.c 	sport = lpuart_ports[co->index];
co               2279 drivers/tty/serial/fsl_lpuart.c 	return uart_set_options(&sport->port, co, baud, parity, bits, flow);
co               1932 drivers/tty/serial/imx.c imx_uart_console_write(struct console *co, const char *s, unsigned int count)
co               1934 drivers/tty/serial/imx.c 	struct imx_port *sport = imx_uart_ports[co->index];
co               2053 drivers/tty/serial/imx.c imx_uart_console_setup(struct console *co, char *options)
co               2067 drivers/tty/serial/imx.c 	if (co->index == -1 || co->index >= ARRAY_SIZE(imx_uart_ports))
co               2068 drivers/tty/serial/imx.c 		co->index = 0;
co               2069 drivers/tty/serial/imx.c 	sport = imx_uart_ports[co->index];
co               2085 drivers/tty/serial/imx.c 	retval = uart_set_options(&sport->port, co, baud, parity, bits, flow);
co                 44 drivers/tty/serial/kgdb_nmi.c static int kgdb_nmi_console_setup(struct console *co, char *options)
co                 58 drivers/tty/serial/kgdb_nmi.c static void kgdb_nmi_console_write(struct console *co, const char *s, uint c)
co                 68 drivers/tty/serial/kgdb_nmi.c static struct tty_driver *kgdb_nmi_console_device(struct console *co, int *idx)
co                 70 drivers/tty/serial/kgdb_nmi.c 	*idx = co->index;
co                623 drivers/tty/serial/lantiq.c lqasc_console_write(struct console *co, const char *s, u_int count)
co                628 drivers/tty/serial/lantiq.c 	if (co->index >= MAXPORTS)
co                631 drivers/tty/serial/lantiq.c 	ltq_port = lqasc_port[co->index];
co                641 drivers/tty/serial/lantiq.c lqasc_console_setup(struct console *co, char *options)
co                650 drivers/tty/serial/lantiq.c 	if (co->index >= MAXPORTS)
co                653 drivers/tty/serial/lantiq.c 	ltq_port = lqasc_port[co->index];
co                666 drivers/tty/serial/lantiq.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                687 drivers/tty/serial/lantiq.c static void lqasc_serial_early_console_write(struct console *co,
co                691 drivers/tty/serial/lantiq.c 	struct earlycon_device *dev = co->data;
co                132 drivers/tty/serial/lpc32xx_hs.c static void lpc32xx_hsuart_console_write(struct console *co, const char *s,
co                135 drivers/tty/serial/lpc32xx_hs.c 	struct lpc32xx_hsuart_port *up = &lpc32xx_hs_ports[co->index];
co                156 drivers/tty/serial/lpc32xx_hs.c static int __init lpc32xx_hsuart_console_setup(struct console *co,
co                165 drivers/tty/serial/lpc32xx_hs.c 	if (co->index >= MAX_PORTS)
co                166 drivers/tty/serial/lpc32xx_hs.c 		co->index = 0;
co                168 drivers/tty/serial/lpc32xx_hs.c 	port = &lpc32xx_hs_ports[co->index].port;
co                177 drivers/tty/serial/lpc32xx_hs.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                516 drivers/tty/serial/mcf.c static void mcf_console_putc(struct console *co, const char c)
co                518 drivers/tty/serial/mcf.c 	struct uart_port *port = &(mcf_ports + co->index)->port;
co                534 drivers/tty/serial/mcf.c static void mcf_console_write(struct console *co, const char *s, unsigned int count)
co                537 drivers/tty/serial/mcf.c 		mcf_console_putc(co, *s);
co                539 drivers/tty/serial/mcf.c 			mcf_console_putc(co, '\r');
co                545 drivers/tty/serial/mcf.c static int __init mcf_console_setup(struct console *co, char *options)
co                553 drivers/tty/serial/mcf.c 	if ((co->index < 0) || (co->index >= MCF_MAXPORTS))
co                554 drivers/tty/serial/mcf.c 		co->index = 0;
co                555 drivers/tty/serial/mcf.c 	port = &mcf_ports[co->index].port;
co                562 drivers/tty/serial/mcf.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                496 drivers/tty/serial/meson_uart.c static void meson_serial_console_write(struct console *co, const char *s,
co                501 drivers/tty/serial/meson_uart.c 	port = meson_ports[co->index];
co                508 drivers/tty/serial/meson_uart.c static int meson_serial_console_setup(struct console *co, char *options)
co                516 drivers/tty/serial/meson_uart.c 	if (co->index < 0 || co->index >= AML_UART_PORT_NUM)
co                519 drivers/tty/serial/meson_uart.c 	port = meson_ports[co->index];
co                528 drivers/tty/serial/meson_uart.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                548 drivers/tty/serial/meson_uart.c static void meson_serial_early_console_write(struct console *co,
co                552 drivers/tty/serial/meson_uart.c 	struct earlycon_device *dev = co->data;
co                415 drivers/tty/serial/milbeaut_usio.c static void mlb_usio_console_write(struct console *co, const char *s,
co                418 drivers/tty/serial/milbeaut_usio.c 	struct uart_port *port = &mlb_usio_ports[co->index];
co                423 drivers/tty/serial/milbeaut_usio.c static int __init mlb_usio_console_setup(struct console *co, char *options)
co                431 drivers/tty/serial/milbeaut_usio.c 	if (co->index >= CONFIG_SERIAL_MILBEAUT_USIO_PORTS)
co                434 drivers/tty/serial/milbeaut_usio.c 	port = &mlb_usio_ports[co->index];
co                445 drivers/tty/serial/milbeaut_usio.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                468 drivers/tty/serial/milbeaut_usio.c static void mlb_usio_early_console_write(struct console *co, const char *s,
co                471 drivers/tty/serial/milbeaut_usio.c 	struct earlycon_device *dev = co->data;
co               1574 drivers/tty/serial/mpc52xx_uart.c mpc52xx_console_write(struct console *co, const char *s, unsigned int count)
co               1576 drivers/tty/serial/mpc52xx_uart.c 	struct uart_port *port = &mpc52xx_uart_ports[co->index];
co               1608 drivers/tty/serial/mpc52xx_uart.c mpc52xx_console_setup(struct console *co, char *options)
co               1610 drivers/tty/serial/mpc52xx_uart.c 	struct uart_port *port = &mpc52xx_uart_ports[co->index];
co               1611 drivers/tty/serial/mpc52xx_uart.c 	struct device_node *np = mpc52xx_uart_nodes[co->index];
co               1622 drivers/tty/serial/mpc52xx_uart.c 		 co, co->index, options);
co               1624 drivers/tty/serial/mpc52xx_uart.c 	if ((co->index < 0) || (co->index >= MPC52xx_PSC_MAXNUM)) {
co               1625 drivers/tty/serial/mpc52xx_uart.c 		pr_debug("PSC%x out of range\n", co->index);
co               1630 drivers/tty/serial/mpc52xx_uart.c 		pr_debug("PSC%x not found in device tree\n", co->index);
co               1635 drivers/tty/serial/mpc52xx_uart.c 		 co->index, mpc52xx_uart_nodes[co->index]);
co               1640 drivers/tty/serial/mpc52xx_uart.c 		pr_debug("Could not get resources for PSC%x\n", co->index);
co               1675 drivers/tty/serial/mpc52xx_uart.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                443 drivers/tty/serial/mps2-uart.c static void mps2_uart_console_write(struct console *co, const char *s, unsigned int cnt)
co                445 drivers/tty/serial/mps2-uart.c 	struct mps2_uart_port *mps_port = idr_find(&ports_idr, co->index);
co                451 drivers/tty/serial/mps2-uart.c static int mps2_uart_console_setup(struct console *co, char *options)
co                459 drivers/tty/serial/mps2-uart.c 	if (co->index < 0 || co->index >= MPS2_MAX_PORTS)
co                462 drivers/tty/serial/mps2-uart.c 	mps_port = idr_find(&ports_idr, co->index);
co                470 drivers/tty/serial/mps2-uart.c 	return uart_set_options(&mps_port->port, co, baud, parity, bits, flow);
co               1643 drivers/tty/serial/msm_serial.c static void msm_console_write(struct console *co, const char *s,
co               1649 drivers/tty/serial/msm_serial.c 	BUG_ON(co->index < 0 || co->index >= UART_NR);
co               1651 drivers/tty/serial/msm_serial.c 	port = msm_get_port_from_line(co->index);
co               1657 drivers/tty/serial/msm_serial.c static int msm_console_setup(struct console *co, char *options)
co               1665 drivers/tty/serial/msm_serial.c 	if (unlikely(co->index >= UART_NR || co->index < 0))
co               1668 drivers/tty/serial/msm_serial.c 	port = msm_get_port_from_line(co->index);
co               1680 drivers/tty/serial/msm_serial.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                391 drivers/tty/serial/mux.c static void mux_console_write(struct console *co, const char *s, unsigned count)
co                406 drivers/tty/serial/mux.c static int mux_console_setup(struct console *co, char *options)
co                657 drivers/tty/serial/mvebu-uart.c static void mvebu_uart_console_write(struct console *co, const char *s,
co                660 drivers/tty/serial/mvebu-uart.c 	struct uart_port *port = &mvebu_uart_ports[co->index];
co                692 drivers/tty/serial/mvebu-uart.c static int mvebu_uart_console_setup(struct console *co, char *options)
co                700 drivers/tty/serial/mvebu-uart.c 	if (co->index < 0 || co->index >= MVEBU_NR_UARTS)
co                703 drivers/tty/serial/mvebu-uart.c 	port = &mvebu_uart_ports[co->index];
co                706 drivers/tty/serial/mvebu-uart.c 		pr_debug("console on ttyMV%i not present\n", co->index);
co                713 drivers/tty/serial/mvebu-uart.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co               1355 drivers/tty/serial/mxs-auart.c auart_console_write(struct console *co, const char *str, unsigned int count)
co               1362 drivers/tty/serial/mxs-auart.c 	if (co->index >= MXS_AUART_PORTS || co->index < 0)
co               1365 drivers/tty/serial/mxs-auart.c 	s = auart_port[co->index];
co               1436 drivers/tty/serial/mxs-auart.c auart_console_setup(struct console *co, char *options)
co               1450 drivers/tty/serial/mxs-auart.c 	if (co->index == -1 || co->index >= ARRAY_SIZE(auart_port))
co               1451 drivers/tty/serial/mxs-auart.c 		co->index = 0;
co               1452 drivers/tty/serial/mxs-auart.c 	s = auart_port[co->index];
co               1465 drivers/tty/serial/mxs-auart.c 	ret = uart_set_options(&s->port, co, baud, parity, bits, flow);
co               1300 drivers/tty/serial/omap-serial.c serial_omap_console_write(struct console *co, const char *s,
co               1303 drivers/tty/serial/omap-serial.c 	struct uart_omap_port *up = serial_omap_console_ports[co->index];
co               1350 drivers/tty/serial/omap-serial.c serial_omap_console_setup(struct console *co, char *options)
co               1358 drivers/tty/serial/omap-serial.c 	if (serial_omap_console_ports[co->index] == NULL)
co               1360 drivers/tty/serial/omap-serial.c 	up = serial_omap_console_ports[co->index];
co               1365 drivers/tty/serial/omap-serial.c 	return uart_set_options(&up->port, co, baud, parity, bits, flow);
co                537 drivers/tty/serial/owl-uart.c static void owl_uart_console_write(struct console *co, const char *s,
co                542 drivers/tty/serial/owl-uart.c 	owl_port = owl_uart_ports[co->index];
co                549 drivers/tty/serial/owl-uart.c static int owl_uart_console_setup(struct console *co, char *options)
co                557 drivers/tty/serial/owl-uart.c 	if (co->index < 0 || co->index >= OWL_UART_PORT_NUM)
co                560 drivers/tty/serial/owl-uart.c 	owl_port = owl_uart_ports[co->index];
co                567 drivers/tty/serial/owl-uart.c 	return uart_set_options(&owl_port->port, co, baud, parity, bits, flow);
co                588 drivers/tty/serial/owl-uart.c static void owl_uart_early_console_write(struct console *co,
co                592 drivers/tty/serial/owl-uart.c 	struct earlycon_device *dev = co->data;
co               1630 drivers/tty/serial/pch_uart.c pch_console_write(struct console *co, const char *s, unsigned int count)
co               1638 drivers/tty/serial/pch_uart.c 	priv = pch_uart_ports[co->index];
co               1679 drivers/tty/serial/pch_uart.c static int __init pch_console_setup(struct console *co, char *options)
co               1692 drivers/tty/serial/pch_uart.c 	if (co->index >= PCH_UART_NR)
co               1693 drivers/tty/serial/pch_uart.c 		co->index = 0;
co               1694 drivers/tty/serial/pch_uart.c 	port = &pch_uart_ports[co->index]->port;
co               1704 drivers/tty/serial/pch_uart.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                711 drivers/tty/serial/pic32_uart.c static void pic32_console_write(struct console *co, const char *s,
co                714 drivers/tty/serial/pic32_uart.c 	struct pic32_sport *sport = pic32_sports[co->index];
co                724 drivers/tty/serial/pic32_uart.c static int pic32_console_setup(struct console *co, char *options)
co                734 drivers/tty/serial/pic32_uart.c 	if (unlikely(co->index < 0 || co->index >= PIC32_MAX_UARTS))
co                737 drivers/tty/serial/pic32_uart.c 	sport = pic32_sports[co->index];
co                749 drivers/tty/serial/pic32_uart.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co               1800 drivers/tty/serial/pmac_zilog.c static int __init pmz_console_setup(struct console *co, char *options);
co               1979 drivers/tty/serial/pmac_zilog.c static int __init pmz_console_setup(struct console *co, char *options)
co               2002 drivers/tty/serial/pmac_zilog.c 	if (co->index >= pmz_ports_count)
co               2003 drivers/tty/serial/pmac_zilog.c 		co->index = 0;
co               2004 drivers/tty/serial/pmac_zilog.c 	uap = &pmz_ports[co->index];
co               2034 drivers/tty/serial/pmac_zilog.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                688 drivers/tty/serial/pnx8xxx_uart.c pnx8xxx_console_write(struct console *co, const char *s, unsigned int count)
co                690 drivers/tty/serial/pnx8xxx_uart.c 	struct pnx8xxx_port *sport = &pnx8xxx_ports[co->index];
co                719 drivers/tty/serial/pnx8xxx_uart.c pnx8xxx_console_setup(struct console *co, char *options)
co                732 drivers/tty/serial/pnx8xxx_uart.c 	if (co->index == -1 || co->index >= NR_PORTS)
co                733 drivers/tty/serial/pnx8xxx_uart.c 		co->index = 0;
co                734 drivers/tty/serial/pnx8xxx_uart.c 	sport = &pnx8xxx_ports[co->index];
co                739 drivers/tty/serial/pnx8xxx_uart.c 	return uart_set_options(&sport->port, co, baud, parity, bits, flow);
co                641 drivers/tty/serial/pxa.c serial_pxa_console_write(struct console *co, const char *s, unsigned int count)
co                643 drivers/tty/serial/pxa.c 	struct uart_pxa_port *up = serial_pxa_ports[co->index];
co                726 drivers/tty/serial/pxa.c serial_pxa_console_setup(struct console *co, char *options)
co                734 drivers/tty/serial/pxa.c 	if (co->index == -1 || co->index >= serial_pxa_reg.nr)
co                735 drivers/tty/serial/pxa.c 		co->index = 0;
co                736 drivers/tty/serial/pxa.c 	up = serial_pxa_ports[co->index];
co                743 drivers/tty/serial/pxa.c 	return uart_set_options(&up->port, co, baud, parity, bits, flow);
co                418 drivers/tty/serial/qcom_geni_serial.c static void qcom_geni_serial_console_write(struct console *co, const char *s,
co                428 drivers/tty/serial/qcom_geni_serial.c 	WARN_ON(co->index < 0 || co->index >= GENI_UART_CONS_PORTS);
co                430 drivers/tty/serial/qcom_geni_serial.c 	port = get_port_from_line(co->index, true);
co               1066 drivers/tty/serial/qcom_geni_serial.c static int __init qcom_geni_console_setup(struct console *co, char *options)
co               1076 drivers/tty/serial/qcom_geni_serial.c 	if (co->index >= GENI_UART_CONS_PORTS  || co->index < 0)
co               1079 drivers/tty/serial/qcom_geni_serial.c 	port = get_port_from_line(co->index, true);
co               1081 drivers/tty/serial/qcom_geni_serial.c 		pr_err("Invalid line %d\n", co->index);
co               1099 drivers/tty/serial/qcom_geni_serial.c 	return uart_set_options(uport, co, baud, parity, bits, flow);
co                624 drivers/tty/serial/rda-uart.c static void rda_uart_console_write(struct console *co, const char *s,
co                629 drivers/tty/serial/rda-uart.c 	rda_port = rda_uart_ports[co->index];
co                636 drivers/tty/serial/rda-uart.c static int rda_uart_console_setup(struct console *co, char *options)
co                644 drivers/tty/serial/rda-uart.c 	if (co->index < 0 || co->index >= RDA_UART_PORT_NUM)
co                647 drivers/tty/serial/rda-uart.c 	rda_port = rda_uart_ports[co->index];
co                654 drivers/tty/serial/rda-uart.c 	return uart_set_options(&rda_port->port, co, baud, parity, bits, flow);
co                675 drivers/tty/serial/rda-uart.c static void rda_uart_early_console_write(struct console *co,
co                679 drivers/tty/serial/rda-uart.c 	struct earlycon_device *dev = co->data;
co                720 drivers/tty/serial/sa1100.c sa1100_console_write(struct console *co, const char *s, unsigned int count)
co                722 drivers/tty/serial/sa1100.c 	struct sa1100_port *sport = &sa1100_ports[co->index];
co                781 drivers/tty/serial/sa1100.c sa1100_console_setup(struct console *co, char *options)
co                794 drivers/tty/serial/sa1100.c 	if (co->index == -1 || co->index >= NR_PORTS)
co                795 drivers/tty/serial/sa1100.c 		co->index = 0;
co                796 drivers/tty/serial/sa1100.c 	sport = &sa1100_ports[co->index];
co                803 drivers/tty/serial/sa1100.c 	return uart_set_options(&sport->port, co, baud, parity, bits, flow);
co               2118 drivers/tty/serial/samsung.c s3c24xx_serial_console_write(struct console *co, const char *s,
co               2199 drivers/tty/serial/samsung.c s3c24xx_serial_console_setup(struct console *co, char *options)
co               2208 drivers/tty/serial/samsung.c 	    co, co->index, options);
co               2212 drivers/tty/serial/samsung.c 	if (co->index == -1 || co->index >= CONFIG_SERIAL_SAMSUNG_UARTS)
co               2213 drivers/tty/serial/samsung.c 		co->index = 0;
co               2215 drivers/tty/serial/samsung.c 	port = &s3c24xx_serial_ports[co->index].port;
co               2224 drivers/tty/serial/samsung.c 	dbg("s3c24xx_serial_console_setup: port=%p (%d)\n", port, co->index);
co               2238 drivers/tty/serial/samsung.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                835 drivers/tty/serial/sb1250-duart.c static void sbd_console_write(struct console *co, const char *s,
co                838 drivers/tty/serial/sb1250-duart.c 	int chip = co->index / DUART_MAX_SIDE;
co                839 drivers/tty/serial/sb1250-duart.c 	int side = co->index % DUART_MAX_SIDE;
co                864 drivers/tty/serial/sb1250-duart.c static int __init sbd_console_setup(struct console *co, char *options)
co                866 drivers/tty/serial/sb1250-duart.c 	int chip = co->index / DUART_MAX_SIDE;
co                867 drivers/tty/serial/sb1250-duart.c 	int side = co->index % DUART_MAX_SIDE;
co                887 drivers/tty/serial/sb1250-duart.c 	return uart_set_options(uport, co, baud, parity, bits, flow);
co                848 drivers/tty/serial/sccnxp.c static void sccnxp_console_write(struct console *co, const char *c, unsigned n)
co                850 drivers/tty/serial/sccnxp.c 	struct sccnxp_port *s = (struct sccnxp_port *)co->data;
co                851 drivers/tty/serial/sccnxp.c 	struct uart_port *port = &s->port[co->index];
co                859 drivers/tty/serial/sccnxp.c static int sccnxp_console_setup(struct console *co, char *options)
co                861 drivers/tty/serial/sccnxp.c 	struct sccnxp_port *s = (struct sccnxp_port *)co->data;
co                862 drivers/tty/serial/sccnxp.c 	struct uart_port *port = &s->port[(co->index > 0) ? co->index : 0];
co                868 drivers/tty/serial/sccnxp.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co               1939 drivers/tty/serial/serial_core.c uart_get_console(struct uart_port *ports, int nr, struct console *co)
co               1941 drivers/tty/serial/serial_core.c 	int idx = co->index;
co               1950 drivers/tty/serial/serial_core.c 	co->index = idx;
co               2057 drivers/tty/serial/serial_core.c uart_set_options(struct uart_port *port, struct console *co,
co               2107 drivers/tty/serial/serial_core.c 	if (co)
co               2108 drivers/tty/serial/serial_core.c 		co->cflag = termios.c_cflag;
co               2600 drivers/tty/serial/serial_core.c struct tty_driver *uart_console_device(struct console *co, int *index)
co               2602 drivers/tty/serial/serial_core.c 	struct uart_driver *p = co->data;
co               2603 drivers/tty/serial/serial_core.c 	*index = co->index;
co                901 drivers/tty/serial/serial_txx9.c serial_txx9_console_write(struct console *co, const char *s, unsigned int count)
co                903 drivers/tty/serial/serial_txx9.c 	struct uart_txx9_port *up = &serial_txx9_ports[co->index];
co                929 drivers/tty/serial/serial_txx9.c static int __init serial_txx9_console_setup(struct console *co, char *options)
co                943 drivers/tty/serial/serial_txx9.c 	if (co->index >= UART_NR)
co                944 drivers/tty/serial/serial_txx9.c 		co->index = 0;
co                945 drivers/tty/serial/serial_txx9.c 	up = &serial_txx9_ports[co->index];
co                955 drivers/tty/serial/serial_txx9.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co               3015 drivers/tty/serial/sh-sci.c static void serial_console_write(struct console *co, const char *s,
co               3018 drivers/tty/serial/sh-sci.c 	struct sci_port *sci_port = &sci_ports[co->index];
co               3055 drivers/tty/serial/sh-sci.c static int serial_console_setup(struct console *co, char *options)
co               3068 drivers/tty/serial/sh-sci.c 	if (co->index < 0 || co->index >= SCI_NPORTS)
co               3071 drivers/tty/serial/sh-sci.c 	sci_port = &sci_ports[co->index];
co               3087 drivers/tty/serial/sh-sci.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                769 drivers/tty/serial/sifive.c static void sifive_serial_console_write(struct console *co, const char *s,
co                772 drivers/tty/serial/sifive.c 	struct sifive_serial_port *ssp = sifive_serial_console_ports[co->index];
co                800 drivers/tty/serial/sifive.c static int __init sifive_serial_console_setup(struct console *co, char *options)
co                808 drivers/tty/serial/sifive.c 	if (co->index < 0 || co->index >= SIFIVE_SERIAL_MAX_PORTS)
co                811 drivers/tty/serial/sifive.c 	ssp = sifive_serial_console_ports[co->index];
co                818 drivers/tty/serial/sifive.c 	return uart_set_options(&ssp->port, co, baud, parity, bits, flow);
co               1084 drivers/tty/serial/sirfsoc_uart.c sirfsoc_uart_console_setup(struct console *co, char *options)
co               1092 drivers/tty/serial/sirfsoc_uart.c 	if (co->index < 0 || co->index >= SIRFSOC_UART_NR)
co               1093 drivers/tty/serial/sirfsoc_uart.c 		co->index = 1;
co               1094 drivers/tty/serial/sirfsoc_uart.c 	sirfport = sirf_ports[co->index];
co               1107 drivers/tty/serial/sirfsoc_uart.c 	sirfport->port.cons = co;
co               1112 drivers/tty/serial/sirfsoc_uart.c 	return uart_set_options(&sirfport->port, co, baud, parity, bits, flow);
co               1126 drivers/tty/serial/sirfsoc_uart.c static void sirfsoc_uart_console_write(struct console *co, const char *s,
co               1129 drivers/tty/serial/sirfsoc_uart.c 	struct sirfsoc_uart_port *sirfport = sirf_ports[co->index];
co                964 drivers/tty/serial/sprd_serial.c static void sprd_console_write(struct console *co, const char *s,
co                967 drivers/tty/serial/sprd_serial.c 	struct uart_port *port = &sprd_port[co->index]->port;
co                987 drivers/tty/serial/sprd_serial.c static int __init sprd_console_setup(struct console *co, char *options)
co                995 drivers/tty/serial/sprd_serial.c 	if (co->index >= UART_NR_MAX || co->index < 0)
co                996 drivers/tty/serial/sprd_serial.c 		co->index = 0;
co                998 drivers/tty/serial/sprd_serial.c 	sprd_uart_port = sprd_port[co->index];
co               1000 drivers/tty/serial/sprd_serial.c 		pr_info("serial port %d not yet initialized\n", co->index);
co               1007 drivers/tty/serial/sprd_serial.c 	return uart_set_options(&sprd_uart_port->port, co, baud,
co                878 drivers/tty/serial/st-asc.c static void asc_console_write(struct console *co, const char *s, unsigned count)
co                880 drivers/tty/serial/st-asc.c 	struct uart_port *port = &asc_ports[co->index].port;
co                912 drivers/tty/serial/st-asc.c static int asc_console_setup(struct console *co, char *options)
co                920 drivers/tty/serial/st-asc.c 	if (co->index >= ASC_MAX_PORTS)
co                923 drivers/tty/serial/st-asc.c 	ascport = &asc_ports[co->index];
co                937 drivers/tty/serial/st-asc.c 	return uart_set_options(&ascport->port, co, baud, parity, bits, flow);
co               1258 drivers/tty/serial/stm32-usart.c static void stm32_console_write(struct console *co, const char *s, unsigned cnt)
co               1260 drivers/tty/serial/stm32-usart.c 	struct uart_port *port = &stm32_ports[co->index].port;
co               1292 drivers/tty/serial/stm32-usart.c static int stm32_console_setup(struct console *co, char *options)
co               1300 drivers/tty/serial/stm32-usart.c 	if (co->index >= STM32_MAX_PORTS)
co               1303 drivers/tty/serial/stm32-usart.c 	stm32port = &stm32_ports[co->index];
co               1317 drivers/tty/serial/stm32-usart.c 	return uart_set_options(&stm32port->port, co, baud, parity, bits, flow);
co               1304 drivers/tty/serial/sunsu.c static void sunsu_console_write(struct console *co, const char *s,
co               1307 drivers/tty/serial/sunsu.c 	struct uart_sunsu_port *up = &sunsu_ports[co->index];
co               1342 drivers/tty/serial/sunsu.c static int __init sunsu_console_setup(struct console *co, char *options)
co               1349 drivers/tty/serial/sunsu.c 	       (sunsu_reg.minor - 64) + co->index);
co               1351 drivers/tty/serial/sunsu.c 	if (co->index > nr_inst)
co               1353 drivers/tty/serial/sunsu.c 	port = &sunsu_ports[co->index].port;
co               1361 drivers/tty/serial/sunsu.c 	sunserial_console_termios(co, port->dev->of_node);
co               1364 drivers/tty/serial/sunsu.c 	termios.c_cflag = co->cflag;
co                480 drivers/tty/serial/uartlite.c static void ulite_console_write(struct console *co, const char *s,
co                509 drivers/tty/serial/uartlite.c static int ulite_console_setup(struct console *co, char *options)
co                522 drivers/tty/serial/uartlite.c 		pr_debug("console on ttyUL%i not present\n", co->index);
co                535 drivers/tty/serial/uartlite.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co                499 drivers/tty/serial/vt8500_serial.c static void vt8500_console_write(struct console *co, const char *s,
co                502 drivers/tty/serial/vt8500_serial.c 	struct vt8500_port *vt8500_port = vt8500_uart_ports[co->index];
co                505 drivers/tty/serial/vt8500_serial.c 	BUG_ON(co->index < 0 || co->index >= vt8500_uart_driver.nr);
co                521 drivers/tty/serial/vt8500_serial.c static int __init vt8500_console_setup(struct console *co, char *options)
co                529 drivers/tty/serial/vt8500_serial.c 	if (unlikely(co->index >= vt8500_uart_driver.nr || co->index < 0))
co                532 drivers/tty/serial/vt8500_serial.c 	vt8500_port = vt8500_uart_ports[co->index];
co                541 drivers/tty/serial/vt8500_serial.c 				 co, baud, parity, bits, flow);
co               1195 drivers/tty/serial/xilinx_uartps.c static void cdns_uart_console_write(struct console *co, const char *s,
co               1243 drivers/tty/serial/xilinx_uartps.c static int cdns_uart_console_setup(struct console *co, char *options)
co               1254 drivers/tty/serial/xilinx_uartps.c 			 co->index);
co               1261 drivers/tty/serial/xilinx_uartps.c 	return uart_set_options(port, co, baud, parity, bits, flow);
co               1148 drivers/tty/serial/zs.c static void zs_console_write(struct console *co, const char *s,
co               1151 drivers/tty/serial/zs.c 	int chip = co->index / ZS_NUM_CHAN, side = co->index % ZS_NUM_CHAN;
co               1199 drivers/tty/serial/zs.c static int __init zs_console_setup(struct console *co, char *options)
co               1201 drivers/tty/serial/zs.c 	int chip = co->index / ZS_NUM_CHAN, side = co->index % ZS_NUM_CHAN;
co               1219 drivers/tty/serial/zs.c 	return uart_set_options(uport, co, baud, parity, bits, flow);
co               2946 drivers/tty/vt/vt.c static void vt_console_print(struct console *co, const char *b, unsigned count)
co               1036 drivers/usb/gadget/function/u_serial.c static int gs_console_setup(struct console *co, char *options)
co               1053 drivers/usb/gadget/function/u_serial.c 					      co, "gs_console");
co               1064 drivers/usb/gadget/function/u_serial.c static void gs_console_write(struct console *co,
co               1077 drivers/usb/gadget/function/u_serial.c static struct tty_driver *gs_console_device(struct console *co, int *index)
co               1079 drivers/usb/gadget/function/u_serial.c 	struct tty_driver **p = (struct tty_driver **)co->data;
co               1084 drivers/usb/gadget/function/u_serial.c 	*index = co->index;
co                 55 drivers/usb/serial/console.c static int usb_console_setup(struct console *co, char *options)
co                109 drivers/usb/serial/console.c 	port = usb_serial_port_get_by_minor(co->index);
co                112 drivers/usb/serial/console.c 		pr_err("No USB device connected to ttyUSB%i\n", co->index);
co                140 drivers/usb/serial/console.c 			tty->index = co->index;
co                194 drivers/usb/serial/console.c static void usb_console_write(struct console *co,
co                243 drivers/usb/serial/console.c static struct tty_driver *usb_console_device(struct console *co, int *index)
co                245 drivers/usb/serial/console.c 	struct tty_driver **p = (struct tty_driver **)co->data;
co                250 drivers/usb/serial/console.c 	*index = co->index;
co                631 fs/nfsd/nfs4state.c 	struct nfs4_clnt_odstate *co;
co                633 fs/nfsd/nfs4state.c 	co = kmem_cache_zalloc(odstate_slab, GFP_KERNEL);
co                634 fs/nfsd/nfs4state.c 	if (co) {
co                635 fs/nfsd/nfs4state.c 		co->co_client = clp;
co                636 fs/nfsd/nfs4state.c 		refcount_set(&co->co_odcount, 1);
co                638 fs/nfsd/nfs4state.c 	return co;
co                642 fs/nfsd/nfs4state.c hash_clnt_odstate_locked(struct nfs4_clnt_odstate *co)
co                644 fs/nfsd/nfs4state.c 	struct nfs4_file *fp = co->co_file;
co                647 fs/nfsd/nfs4state.c 	list_add(&co->co_perfile, &fp->fi_clnt_odstate);
co                651 fs/nfsd/nfs4state.c get_clnt_odstate(struct nfs4_clnt_odstate *co)
co                653 fs/nfsd/nfs4state.c 	if (co)
co                654 fs/nfsd/nfs4state.c 		refcount_inc(&co->co_odcount);
co                658 fs/nfsd/nfs4state.c put_clnt_odstate(struct nfs4_clnt_odstate *co)
co                662 fs/nfsd/nfs4state.c 	if (!co)
co                665 fs/nfsd/nfs4state.c 	fp = co->co_file;
co                666 fs/nfsd/nfs4state.c 	if (refcount_dec_and_lock(&co->co_odcount, &fp->fi_lock)) {
co                667 fs/nfsd/nfs4state.c 		list_del(&co->co_perfile);
co                670 fs/nfsd/nfs4state.c 		nfsd4_return_all_file_layouts(co->co_client, fp);
co                671 fs/nfsd/nfs4state.c 		kmem_cache_free(odstate_slab, co);
co                678 fs/nfsd/nfs4state.c 	struct nfs4_clnt_odstate *co;
co                687 fs/nfsd/nfs4state.c 	list_for_each_entry(co, &fp->fi_clnt_odstate, co_perfile) {
co                688 fs/nfsd/nfs4state.c 		if (co->co_client == cl) {
co                689 fs/nfsd/nfs4state.c 			get_clnt_odstate(co);
co                693 fs/nfsd/nfs4state.c 	co = new;
co                694 fs/nfsd/nfs4state.c 	co->co_file = fp;
co                698 fs/nfsd/nfs4state.c 	return co;
co                409 fs/xfs/scrub/btree.c 	struct check_owner	*co;
co                432 fs/xfs/scrub/btree.c 		co = kmem_alloc(sizeof(struct check_owner),
co                434 fs/xfs/scrub/btree.c 		if (!co)
co                436 fs/xfs/scrub/btree.c 		co->level = level;
co                437 fs/xfs/scrub/btree.c 		co->daddr = XFS_BUF_ADDR(bp);
co                438 fs/xfs/scrub/btree.c 		list_add_tail(&co->list, &bs->to_check);
co                608 fs/xfs/scrub/btree.c 	struct check_owner		*co;
co                696 fs/xfs/scrub/btree.c 	list_for_each_entry_safe(co, n, &bs.to_check, list) {
co                699 fs/xfs/scrub/btree.c 					co->level, co->daddr);
co                700 fs/xfs/scrub/btree.c 		list_del(&co->list);
co                701 fs/xfs/scrub/btree.c 		kmem_free(co);
co                156 include/linux/fsl/guts.h 	unsigned int co, unsigned int ch, unsigned int device)
co                158 include/linux/fsl/guts.h 	unsigned int shift = 16 + (8 * (1 - co) + 2 * (3 - ch));
co                192 include/linux/fsl/guts.h 	unsigned int co, unsigned int ch, unsigned int value)
co                195 include/linux/fsl/guts.h 		unsigned int shift = 2 * (co + 1) - (ch & 1) - 1;
co                400 include/linux/serial_core.h int uart_set_options(struct uart_port *port, struct console *co, int baud,
co                402 include/linux/serial_core.h struct tty_driver *uart_console_device(struct console *co, int *index);
co                848 kernel/debug/debug_core.c static void kgdb_console_write(struct console *co, const char *s,
co                 47 sound/soc/fsl/p1022_ds.c 	unsigned int co, unsigned int ch, unsigned int device)
co                 49 sound/soc/fsl/p1022_ds.c 	unsigned int shift = 16 + (8 * (1 - co) + 2 * (3 - ch));
co                 54 sound/soc/fsl/p1022_rdk.c 	unsigned int co, unsigned int ch, unsigned int device)
co                 56 sound/soc/fsl/p1022_rdk.c 	unsigned int shift = 16 + (8 * (1 - co) + 2 * (3 - ch));