Lines Matching full:hp

156 static int hvterm_hvsi_open(struct hvc_struct *hp, int data)  in hvterm_hvsi_open()  argument
158 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_open()
163 rc = notifier_add_irq(hp, data); in hvterm_hvsi_open()
167 return hvsilib_open(&pv->hvsi, hp); in hvterm_hvsi_open()
170 static void hvterm_hvsi_close(struct hvc_struct *hp, int data) in hvterm_hvsi_close() argument
172 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_close()
176 hvsilib_close(&pv->hvsi, hp); in hvterm_hvsi_close()
178 notifier_del_irq(hp, data); in hvterm_hvsi_close()
181 static void hvterm_hvsi_hangup(struct hvc_struct *hp, int data) in hvterm_hvsi_hangup() argument
183 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_hangup()
187 hvsilib_close(&pv->hvsi, hp); in hvterm_hvsi_hangup()
189 notifier_hangup_irq(hp, data); in hvterm_hvsi_hangup()
192 static int hvterm_hvsi_tiocmget(struct hvc_struct *hp) in hvterm_hvsi_tiocmget() argument
194 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_tiocmget()
201 static int hvterm_hvsi_tiocmset(struct hvc_struct *hp, unsigned int set, in hvterm_hvsi_tiocmset() argument
204 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_tiocmset()
300 struct hvc_struct *hp; in hvc_vio_probe() local
350 hp = hvc_alloc(termno, vdev->irq, ops, MAX_VIO_PUT_CHARS); in hvc_vio_probe()
351 if (IS_ERR(hp)) in hvc_vio_probe()
352 return PTR_ERR(hp); in hvc_vio_probe()
353 dev_set_drvdata(&vdev->dev, hp); in hvc_vio_probe()
356 if (hp->index == 0 && !udbg_putc) { in hvc_vio_probe()