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()
126 return hvc_put_chars(pv->termno, buf, count); in hvterm_raw_put_chars()
163 pr_devel("HVSI@%x: open !\n", pv->termno); in hvterm_hvsi_open()
176 pr_devel("HVSI@%x: do close !\n", pv->termno); in hvterm_hvsi_close()
187 pr_devel("HVSI@%x: do hangup !\n", pv->termno); in hvterm_hvsi_hangup()
209 pv->termno, set, clear); in hvterm_hvsi_tiocmset()
305 int i, termno = -1; in hvc_vio_probe() local
328 vdev->unit_address == hvterm_priv0.termno) { in hvc_vio_probe()
330 termno = 0; in hvc_vio_probe()
335 for (i = 0; i < MAX_NR_HVC_CONSOLES && termno < 0; i++) in hvc_vio_probe()
337 termno = i; in hvc_vio_probe()
338 pr_devel("->non-boot console, using termno %d\n", termno); in hvc_vio_probe()
339 if (termno < 0) in hvc_vio_probe()
344 pv->termno = vdev->unit_address; in hvc_vio_probe()
347 hvterm_privs[termno] = pv; in hvc_vio_probe()
349 pv->termno, 0); in hvc_vio_probe()
352 hp = hvc_alloc(termno, vdev->irq, ops, MAX_VIO_PUT_CHARS); in hvc_vio_probe()
389 const __be32 *termno; in hvc_vio_init_early() local
396 termno = of_get_property(of_stdout, "reg", NULL); in hvc_vio_init_early()
397 if (termno == NULL) in hvc_vio_init_early()
399 hvterm_priv0.termno = of_read_number(termno, 1); in hvc_vio_init_early()
412 hvterm_priv0.termno, 1); in hvc_vio_init_early()
448 hvterm_priv0.termno = 0; in udbg_init_debug_lpar()
465 hvterm_priv0.termno = CONFIG_PPC_EARLY_DEBUG_HVSI_VTERMNO; in udbg_init_debug_lpar_hvsi()
472 hvterm_priv0.termno, 1); in udbg_init_debug_lpar_hvsi()