Lines Matching refs:termno

72 	u32			termno;	/* HV term number */  member
98 pv->left = hvc_get_chars(pv->termno, pv->buf, count); in hvterm_raw_get_chars()
132 return hvc_put_chars(pv->termno, buf, count); in hvterm_raw_put_chars()
168 pr_devel("HVSI@%x: open !\n", pv->termno); in hvterm_hvsi_open()
181 pr_devel("HVSI@%x: do close !\n", pv->termno); in hvterm_hvsi_close()
192 pr_devel("HVSI@%x: do hangup !\n", pv->termno); in hvterm_hvsi_hangup()
214 pv->termno, set, clear); in hvterm_hvsi_tiocmset()
304 int i, termno = -1; in hvc_vio_probe() local
327 vdev->unit_address == hvterm_priv0.termno) { in hvc_vio_probe()
329 termno = 0; in hvc_vio_probe()
334 for (i = 0; i < MAX_NR_HVC_CONSOLES && termno < 0; i++) in hvc_vio_probe()
336 termno = i; in hvc_vio_probe()
337 pr_devel("->non-boot console, using termno %d\n", termno); in hvc_vio_probe()
338 if (termno < 0) in hvc_vio_probe()
343 pv->termno = vdev->unit_address; in hvc_vio_probe()
346 hvterm_privs[termno] = pv; in hvc_vio_probe()
348 pv->termno, 0); in hvc_vio_probe()
351 hp = hvc_alloc(termno, vdev->irq, ops, MAX_VIO_PUT_CHARS); in hvc_vio_probe()
369 int rc, termno; in hvc_vio_remove() local
371 termno = hp->vtermno; in hvc_vio_remove()
374 if (hvterm_privs[termno] != &hvterm_priv0) in hvc_vio_remove()
375 kfree(hvterm_privs[termno]); in hvc_vio_remove()
376 hvterm_privs[termno] = NULL; in hvc_vio_remove()
407 const __be32 *termno; in hvc_vio_init_early() local
423 termno = of_get_property(of_stdout, "reg", NULL); in hvc_vio_init_early()
424 if (termno == NULL) in hvc_vio_init_early()
426 hvterm_priv0.termno = of_read_number(termno, 1); in hvc_vio_init_early()
439 hvterm_priv0.termno, 1); in hvc_vio_init_early()
467 hvterm_priv0.termno = 0; in udbg_init_debug_lpar()
480 hvterm_priv0.termno = CONFIG_PPC_EARLY_DEBUG_HVSI_VTERMNO; in udbg_init_debug_lpar_hvsi()
487 hvterm_priv0.termno, 1); in udbg_init_debug_lpar_hvsi()