Lines Matching defs:vdev
296 static int hvc_vio_probe(struct vio_dev *vdev,
306 if (!vdev || !id)
309 if (of_device_is_compatible(vdev->dev.of_node, "hvterm1")) {
312 } else if (of_device_is_compatible(vdev->dev.of_node, "hvterm-protocol")) {
316 pr_err("hvc_vio: Unknown protocol for %pOF\n", vdev->dev.of_node);
321 vdev->dev.of_node,
326 vdev->unit_address == hvterm_priv0.termno) {
342 pv->termno = vdev->unit_address;
350 hp = hvc_alloc(termno, vdev->irq, ops, MAX_VIO_PUT_CHARS);
353 dev_set_drvdata(&vdev->dev, hp);