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