Lines Matching defs: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()
152 struct ap_matrix_mdev *matrix_mdev; in get_update_locks_by_apqn() local
207 struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_get_queue()
577 struct ap_matrix_mdev *matrix_mdev; in handle_pqap() local
641 static void vfio_ap_mdev_update_guest_apcb(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_update_guest_apcb()
650 static bool vfio_ap_mdev_filter_cdoms(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_filter_cdoms()
684 static bool vfio_ap_mdev_filter_matrix(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_filter_matrix()
744 struct ap_matrix_mdev *matrix_mdev = in vfio_ap_mdev_init_dev() local
758 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_probe() local
781 static void vfio_ap_mdev_link_queue(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_link_queue()
790 static void vfio_ap_mdev_link_apqn(struct ap_matrix_mdev *matrix_mdev, int apqn) in vfio_ap_mdev_link_apqn()
808 static void vfio_ap_mdev_unlink_fr_queues(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_unlink_fr_queues()
826 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(&mdev->dev); in vfio_ap_mdev_remove() local
843 static void vfio_ap_mdev_log_sharing_err(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_log_sharing_err()
871 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_verify_no_sharing() local
922 static int vfio_ap_mdev_validate_masks(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_validate_masks()
932 static void vfio_ap_mdev_link_adapter(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_link_adapter()
942 static void collect_queues_to_reset(struct ap_matrix_mdev *matrix_mdev, in collect_queues_to_reset()
956 static void reset_queues_for_apid(struct ap_matrix_mdev *matrix_mdev, in reset_queues_for_apid()
966 static int reset_queues_for_apids(struct ap_matrix_mdev *matrix_mdev, in reset_queues_for_apids()
1024 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in assign_adapter_store() local
1068 *vfio_ap_unlink_apqn_fr_mdev(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_unlink_apqn_fr_mdev()
1090 static void vfio_ap_mdev_unlink_adapter(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_unlink_adapter()
1108 static void vfio_ap_mdev_hot_unplug_adapter(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_hot_unplug_adapter()
1151 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in unassign_adapter_store() local
1178 static void vfio_ap_mdev_link_domain(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_link_domain()
1229 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in assign_domain_store() local
1272 static void vfio_ap_mdev_unlink_domain(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_unlink_domain()
1290 static void vfio_ap_mdev_hot_unplug_domain(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_hot_unplug_domain()
1333 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in unassign_domain_store() local
1381 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in assign_control_domain_store() local
1435 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in unassign_control_domain_store() local
1475 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in control_domains_show() local
1536 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in matrix_show() local
1550 struct ap_matrix_mdev *matrix_mdev = dev_get_drvdata(dev); in guest_matrix_show() local
1592 static int vfio_ap_mdev_set_kvm(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_set_kvm()
1621 static void unmap_iova(struct ap_matrix_mdev *matrix_mdev, u64 iova, u64 length) in unmap_iova()
1636 struct ap_matrix_mdev *matrix_mdev = in vfio_ap_mdev_dma_unmap() local
1652 static void vfio_ap_mdev_unset_kvm(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_unset_kvm()
1800 static int vfio_ap_mdev_reset_queues(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_reset_queues()
1838 struct ap_matrix_mdev *matrix_mdev = in vfio_ap_mdev_open_device() local
1849 struct ap_matrix_mdev *matrix_mdev = in vfio_ap_mdev_close_device() local
1858 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_request() local
1942 static int vfio_ap_set_request_irq(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_set_request_irq()
1976 static int vfio_ap_set_irqs(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_set_irqs()
2002 struct ap_matrix_mdev *matrix_mdev = in vfio_ap_mdev_ioctl() local
2031 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_for_queue() local
2051 struct ap_matrix_mdev *matrix_mdev; in status_show() local
2159 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_probe_queue() local
2212 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_remove_queue() local
2295 static void vfio_ap_mdev_hot_unplug_cfg(struct ap_matrix_mdev *matrix_mdev, in vfio_ap_mdev_hot_unplug_cfg()
2340 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_cfg_remove() local
2482 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_mdev_cfg_add() local
2557 static void vfio_ap_mdev_hot_plug_cfg(struct ap_matrix_mdev *matrix_mdev) in vfio_ap_mdev_hot_plug_cfg()
2590 struct ap_matrix_mdev *matrix_mdev; in vfio_ap_on_scan_complete() local