Lines Matching defs:termno
57 u32 termno; /* HV term number */
83 pv->left = hvc_get_chars(pv->termno, pv->buf, count);
126 return hvc_put_chars(pv->termno, buf, count);
163 pr_devel("HVSI@%x: open !\n", pv->termno);
176 pr_devel("HVSI@%x: do close !\n", pv->termno);
187 pr_devel("HVSI@%x: do hangup !\n", pv->termno);
209 pv->termno, set, clear);
305 int i, termno = -1;
328 vdev->unit_address == hvterm_priv0.termno) {
330 termno = 0;
331 pr_devel("->boot console, using termno 0\n");
335 for (i = 0; i < MAX_NR_HVC_CONSOLES && termno < 0; i++)
337 termno = i;
338 pr_devel("->non-boot console, using termno %d\n", termno);
339 if (termno < 0)
344 pv->termno = vdev->unit_address;
347 hvterm_privs[termno] = pv;
349 pv->termno, 0);
352 hp = hvc_alloc(termno, vdev->irq, ops, MAX_VIO_PUT_CHARS);
389 const __be32 *termno;
396 termno = of_get_property(of_stdout, "reg", NULL);
397 if (termno == NULL)
399 hvterm_priv0.termno = of_read_number(termno, 1);
412 hvterm_priv0.termno, 1);
448 hvterm_priv0.termno = 0;
465 hvterm_priv0.termno = CONFIG_PPC_EARLY_DEBUG_HVSI_VTERMNO;
472 hvterm_priv0.termno, 1);