Lines Matching full:hvc

3  * z/VM IUCV hypervisor console (HVC) device driver
5 * This HVC device driver provides terminal access using
64 struct hvc_struct *hvc; /* HVC struct reference */ member
100 /* Array of allocated hvc iucv tty lines... */
126 * @num: The HVC virtual terminal number (vtermno)
129 * to the HVC virtual terminal number specified as parameter @num.
199 * hvc_iucv_write() - Receive IUCV message & write data to HVC buffer.
201 * @buf: HVC buffer for writing received terminal data.
202 * @count: HVC buffer size.
216 * hang up (that is issued by the HVC layer).
230 * HVC layer to hang up the tty device. */ in hvc_iucv_write()
281 /* The caller must ensure that the hvc is locked, which in hvc_iucv_write()
283 __hvc_resize(priv->hvc, *((struct winsize *) rb->mbuf->data)); in hvc_iucv_write()
302 * hvc_iucv_get_chars() - HVC get_chars operation.
303 * @vtermno: HVC virtual terminal number.
307 * The HVC thread calls this method to read characters from the back-end.
353 * (that can be passed to HVC layer to cause a tty hangup).
447 * hvc_iucv_put_chars() - HVC put_chars operation.
448 * @vtermno: HVC virtual terminal number.
452 * The HVC thread calls this method to write characters to the back-end.
477 * hvc_iucv_notifier_add() - HVC notifier for opening a TTY for the first time.
478 * @hp: Pointer to the HVC device (struct hvc_struct)
503 * hvc_iucv_cleanup() - Clean up and reset a z/VM IUCV HVC instance.
556 * hvc_iucv_hangup() - Sever IUCV path and schedule hvc tty hang up
560 * up the underlying HVC terminal device.
564 * The IUCV HVC hang-up is separated into two steps:
567 * 2. Later, when the HVC thread calls hvc_iucv_get_chars(), the
568 * IUCV_SEVERED state causes the tty hang-up in the HVC layer.
573 * the HVC layer to hang up the tty and, if so, wake up the HVC thread
576 * Special notes on hanging up a HVC terminal instantiated as console:
579 * => no hangup notifier is called by HVC (default)
617 * hvc_iucv_notifier_hangup() - HVC notifier for TTY hangups.
618 * @hp: Pointer to the HVC device (struct hvc_struct)
622 * This routine notifies the HVC back-end that a tty hangup (carrier loss,
624 * The z/VM IUCV HVC device driver ignores virtual hangups (vhangup())
659 * hvc_iucv_dtr_rts() - HVC notifier for handling DTR/RTS
660 * @hp: Pointer the HVC device (struct hvc_struct)
663 * This routine notifies the HVC back-end to raise or lower DTR/RTS
702 * hvc_iucv_notifier_del() - HVC notifier for closing a TTY for the last time.
703 * @hp: Pointer to the HVC device (struct hvc_struct)
707 * This routine notifies the HVC back-end that the last tty device fd has been
878 * respective IUCV HVC terminal.
930 hvc_kick(); /* wake up hvc thread */ in hvc_iucv_msg_pending()
1010 /* HVC operations */
1020 /* IUCV HVC device attributes */
1072 /* allocate hvc device */ in hvc_iucv_alloc()
1073 priv->hvc = hvc_alloc(id, /* PAGE_SIZE */ in hvc_iucv_alloc()
1075 if (IS_ERR(priv->hvc)) { in hvc_iucv_alloc()
1076 rc = PTR_ERR(priv->hvc); in hvc_iucv_alloc()
1080 /* notify HVC thread instead of using polling */ in hvc_iucv_alloc()
1081 priv->hvc->irq_requested = 1; in hvc_iucv_alloc()
1104 hvc_remove(priv->hvc); in hvc_iucv_alloc()
1117 hvc_remove(priv->hvc); in hvc_iucv_destroy()
1299 * hvc_iucv_init() - z/VM IUCV HVC device driver initialization
1310 pr_notice("The z/VM IUCV HVC device driver cannot " in hvc_iucv_init()
1365 * (must be done before allocating hvc terminal devices) */ in hvc_iucv_init()
1368 pr_err("Registering HVC terminal device as " in hvc_iucv_init()
1377 pr_err("Creating a new HVC terminal device " in hvc_iucv_init()