Lines Matching full:hp
158 static int hvterm_hvsi_open(struct hvc_struct *hp, int data) in hvterm_hvsi_open() argument
160 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_open()
165 rc = notifier_add_irq(hp, data); in hvterm_hvsi_open()
169 return hvsilib_open(&pv->hvsi, hp); in hvterm_hvsi_open()
172 static void hvterm_hvsi_close(struct hvc_struct *hp, int data) in hvterm_hvsi_close() argument
174 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_close()
178 hvsilib_close(&pv->hvsi, hp); in hvterm_hvsi_close()
180 notifier_del_irq(hp, data); in hvterm_hvsi_close()
183 static void hvterm_hvsi_hangup(struct hvc_struct *hp, int data) in hvterm_hvsi_hangup() argument
185 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_hangup()
189 hvsilib_close(&pv->hvsi, hp); in hvterm_hvsi_hangup()
191 notifier_hangup_irq(hp, data); in hvterm_hvsi_hangup()
194 static int hvterm_hvsi_tiocmget(struct hvc_struct *hp) in hvterm_hvsi_tiocmget() argument
196 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_tiocmget()
203 static int hvterm_hvsi_tiocmset(struct hvc_struct *hp, unsigned int set, in hvterm_hvsi_tiocmset() argument
206 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; in hvterm_hvsi_tiocmset()
302 struct hvc_struct *hp; in hvc_vio_probe() local
352 hp = hvc_alloc(termno, vdev->irq, ops, MAX_VIO_PUT_CHARS); in hvc_vio_probe()
353 if (IS_ERR(hp)) in hvc_vio_probe()
354 return PTR_ERR(hp); in hvc_vio_probe()
355 dev_set_drvdata(&vdev->dev, hp); in hvc_vio_probe()
358 if (hp->index == 0 && !udbg_putc) { in hvc_vio_probe()