Lines Matching refs:termno

57 	u32			termno;	/* HV term number */  member
83 pv->left = hvc_get_chars(pv->termno, pv->buf, count); in hvterm_raw_get_chars()
125 return hvc_put_chars(pv->termno, buf, count); in hvterm_raw_put_chars()
161 pr_devel("HVSI@%x: open !\n", pv->termno); in hvterm_hvsi_open()
174 pr_devel("HVSI@%x: do close !\n", pv->termno); in hvterm_hvsi_close()
185 pr_devel("HVSI@%x: do hangup !\n", pv->termno); in hvterm_hvsi_hangup()
207 pv->termno, set, clear); in hvterm_hvsi_tiocmset()
303 int i, termno = -1; in hvc_vio_probe() local
326 vdev->unit_address == hvterm_priv0.termno) { in hvc_vio_probe()
328 termno = 0; in hvc_vio_probe()
333 for (i = 0; i < MAX_NR_HVC_CONSOLES && termno < 0; i++) in hvc_vio_probe()
335 termno = i; in hvc_vio_probe()
336 pr_devel("->non-boot console, using termno %d\n", termno); in hvc_vio_probe()
337 if (termno < 0) in hvc_vio_probe()
342 pv->termno = vdev->unit_address; in hvc_vio_probe()
345 hvterm_privs[termno] = pv; in hvc_vio_probe()
347 pv->termno, 0); in hvc_vio_probe()
350 hp = hvc_alloc(termno, vdev->irq, ops, MAX_VIO_PUT_CHARS); in hvc_vio_probe()
387 const __be32 *termno; in hvc_vio_init_early() local
394 termno = of_get_property(of_stdout, "reg", NULL); in hvc_vio_init_early()
395 if (termno == NULL) in hvc_vio_init_early()
397 hvterm_priv0.termno = of_read_number(termno, 1); in hvc_vio_init_early()
410 hvterm_priv0.termno, 1); in hvc_vio_init_early()
446 hvterm_priv0.termno = 0; in udbg_init_debug_lpar()
463 hvterm_priv0.termno = CONFIG_PPC_EARLY_DEBUG_HVSI_VTERMNO; in udbg_init_debug_lpar_hvsi()
470 hvterm_priv0.termno, 1); in udbg_init_debug_lpar_hvsi()