Lines Matching refs:vgic_its
26 static int vgic_its_save_tables_v0(struct vgic_its *its);
27 static int vgic_its_restore_tables_v0(struct vgic_its *its);
28 static int vgic_its_commit_v0(struct vgic_its *its);
171 int (*save_tables)(struct vgic_its *its);
172 int (*restore_tables)(struct vgic_its *its);
173 int (*commit)(struct vgic_its *its);
192 inline const struct vgic_its_abi *vgic_its_get_abi(struct vgic_its *its) in vgic_its_get_abi()
197 static int vgic_its_set_abi(struct vgic_its *its, u32 rev) in vgic_its_set_abi()
210 static struct its_device *find_its_device(struct vgic_its *its, u32 device_id) in find_its_device()
226 static struct its_ite *find_ite(struct vgic_its *its, u32 device_id, in find_ite()
259 static struct its_collection *find_collection(struct vgic_its *its, int coll_id) in find_collection()
402 static void update_affinity_collection(struct kvm *kvm, struct vgic_its *its, in update_affinity_collection()
477 struct vgic_its *its, in vgic_mmio_read_its_typer()
499 struct vgic_its *its, in vgic_mmio_read_its_iidr()
510 struct vgic_its *its, in vgic_mmio_uaccess_write_its_iidr()
522 struct vgic_its *its, in vgic_mmio_read_its_idregs()
593 static void vgic_its_cache_translation(struct kvm *kvm, struct vgic_its *its, in vgic_its_cache_translation()
669 int vgic_its_resolve_lpi(struct kvm *kvm, struct vgic_its *its, in vgic_its_resolve_lpi()
695 struct vgic_its *vgic_msi_to_its(struct kvm *kvm, struct kvm_msi *msi) in vgic_msi_to_its()
730 static int vgic_its_trigger_msi(struct kvm *kvm, struct vgic_its *its, in vgic_its_trigger_msi()
778 struct vgic_its *its; in vgic_its_inject_msi()
841 static int vgic_its_cmd_handle_discard(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_discard()
868 static int vgic_its_cmd_handle_movi(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_movi()
897 static bool __is_visible_gfn_locked(struct vgic_its *its, gpa_t gpa) in __is_visible_gfn_locked()
916 static bool vgic_its_check_id(struct vgic_its *its, u64 baser, u32 id, in vgic_its_check_id()
987 static bool vgic_its_check_event_id(struct vgic_its *its, struct its_device *device, in vgic_its_check_event_id()
1006 static int vgic_its_alloc_collection(struct vgic_its *its, in vgic_its_alloc_collection()
1025 static void vgic_its_free_collection(struct vgic_its *its, u32 coll_id) in vgic_its_free_collection()
1071 static int vgic_its_cmd_handle_mapi(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_mapi()
1158 static void vgic_its_free_device_list(struct kvm *kvm, struct vgic_its *its) in vgic_its_free_device_list()
1167 static void vgic_its_free_collection_list(struct kvm *kvm, struct vgic_its *its) in vgic_its_free_collection_list()
1176 static struct its_device *vgic_its_alloc_device(struct vgic_its *its, in vgic_its_alloc_device()
1199 static int vgic_its_cmd_handle_mapd(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_mapd()
1241 static int vgic_its_cmd_handle_mapc(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_mapc()
1287 static int vgic_its_cmd_handle_clear(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_clear()
1317 static int vgic_its_cmd_handle_inv(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_inv()
1374 static int vgic_its_cmd_handle_invall(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_invall()
1399 static int vgic_its_cmd_handle_movall(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_movall()
1441 static int vgic_its_cmd_handle_int(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_int()
1454 static int vgic_its_handle_command(struct kvm *kvm, struct vgic_its *its, in vgic_its_handle_command()
1541 struct vgic_its *its, in vgic_mmio_read_its_cbaser()
1547 static void vgic_mmio_write_its_cbaser(struct kvm *kvm, struct vgic_its *its, in vgic_mmio_write_its_cbaser()
1572 static void vgic_its_process_commands(struct kvm *kvm, struct vgic_its *its) in vgic_its_process_commands()
1608 static void vgic_mmio_write_its_cwriter(struct kvm *kvm, struct vgic_its *its, in vgic_mmio_write_its_cwriter()
1633 struct vgic_its *its, in vgic_mmio_read_its_cwriter()
1640 struct vgic_its *its, in vgic_mmio_read_its_creadr()
1647 struct vgic_its *its, in vgic_mmio_uaccess_write_its_creadr()
1675 struct vgic_its *its, in vgic_mmio_read_its_baser()
1697 struct vgic_its *its, in vgic_mmio_write_its_baser()
1751 struct vgic_its *its, in vgic_mmio_read_its_ctlr()
1766 static void vgic_mmio_write_its_ctlr(struct kvm *kvm, struct vgic_its *its, in vgic_mmio_write_its_ctlr()
1815 static void its_mmio_write_wi(struct kvm *kvm, struct vgic_its *its, in its_mmio_write_wi()
1857 static int vgic_register_its_iodev(struct kvm *kvm, struct vgic_its *its, in vgic_register_its_iodev()
1940 struct vgic_its *its; in vgic_its_create()
1945 its = kzalloc(sizeof(struct vgic_its), GFP_KERNEL_ACCOUNT); in vgic_its_create()
2001 struct vgic_its *its = kvm_dev->private; in vgic_its_destroy()
2039 struct vgic_its *its; in vgic_its_attr_regs_access()
2141 typedef int (*entry_fn_t)(struct vgic_its *its, u32 id, void *entry,
2159 static int scan_its_table(struct vgic_its *its, gpa_t base, int size, u32 esz, in scan_its_table()
2197 static int vgic_its_save_ite(struct vgic_its *its, struct its_device *dev, in vgic_its_save_ite()
2218 static int vgic_its_restore_ite(struct vgic_its *its, u32 event_id, in vgic_its_restore_ite()
2285 static int vgic_its_save_itt(struct vgic_its *its, struct its_device *device) in vgic_its_save_itt()
2322 static int vgic_its_restore_itt(struct vgic_its *its, struct its_device *dev) in vgic_its_restore_itt()
2347 static int vgic_its_save_dte(struct vgic_its *its, struct its_device *dev, in vgic_its_save_dte()
2375 static int vgic_its_restore_dte(struct vgic_its *its, u32 id, in vgic_its_restore_dte()
2435 static int vgic_its_save_device_tables(struct vgic_its *its) in vgic_its_save_device_tables()
2478 static int handle_l1_dte(struct vgic_its *its, u32 id, void *addr, in handle_l1_dte()
2505 static int vgic_its_restore_device_tables(struct vgic_its *its) in vgic_its_restore_device_tables()
2538 static int vgic_its_save_cte(struct vgic_its *its, in vgic_its_save_cte()
2556 static int vgic_its_restore_cte(struct vgic_its *its, gpa_t gpa, int esz) in vgic_its_restore_cte()
2597 static int vgic_its_save_collection_table(struct vgic_its *its) in vgic_its_save_collection_table()
2638 static int vgic_its_restore_collection_table(struct vgic_its *its) in vgic_its_restore_collection_table()
2675 static int vgic_its_save_tables_v0(struct vgic_its *its) in vgic_its_save_tables_v0()
2691 static int vgic_its_restore_tables_v0(struct vgic_its *its) in vgic_its_restore_tables_v0()
2705 static int vgic_its_commit_v0(struct vgic_its *its) in vgic_its_commit_v0()
2721 static void vgic_its_reset(struct kvm *kvm, struct vgic_its *its) in vgic_its_reset()
2762 static int vgic_its_ctrl(struct kvm *kvm, struct vgic_its *its, u64 attr) in vgic_its_ctrl()
2819 struct vgic_its *its = dev->private; in vgic_its_set_attr()
2861 struct vgic_its *its = dev->private; in vgic_its_get_attr()