Lines Matching refs:apdev
1747 struct ap_device *apdev = to_ap_dev(dev); in status_show() local
1750 q = dev_get_drvdata(&apdev->device); in status_show()
1845 int vfio_ap_mdev_probe_queue(struct ap_device *apdev) in vfio_ap_mdev_probe_queue() argument
1851 ret = sysfs_create_group(&apdev->device.kobj, &vfio_queue_attr_group); in vfio_ap_mdev_probe_queue()
1861 q->apqn = to_ap_queue(&apdev->device)->qid; in vfio_ap_mdev_probe_queue()
1884 dev_set_drvdata(&apdev->device, q); in vfio_ap_mdev_probe_queue()
1890 sysfs_remove_group(&apdev->device.kobj, &vfio_queue_attr_group); in vfio_ap_mdev_probe_queue()
1894 void vfio_ap_mdev_remove_queue(struct ap_device *apdev) in vfio_ap_mdev_remove_queue() argument
1900 sysfs_remove_group(&apdev->device.kobj, &vfio_queue_attr_group); in vfio_ap_mdev_remove_queue()
1901 q = dev_get_drvdata(&apdev->device); in vfio_ap_mdev_remove_queue()
1923 dev_set_drvdata(&apdev->device, NULL); in vfio_ap_mdev_remove_queue()