Lines Matching refs:hvterm_priv0
67 static struct hvterm_priv hvterm_priv0; variable
327 if (hvterm_privs[0] == &hvterm_priv0 && in hvc_vio_probe()
328 vdev->unit_address == hvterm_priv0.termno) { in hvc_vio_probe()
399 hvterm_priv0.termno = of_read_number(termno, 1); in hvc_vio_init_early()
400 spin_lock_init(&hvterm_priv0.buf_lock); in hvc_vio_init_early()
401 hvterm_privs[0] = &hvterm_priv0; in hvc_vio_init_early()
405 hvterm_priv0.proto = HV_PROTOCOL_RAW; in hvc_vio_init_early()
409 hvterm_priv0.proto = HV_PROTOCOL_HVSI; in hvc_vio_init_early()
411 hvsilib_init(&hvterm_priv0.hvsi, hvc_get_chars, hvc_put_chars, in hvc_vio_init_early()
412 hvterm_priv0.termno, 1); in hvc_vio_init_early()
414 hvsilib_establish(&hvterm_priv0.hvsi); in hvc_vio_init_early()
424 if (hvterm_priv0.proto == HV_PROTOCOL_HVSI) in hvc_vio_init_early()
447 hvterm_privs[0] = &hvterm_priv0; in udbg_init_debug_lpar()
448 hvterm_priv0.termno = 0; in udbg_init_debug_lpar()
449 hvterm_priv0.proto = HV_PROTOCOL_RAW; in udbg_init_debug_lpar()
450 spin_lock_init(&hvterm_priv0.buf_lock); in udbg_init_debug_lpar()
464 hvterm_privs[0] = &hvterm_priv0; in udbg_init_debug_lpar_hvsi()
465 hvterm_priv0.termno = CONFIG_PPC_EARLY_DEBUG_HVSI_VTERMNO; in udbg_init_debug_lpar_hvsi()
466 hvterm_priv0.proto = HV_PROTOCOL_HVSI; in udbg_init_debug_lpar_hvsi()
467 spin_lock_init(&hvterm_priv0.buf_lock); in udbg_init_debug_lpar_hvsi()
471 hvsilib_init(&hvterm_priv0.hvsi, hvc_get_chars, hvc_put_chars, in udbg_init_debug_lpar_hvsi()
472 hvterm_priv0.termno, 1); in udbg_init_debug_lpar_hvsi()
473 hvsilib_establish(&hvterm_priv0.hvsi); in udbg_init_debug_lpar_hvsi()