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()
529 return nx_check_props(&nx_driver.viodev->dev, fc, mode) ? in nx_register_alg()
535 return nx_check_props(&nx_driver.viodev->dev, fc, mode) ? in nx_register_aead()
541 return (slot >= 0 ? nx_check_prop(&nx_driver.viodev->dev, in nx_register_shash()
543 nx_check_props(&nx_driver.viodev->dev, fc, mode)) ? in nx_register_shash()
777 static int nx_probe(struct vio_dev *viodev, const struct vio_device_id *id) in nx_probe() argument
779 dev_dbg(&viodev->dev, "driver probed: %s resource id: 0x%x\n", in nx_probe()
780 viodev->name, viodev->resource_id); in nx_probe()
782 if (nx_driver.viodev) { in nx_probe()
783 dev_err(&viodev->dev, "%s: Attempt to register more than one " in nx_probe()
788 nx_driver.viodev = viodev; in nx_probe()
790 nx_of_init(&viodev->dev, &nx_driver.of); in nx_probe()
795 static int nx_remove(struct vio_dev *viodev) in nx_remove() argument
797 dev_dbg(&viodev->dev, "entering nx_remove for UA 0x%x\n", in nx_remove()
798 viodev->unit_address); in nx_remove()