Lines Matching refs:cons

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