Lines Matching refs:viodev
58 struct vio_dev *viodev = nx_driver.viodev; in nx_hcall_sync() local
63 rc = vio_h_cop_sync(viodev, op); in nx_hcall_sync()
67 dev_dbg(&viodev->dev, "vio_h_cop_sync failed: rc: %d " in nx_hcall_sync()
698 static int nx_probe(struct vio_dev *viodev, const struct vio_device_id *id) in nx_probe() argument
700 dev_dbg(&viodev->dev, "driver probed: %s resource id: 0x%x\n", in nx_probe()
701 viodev->name, viodev->resource_id); in nx_probe()
703 if (nx_driver.viodev) { in nx_probe()
704 dev_err(&viodev->dev, "%s: Attempt to register more than one " in nx_probe()
709 nx_driver.viodev = viodev; in nx_probe()
711 nx_of_init(&viodev->dev, &nx_driver.of); in nx_probe()
716 static int nx_remove(struct vio_dev *viodev) in nx_remove() argument
718 dev_dbg(&viodev->dev, "entering nx_remove for UA 0x%x\n", in nx_remove()
719 viodev->unit_address); in nx_remove()