Lines Matching defs:cons
203 struct console cons;
239 struct console *cons;
243 list_for_each_entry(cons, &pdrvdata.consoles, list) {
244 if (cons->vtermno == vtermno) {
245 port = container_of(cons, struct port, cons);
327 if (port->cons.hvc)
1172 hvc_resize(port->cons.hvc, port->cons.ws);
1244 port->cons.vtermno = ret;
1245 port->cons.hvc = hvc_alloc(port->cons.vtermno, 0, &hv_ops, PAGE_SIZE);
1246 if (IS_ERR(port->cons.hvc)) {
1247 ret = PTR_ERR(port->cons.hvc);
1250 port->cons.hvc = NULL;
1251 ida_free(&vtermno_ida, port->cons.vtermno);
1255 list_add_tail(&port->cons.list, &pdrvdata.consoles);
1307 seq_printf(s, "console_vtermno: %u\n", port->cons.vtermno);
1319 port->cons.ws.ws_row = rows;
1320 port->cons.ws.ws_col = cols;
1374 port->cons.hvc = NULL;
1377 port->cons.ws.ws_row = port->cons.ws.ws_col = 0;
1378 port->cons.vtermno = 0;
1528 list_del(&port->cons.list);
1530 hvc_remove(port->cons.hvc);
1531 ida_free(&vtermno_ida, port->cons.vtermno);
1626 port->cons.hvc->irq_requested = 1;
1787 if (is_console_port(port) && hvc_poll(port->cons.hvc))