Lines Matching defs:cons
209 struct console cons;
245 struct console *cons;
249 list_for_each_entry(cons, &pdrvdata.consoles, list) {
250 if (cons->vtermno == vtermno) {
251 port = container_of(cons, struct port, cons);
333 if (port->cons.hvc)
1178 hvc_resize(port->cons.hvc, port->cons.ws);
1246 port->cons.vtermno = pdrvdata.next_vtermno;
1248 port->cons.hvc = hvc_alloc(port->cons.vtermno, 0, &hv_ops, PAGE_SIZE);
1249 if (IS_ERR(port->cons.hvc)) {
1250 ret = PTR_ERR(port->cons.hvc);
1253 port->cons.hvc = NULL;
1258 list_add_tail(&port->cons.list, &pdrvdata.consoles);
1310 seq_printf(s, "console_vtermno: %u\n", port->cons.vtermno);
1322 port->cons.ws.ws_row = rows;
1323 port->cons.ws.ws_col = cols;
1377 port->cons.hvc = NULL;
1380 port->cons.ws.ws_row = port->cons.ws.ws_col = 0;
1381 port->cons.vtermno = 0;
1534 list_del(&port->cons.list);
1536 hvc_remove(port->cons.hvc);
1631 port->cons.hvc->irq_requested = 1;
1793 if (is_console_port(port) && hvc_poll(port->cons.hvc))