Lines Matching refs:ap_matrix_mdev

35 static int vfio_ap_mdev_reset_queues(struct ap_matrix_mdev *matrix_mdev);
100 static inline void get_update_locks_for_mdev(struct ap_matrix_mdev *matrix_mdev) in get_update_locks_for_mdev()
123 static inline void release_update_locks_for_mdev(struct ap_matrix_mdev *matrix_mdev) in release_update_locks_for_mdev()
150 static struct ap_matrix_mdev *get_update_locks_by_apqn(int apqn) in get_update_locks_by_apqn()
152 struct ap_matrix_mdev *matrix_mdev; in get_update_locks_by_apqn()
207 struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_get_queue()
574 struct ap_matrix_mdev *matrix_mdev; in handle_pqap()
596 struct ap_matrix_mdev, pqap_hook); in handle_pqap()
638 static void vfio_ap_mdev_update_guest_apcb(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_update_guest_apcb()
647 static bool vfio_ap_mdev_filter_cdoms(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_filter_cdoms()
681 static bool vfio_ap_mdev_filter_matrix(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_filter_matrix()
741 struct ap_matrix_mdev *matrix_mdev = in vfio_ap_mdev_init_dev()
742 container_of(vdev, struct ap_matrix_mdev, vdev); in vfio_ap_mdev_init_dev()
755 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_probe()
758 matrix_mdev = vfio_alloc_device(ap_matrix_mdev, vdev, &mdev->dev, in vfio_ap_mdev_probe()
778 static void vfio_ap_mdev_link_queue(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_link_queue()
787 static void vfio_ap_mdev_link_apqn(struct ap_matrix_mdev *matrix_mdev, int apqn) in vfio_ap_mdev_link_apqn()
805 static void vfio_ap_mdev_unlink_fr_queues(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_unlink_fr_queues()
823 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(&mdev->dev); in vfio_ap_mdev_remove()
840 static void vfio_ap_mdev_log_sharing_err(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_log_sharing_err()
868 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_verify_no_sharing()
919 static int vfio_ap_mdev_validate_masks(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_validate_masks()
929 static void vfio_ap_mdev_link_adapter(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_link_adapter()
939 static void collect_queues_to_reset(struct ap_matrix_mdev *matrix_mdev, in collect_queues_to_reset()
953 static void reset_queues_for_apid(struct ap_matrix_mdev *matrix_mdev, in reset_queues_for_apid()
963 static int reset_queues_for_apids(struct ap_matrix_mdev *matrix_mdev, in reset_queues_for_apids()
1021 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in assign_adapter_store()
1065 *vfio_ap_unlink_apqn_fr_mdev(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_unlink_apqn_fr_mdev()
1087 static void vfio_ap_mdev_unlink_adapter(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_unlink_adapter()
1105 static void vfio_ap_mdev_hot_unplug_adapter(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_hot_unplug_adapter()
1148 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in unassign_adapter_store()
1175 static void vfio_ap_mdev_link_domain(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_link_domain()
1226 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in assign_domain_store()
1269 static void vfio_ap_mdev_unlink_domain(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_unlink_domain()
1287 static void vfio_ap_mdev_hot_unplug_domain(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_hot_unplug_domain()
1330 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in unassign_domain_store()
1378 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in assign_control_domain_store()
1432 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in unassign_control_domain_store()
1472 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in control_domains_show()
1533 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in matrix_show()
1547 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in guest_matrix_show()
1589 static int vfio_ap_mdev_set_kvm(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_set_kvm()
1592 struct ap_matrix_mdev *m; in vfio_ap_mdev_set_kvm()
1618 static void unmap_iova(struct ap_matrix_mdev *matrix_mdev, u64 iova, u64 length) in unmap_iova()
1633 struct ap_matrix_mdev *matrix_mdev = in vfio_ap_mdev_dma_unmap()
1634 container_of(vdev, struct ap_matrix_mdev, vdev); in vfio_ap_mdev_dma_unmap()
1649 static void vfio_ap_mdev_unset_kvm(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_unset_kvm()
1797 static int vfio_ap_mdev_reset_queues(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_reset_queues()
1835 struct ap_matrix_mdev *matrix_mdev = in vfio_ap_mdev_open_device()
1836 container_of(vdev, struct ap_matrix_mdev, vdev); in vfio_ap_mdev_open_device()
1846 struct ap_matrix_mdev *matrix_mdev = in vfio_ap_mdev_close_device()
1847 container_of(vdev, struct ap_matrix_mdev, vdev); in vfio_ap_mdev_close_device()
1855 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_request()
1857 matrix_mdev = container_of(vdev, struct ap_matrix_mdev, vdev); in vfio_ap_mdev_request()
1939 static int vfio_ap_set_request_irq(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_set_request_irq()
1973 static int vfio_ap_set_irqs(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_set_irqs()
1999 struct ap_matrix_mdev *matrix_mdev = in vfio_ap_mdev_ioctl()
2000 container_of(vdev, struct ap_matrix_mdev, vdev); in vfio_ap_mdev_ioctl()
2026 static struct ap_matrix_mdev *vfio_ap_mdev_for_queue(struct vfio_ap_queue *q) in vfio_ap_mdev_for_queue()
2028 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_for_queue()
2048 struct ap_matrix_mdev *matrix_mdev; in status_show()
2156 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_probe_queue()
2209 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_remove_queue()
2292 static void vfio_ap_mdev_hot_unplug_cfg(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_hot_unplug_cfg()
2337 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_cfg_remove()
2479 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_cfg_add()
2554 static void vfio_ap_mdev_hot_plug_cfg(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_hot_plug_cfg()
2587 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_on_scan_complete()