Lines Matching refs:apdev
1804 struct ap_device *apdev = to_ap_dev(dev); in status_show() local
1807 q = dev_get_drvdata(&apdev->device); in status_show()
1891 int vfio_ap_mdev_probe_queue(struct ap_device *apdev) in vfio_ap_mdev_probe_queue() argument
1897 ret = sysfs_create_group(&apdev->device.kobj, &vfio_queue_attr_group); in vfio_ap_mdev_probe_queue()
1907 q->apqn = to_ap_queue(&apdev->device)->qid; in vfio_ap_mdev_probe_queue()
1919 dev_set_drvdata(&apdev->device, q); in vfio_ap_mdev_probe_queue()
1925 sysfs_remove_group(&apdev->device.kobj, &vfio_queue_attr_group); in vfio_ap_mdev_probe_queue()
1929 void vfio_ap_mdev_remove_queue(struct ap_device *apdev) in vfio_ap_mdev_remove_queue() argument
1935 sysfs_remove_group(&apdev->device.kobj, &vfio_queue_attr_group); in vfio_ap_mdev_remove_queue()
1936 q = dev_get_drvdata(&apdev->device); in vfio_ap_mdev_remove_queue()
1958 dev_set_drvdata(&apdev->device, NULL); in vfio_ap_mdev_remove_queue()