Lines Matching refs:cons
203 struct console cons;
236 struct console *cons;
240 list_for_each_entry(cons, &pdrvdata.consoles, list) {
241 if (cons->vtermno == vtermno) {
242 port = container_of(cons, struct port, cons);
324 if (port->cons.hvc)
1162 hvc_resize(port->cons.hvc, port->cons.ws);
1219 port->cons.vtermno = ret;
1220 port->cons.hvc = hvc_alloc(port->cons.vtermno, 0, &hv_ops, PAGE_SIZE);
1221 if (IS_ERR(port->cons.hvc)) {
1222 ret = PTR_ERR(port->cons.hvc);
1225 port->cons.hvc = NULL;
1226 ida_free(&vtermno_ida, port->cons.vtermno);
1230 list_add_tail(&port->cons.list, &pdrvdata.consoles);
1275 seq_printf(s, "console_vtermno: %u\n", port->cons.vtermno);
1287 port->cons.ws.ws_row = rows;
1288 port->cons.ws.ws_col = cols;
1342 port->cons.hvc = NULL;
1345 port->cons.ws.ws_row = port->cons.ws.ws_col = 0;
1346 port->cons.vtermno = 0;
1496 list_del(&port->cons.list);
1498 hvc_remove(port->cons.hvc);
1499 ida_free(&vtermno_ida, port->cons.vtermno);
1594 port->cons.hvc->irq_requested = 1;
1755 if (is_console_port(port) && hvc_poll(port->cons.hvc))