Lines Matching refs:viodev
45 struct vio_dev *viodev = nx_driver.viodev; in nx_hcall_sync() local
50 rc = vio_h_cop_sync(viodev, op); in nx_hcall_sync()
54 dev_dbg(&viodev->dev, "vio_h_cop_sync failed: rc: %d " in nx_hcall_sync()
517 return nx_check_props(&nx_driver.viodev->dev, fc, mode) ? in nx_register_skcipher()
523 return nx_check_props(&nx_driver.viodev->dev, fc, mode) ? in nx_register_aead()
529 return (slot >= 0 ? nx_check_prop(&nx_driver.viodev->dev, in nx_register_shash()
531 nx_check_props(&nx_driver.viodev->dev, fc, mode)) ? in nx_register_shash()
769 static int nx_probe(struct vio_dev *viodev, const struct vio_device_id *id) in nx_probe() argument
771 dev_dbg(&viodev->dev, "driver probed: %s resource id: 0x%x\n", in nx_probe()
772 viodev->name, viodev->resource_id); in nx_probe()
774 if (nx_driver.viodev) { in nx_probe()
775 dev_err(&viodev->dev, "%s: Attempt to register more than one " in nx_probe()
780 nx_driver.viodev = viodev; in nx_probe()
782 nx_of_init(&viodev->dev, &nx_driver.of); in nx_probe()
787 static void nx_remove(struct vio_dev *viodev) in nx_remove() argument
789 dev_dbg(&viodev->dev, "entering nx_remove for UA 0x%x\n", in nx_remove()
790 viodev->unit_address); in nx_remove()