Lines Matching refs:viodev
57 struct vio_dev *viodev = nx_driver.viodev; in nx_hcall_sync() local
62 rc = vio_h_cop_sync(viodev, op); in nx_hcall_sync()
66 dev_dbg(&viodev->dev, "vio_h_cop_sync failed: rc: %d " in nx_hcall_sync()
528 return nx_check_props(&nx_driver.viodev->dev, fc, mode) ? in nx_register_alg()
534 return nx_check_props(&nx_driver.viodev->dev, fc, mode) ? in nx_register_aead()
540 return (slot >= 0 ? nx_check_prop(&nx_driver.viodev->dev, in nx_register_shash()
542 nx_check_props(&nx_driver.viodev->dev, fc, mode)) ? in nx_register_shash()
776 static int nx_probe(struct vio_dev *viodev, const struct vio_device_id *id) in nx_probe() argument
778 dev_dbg(&viodev->dev, "driver probed: %s resource id: 0x%x\n", in nx_probe()
779 viodev->name, viodev->resource_id); in nx_probe()
781 if (nx_driver.viodev) { in nx_probe()
782 dev_err(&viodev->dev, "%s: Attempt to register more than one " in nx_probe()
787 nx_driver.viodev = viodev; in nx_probe()
789 nx_of_init(&viodev->dev, &nx_driver.of); in nx_probe()
794 static int nx_remove(struct vio_dev *viodev) in nx_remove() argument
796 dev_dbg(&viodev->dev, "entering nx_remove for UA 0x%x\n", in nx_remove()
797 viodev->unit_address); in nx_remove()