con_driver        127 drivers/tty/vt/vt.c static struct con_driver registered_con_driver[MAX_NR_CON_DRIVER];
con_driver       3374 drivers/tty/vt/vt.c 		struct con_driver *con_driver = &registered_con_driver[i];
con_driver       3376 drivers/tty/vt/vt.c 		if (con_driver->con == NULL) {
con_driver       3377 drivers/tty/vt/vt.c 			con_driver->con = conswitchp;
con_driver       3378 drivers/tty/vt/vt.c 			con_driver->desc = display_desc;
con_driver       3379 drivers/tty/vt/vt.c 			con_driver->flag = CON_DRIVER_FLAG_INIT;
con_driver       3380 drivers/tty/vt/vt.c 			con_driver->first = 0;
con_driver       3381 drivers/tty/vt/vt.c 			con_driver->last = MAX_NR_CONSOLES - 1;
con_driver       3509 drivers/tty/vt/vt.c 	struct con_driver *con_driver;
con_driver       3519 drivers/tty/vt/vt.c 		con_driver = &registered_con_driver[i];
con_driver       3521 drivers/tty/vt/vt.c 		if (con_driver->con == csw) {
con_driver       3522 drivers/tty/vt/vt.c 			desc = con_driver->desc;
con_driver       3531 drivers/tty/vt/vt.c 	if (!(con_driver->flag & CON_DRIVER_FLAG_INIT)) {
con_driver       3533 drivers/tty/vt/vt.c 		con_driver->flag |= CON_DRIVER_FLAG_INIT;
con_driver       3544 drivers/tty/vt/vt.c 	first = max(first, con_driver->first);
con_driver       3545 drivers/tty/vt/vt.c 	last = min(last, con_driver->last);
con_driver       3612 drivers/tty/vt/vt.c 	struct con_driver *con_driver = NULL, *con_back = NULL;
con_driver       3622 drivers/tty/vt/vt.c 		con_driver = &registered_con_driver[i];
con_driver       3624 drivers/tty/vt/vt.c 		if (con_driver->con == csw &&
con_driver       3625 drivers/tty/vt/vt.c 		    con_driver->flag & CON_DRIVER_FLAG_MODULE) {
con_driver       3653 drivers/tty/vt/vt.c 	first = max(first, con_driver->first);
con_driver       3654 drivers/tty/vt/vt.c 	last = min(last, con_driver->last);
con_driver       3676 drivers/tty/vt/vt.c 		con_driver->flag &= ~CON_DRIVER_FLAG_INIT;
con_driver       3687 drivers/tty/vt/vt.c static int vt_bind(struct con_driver *con)
con_driver       3698 drivers/tty/vt/vt.c 		struct con_driver *con = &registered_con_driver[i];
con_driver       3737 drivers/tty/vt/vt.c static int vt_unbind(struct con_driver *con)
con_driver       3779 drivers/tty/vt/vt.c static inline int vt_bind(struct con_driver *con)
con_driver       3783 drivers/tty/vt/vt.c static inline int vt_unbind(struct con_driver *con)
con_driver       3792 drivers/tty/vt/vt.c 	struct con_driver *con = dev_get_drvdata(dev);
con_driver       3810 drivers/tty/vt/vt.c 	struct con_driver *con = dev_get_drvdata(dev);
con_driver       3823 drivers/tty/vt/vt.c 	struct con_driver *con = dev_get_drvdata(dev);
con_driver       3842 drivers/tty/vt/vt.c static int vtconsole_init_device(struct con_driver *con)
con_driver       3848 drivers/tty/vt/vt.c static void vtconsole_deinit_device(struct con_driver *con)
con_driver       3983 drivers/tty/vt/vt.c 	struct con_driver *con_driver;
con_driver       3993 drivers/tty/vt/vt.c 		con_driver = &registered_con_driver[i];
con_driver       3996 drivers/tty/vt/vt.c 		if (con_driver->con == csw) {
con_driver       4011 drivers/tty/vt/vt.c 		con_driver = &registered_con_driver[i];
con_driver       4013 drivers/tty/vt/vt.c 		if (con_driver->con == NULL &&
con_driver       4014 drivers/tty/vt/vt.c 		    !(con_driver->flag & CON_DRIVER_FLAG_ZOMBIE)) {
con_driver       4015 drivers/tty/vt/vt.c 			con_driver->con = csw;
con_driver       4016 drivers/tty/vt/vt.c 			con_driver->desc = desc;
con_driver       4017 drivers/tty/vt/vt.c 			con_driver->node = i;
con_driver       4018 drivers/tty/vt/vt.c 			con_driver->flag = CON_DRIVER_FLAG_MODULE |
con_driver       4020 drivers/tty/vt/vt.c 			con_driver->first = first;
con_driver       4021 drivers/tty/vt/vt.c 			con_driver->last = last;
con_driver       4030 drivers/tty/vt/vt.c 	con_driver->dev =
con_driver       4032 drivers/tty/vt/vt.c 					  MKDEV(0, con_driver->node),
con_driver       4033 drivers/tty/vt/vt.c 					  con_driver, con_dev_groups,
con_driver       4034 drivers/tty/vt/vt.c 					  "vtcon%i", con_driver->node);
con_driver       4035 drivers/tty/vt/vt.c 	if (IS_ERR(con_driver->dev)) {
con_driver       4037 drivers/tty/vt/vt.c 			con_driver->desc, PTR_ERR(con_driver->dev));
con_driver       4038 drivers/tty/vt/vt.c 		con_driver->dev = NULL;
con_driver       4040 drivers/tty/vt/vt.c 		vtconsole_init_device(con_driver);
con_driver       4072 drivers/tty/vt/vt.c 		struct con_driver *con_driver = &registered_con_driver[i];
con_driver       4074 drivers/tty/vt/vt.c 		if (con_driver->con == csw) {
con_driver       4085 drivers/tty/vt/vt.c 			con_driver->con = NULL;
con_driver       4086 drivers/tty/vt/vt.c 			con_driver->flag = CON_DRIVER_FLAG_ZOMBIE;
con_driver       4104 drivers/tty/vt/vt.c 		struct con_driver *con_driver = &registered_con_driver[i];
con_driver       4106 drivers/tty/vt/vt.c 		if (!(con_driver->flag & CON_DRIVER_FLAG_ZOMBIE))
con_driver       4111 drivers/tty/vt/vt.c 		vtconsole_deinit_device(con_driver);
con_driver       4112 drivers/tty/vt/vt.c 		device_destroy(vtconsole_class, MKDEV(0, con_driver->node));
con_driver       4116 drivers/tty/vt/vt.c 		if (WARN_ON_ONCE(con_driver->con))
con_driver       4117 drivers/tty/vt/vt.c 			con_driver->con = NULL;
con_driver       4118 drivers/tty/vt/vt.c 		con_driver->desc = NULL;
con_driver       4119 drivers/tty/vt/vt.c 		con_driver->dev = NULL;
con_driver       4120 drivers/tty/vt/vt.c 		con_driver->node = 0;
con_driver       4121 drivers/tty/vt/vt.c 		WARN_ON_ONCE(con_driver->flag != CON_DRIVER_FLAG_ZOMBIE);
con_driver       4122 drivers/tty/vt/vt.c 		con_driver->flag = 0;
con_driver       4123 drivers/tty/vt/vt.c 		con_driver->first = 0;
con_driver       4124 drivers/tty/vt/vt.c 		con_driver->last = 0;
con_driver       4181 drivers/tty/vt/vt.c 		struct con_driver *con = &registered_con_driver[i];