Lines Matching refs:viodev
170 static unsigned long nx842_get_desired_dma(struct vio_dev *viodev) in nx842_get_desired_dma() argument
1028 static int nx842_probe(struct vio_dev *viodev, in nx842_probe() argument
1051 …dev_err(&viodev->dev, "%s: Attempt to register more than one instance of the hardware\n", __func__… in nx842_probe()
1056 dev_set_drvdata(&viodev->dev, NULL); in nx842_probe()
1058 new_devdata->vdev = viodev; in nx842_probe()
1059 new_devdata->dev = &viodev->dev; in nx842_probe()
1075 dev_err(&viodev->dev, "could not register comp alg: %d\n", ret); in nx842_probe()
1080 dev_set_drvdata(&viodev->dev, rcu_dereference(devdata)); in nx842_probe()
1083 if (sysfs_create_group(&viodev->dev.kobj, &nx842_attribute_group)) { in nx842_probe()
1084 dev_err(&viodev->dev, "could not create sysfs device attributes\n"); in nx842_probe()
1090 if (sysfs_create_group(&viodev->dev.kobj, in nx842_probe()
1092 dev_err(&viodev->dev, in nx842_probe()
1110 static void nx842_remove(struct vio_dev *viodev) in nx842_remove() argument
1116 sysfs_remove_group(&viodev->dev.kobj, &nx842_attribute_group); in nx842_remove()
1119 sysfs_remove_group(&viodev->dev.kobj, &nxcop_caps_attr_group); in nx842_remove()
1130 dev_set_drvdata(&viodev->dev, NULL); in nx842_remove()