Lines Matching refs:viodev
145 static unsigned long nx842_get_desired_dma(struct vio_dev *viodev) in nx842_get_desired_dma() argument
973 static int nx842_probe(struct vio_dev *viodev, in nx842_probe() argument
996 …dev_err(&viodev->dev, "%s: Attempt to register more than one instance of the hardware\n", __func__… in nx842_probe()
1001 dev_set_drvdata(&viodev->dev, NULL); in nx842_probe()
1003 new_devdata->vdev = viodev; in nx842_probe()
1004 new_devdata->dev = &viodev->dev; in nx842_probe()
1020 dev_err(&viodev->dev, "could not register comp alg: %d\n", ret); in nx842_probe()
1025 dev_set_drvdata(&viodev->dev, rcu_dereference(devdata)); in nx842_probe()
1028 if (sysfs_create_group(&viodev->dev.kobj, &nx842_attribute_group)) { in nx842_probe()
1029 dev_err(&viodev->dev, "could not create sysfs device attributes\n"); in nx842_probe()
1045 static int nx842_remove(struct vio_dev *viodev) in nx842_remove() argument
1051 sysfs_remove_group(&viodev->dev.kobj, &nx842_attribute_group); in nx842_remove()
1062 dev_set_drvdata(&viodev->dev, NULL); in nx842_remove()