Lines Matching refs:apdev
1980 struct ap_device *apdev = to_ap_dev(dev); in status_show() local
1983 q = dev_get_drvdata(&apdev->device); in status_show()
2069 int vfio_ap_mdev_probe_queue(struct ap_device *apdev) in vfio_ap_mdev_probe_queue() argument
2075 ret = sysfs_create_group(&apdev->device.kobj, &vfio_queue_attr_group); in vfio_ap_mdev_probe_queue()
2085 q->apqn = to_ap_queue(&apdev->device)->qid; in vfio_ap_mdev_probe_queue()
2099 dev_set_drvdata(&apdev->device, q); in vfio_ap_mdev_probe_queue()
2105 sysfs_remove_group(&apdev->device.kobj, &vfio_queue_attr_group); in vfio_ap_mdev_probe_queue()
2109 void vfio_ap_mdev_remove_queue(struct ap_device *apdev) in vfio_ap_mdev_remove_queue() argument
2115 sysfs_remove_group(&apdev->device.kobj, &vfio_queue_attr_group); in vfio_ap_mdev_remove_queue()
2116 q = dev_get_drvdata(&apdev->device); in vfio_ap_mdev_remove_queue()
2139 dev_set_drvdata(&apdev->device, NULL); in vfio_ap_mdev_remove_queue()