Lines Matching refs:ap_matrix_mdev
97 static inline void get_update_locks_for_mdev(struct ap_matrix_mdev *matrix_mdev) in get_update_locks_for_mdev()
120 static inline void release_update_locks_for_mdev(struct ap_matrix_mdev *matrix_mdev) in release_update_locks_for_mdev()
147 static struct ap_matrix_mdev *get_update_locks_by_apqn(int apqn) in get_update_locks_by_apqn()
149 struct ap_matrix_mdev *matrix_mdev; in get_update_locks_by_apqn()
204 struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_get_queue()
538 struct ap_matrix_mdev *matrix_mdev; in handle_pqap()
560 struct ap_matrix_mdev, pqap_hook); in handle_pqap()
602 static void vfio_ap_mdev_update_guest_apcb(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_update_guest_apcb()
611 static bool vfio_ap_mdev_filter_cdoms(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_filter_cdoms()
640 struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_filter_matrix()
689 struct ap_matrix_mdev *matrix_mdev = in vfio_ap_mdev_init_dev()
690 container_of(vdev, struct ap_matrix_mdev, vdev); in vfio_ap_mdev_init_dev()
703 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_probe()
706 matrix_mdev = vfio_alloc_device(ap_matrix_mdev, vdev, &mdev->dev, in vfio_ap_mdev_probe()
725 static void vfio_ap_mdev_link_queue(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_link_queue()
734 static void vfio_ap_mdev_link_apqn(struct ap_matrix_mdev *matrix_mdev, int apqn) in vfio_ap_mdev_link_apqn()
752 static void vfio_ap_mdev_unlink_fr_queues(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_unlink_fr_queues()
775 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(&mdev->dev); in vfio_ap_mdev_remove()
792 static void vfio_ap_mdev_log_sharing_err(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_log_sharing_err()
820 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_verify_no_sharing()
871 static int vfio_ap_mdev_validate_masks(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_validate_masks()
881 static void vfio_ap_mdev_link_adapter(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_link_adapter()
932 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in assign_adapter_store()
977 *vfio_ap_unlink_apqn_fr_mdev(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_unlink_apqn_fr_mdev()
998 static void vfio_ap_mdev_unlink_adapter(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_unlink_adapter()
1017 static void vfio_ap_mdev_hot_unplug_adapter(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_hot_unplug_adapter()
1063 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in unassign_adapter_store()
1090 static void vfio_ap_mdev_link_domain(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_link_domain()
1141 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in assign_domain_store()
1185 static void vfio_ap_mdev_unlink_domain(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_unlink_domain()
1204 static void vfio_ap_mdev_hot_unplug_domain(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_hot_unplug_domain()
1250 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in unassign_domain_store()
1298 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in assign_control_domain_store()
1352 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in unassign_control_domain_store()
1392 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in control_domains_show()
1453 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in matrix_show()
1467 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in guest_matrix_show()
1509 static int vfio_ap_mdev_set_kvm(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_set_kvm()
1512 struct ap_matrix_mdev *m; in vfio_ap_mdev_set_kvm()
1541 struct ap_matrix_mdev *matrix_mdev = in vfio_ap_mdev_dma_unmap()
1542 container_of(vdev, struct ap_matrix_mdev, vdev); in vfio_ap_mdev_dma_unmap()
1553 static void vfio_ap_mdev_unset_kvm(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_unset_kvm()
1668 struct ap_matrix_mdev *matrix_mdev = in vfio_ap_mdev_open_device()
1669 container_of(vdev, struct ap_matrix_mdev, vdev); in vfio_ap_mdev_open_device()
1679 struct ap_matrix_mdev *matrix_mdev = in vfio_ap_mdev_close_device()
1680 container_of(vdev, struct ap_matrix_mdev, vdev); in vfio_ap_mdev_close_device()
1708 struct ap_matrix_mdev *matrix_mdev = in vfio_ap_mdev_ioctl()
1709 container_of(vdev, struct ap_matrix_mdev, vdev); in vfio_ap_mdev_ioctl()
1729 static struct ap_matrix_mdev *vfio_ap_mdev_for_queue(struct vfio_ap_queue *q) in vfio_ap_mdev_for_queue()
1731 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_for_queue()
1750 struct ap_matrix_mdev *matrix_mdev; in status_show()
1840 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_probe_queue()
1872 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_remove_queue()
1940 static void vfio_ap_mdev_hot_unplug_cfg(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_hot_unplug_cfg()
1985 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_cfg_remove()
2129 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_cfg_add()
2204 static void vfio_ap_mdev_hot_plug_cfg(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_hot_plug_cfg()
2246 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_on_scan_complete()