Lines Matching refs:vgic_its
28 static int vgic_its_save_tables_v0(struct vgic_its *its);
29 static int vgic_its_restore_tables_v0(struct vgic_its *its);
30 static int vgic_its_commit_v0(struct vgic_its *its);
167 int (*save_tables)(struct vgic_its *its);
168 int (*restore_tables)(struct vgic_its *its);
169 int (*commit)(struct vgic_its *its);
188 inline const struct vgic_its_abi *vgic_its_get_abi(struct vgic_its *its) in vgic_its_get_abi()
193 static int vgic_its_set_abi(struct vgic_its *its, u32 rev) in vgic_its_set_abi()
206 static struct its_device *find_its_device(struct vgic_its *its, u32 device_id) in find_its_device()
222 static struct its_ite *find_ite(struct vgic_its *its, u32 device_id, in find_ite()
257 static struct its_collection *find_collection(struct vgic_its *its, int coll_id) in find_collection()
366 static void update_affinity_collection(struct kvm *kvm, struct vgic_its *its, in update_affinity_collection()
437 struct vgic_its *its, in vgic_mmio_read_its_typer()
459 struct vgic_its *its, in vgic_mmio_read_its_iidr()
470 struct vgic_its *its, in vgic_mmio_uaccess_write_its_iidr()
482 struct vgic_its *its, in vgic_mmio_read_its_idregs()
508 static struct vgic_its *__vgic_doorbell_to_its(struct kvm *kvm, gpa_t db) in __vgic_doorbell_to_its()
537 struct vgic_its *its; in vgic_its_check_cache()
558 static void vgic_its_cache_translation(struct kvm *kvm, struct vgic_its *its, in vgic_its_cache_translation()
586 static void vgic_its_invalidate_cache(struct vgic_its *its) in vgic_its_invalidate_cache()
601 struct vgic_its *its; in vgic_its_invalidate_all_caches()
616 int vgic_its_resolve_lpi(struct kvm *kvm, struct vgic_its *its, in vgic_its_resolve_lpi()
642 struct vgic_its *vgic_msi_to_its(struct kvm *kvm, struct kvm_msi *msi) in vgic_msi_to_its()
664 static int vgic_its_trigger_msi(struct kvm *kvm, struct vgic_its *its, in vgic_its_trigger_msi()
713 struct vgic_its *its; in vgic_its_inject_msi()
776 static int vgic_its_cmd_handle_discard(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_discard()
803 static int vgic_its_cmd_handle_movi(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_movi()
832 static bool __is_visible_gfn_locked(struct vgic_its *its, gpa_t gpa) in __is_visible_gfn_locked()
851 static bool vgic_its_check_id(struct vgic_its *its, u64 baser, u32 id, in vgic_its_check_id()
922 static bool vgic_its_check_event_id(struct vgic_its *its, struct its_device *device, in vgic_its_check_event_id()
941 static int vgic_its_alloc_collection(struct vgic_its *its, in vgic_its_alloc_collection()
960 static void vgic_its_free_collection(struct vgic_its *its, u32 coll_id) in vgic_its_free_collection()
1006 static int vgic_its_cmd_handle_mapi(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_mapi()
1074 static void vgic_its_free_device(struct kvm *kvm, struct vgic_its *its, in vgic_its_free_device()
1094 static void vgic_its_free_device_list(struct kvm *kvm, struct vgic_its *its) in vgic_its_free_device_list()
1103 static void vgic_its_free_collection_list(struct kvm *kvm, struct vgic_its *its) in vgic_its_free_collection_list()
1112 static struct its_device *vgic_its_alloc_device(struct vgic_its *its, in vgic_its_alloc_device()
1135 static int vgic_its_cmd_handle_mapd(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_mapd()
1177 static int vgic_its_cmd_handle_mapc(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_mapc()
1224 static int vgic_its_cmd_handle_clear(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_clear()
1254 static int vgic_its_cmd_handle_inv(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_inv()
1307 static int vgic_its_cmd_handle_invall(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_invall()
1332 static int vgic_its_cmd_handle_movall(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_movall()
1369 static int vgic_its_cmd_handle_int(struct kvm *kvm, struct vgic_its *its, in vgic_its_cmd_handle_int()
1382 static int vgic_its_handle_command(struct kvm *kvm, struct vgic_its *its, in vgic_its_handle_command()
1469 struct vgic_its *its, in vgic_mmio_read_its_cbaser()
1475 static void vgic_mmio_write_its_cbaser(struct kvm *kvm, struct vgic_its *its, in vgic_mmio_write_its_cbaser()
1500 static void vgic_its_process_commands(struct kvm *kvm, struct vgic_its *its) in vgic_its_process_commands()
1536 static void vgic_mmio_write_its_cwriter(struct kvm *kvm, struct vgic_its *its, in vgic_mmio_write_its_cwriter()
1561 struct vgic_its *its, in vgic_mmio_read_its_cwriter()
1568 struct vgic_its *its, in vgic_mmio_read_its_creadr()
1575 struct vgic_its *its, in vgic_mmio_uaccess_write_its_creadr()
1603 struct vgic_its *its, in vgic_mmio_read_its_baser()
1625 struct vgic_its *its, in vgic_mmio_write_its_baser()
1679 struct vgic_its *its, in vgic_mmio_read_its_ctlr()
1694 static void vgic_mmio_write_its_ctlr(struct kvm *kvm, struct vgic_its *its, in vgic_mmio_write_its_ctlr()
1743 static void its_mmio_write_wi(struct kvm *kvm, struct vgic_its *its, in its_mmio_write_wi()
1785 static int vgic_register_its_iodev(struct kvm *kvm, struct vgic_its *its, in vgic_register_its_iodev()
1827 struct vgic_its *its; in vgic_its_create()
1832 its = kzalloc(sizeof(struct vgic_its), GFP_KERNEL_ACCOUNT); in vgic_its_create()
1887 struct vgic_its *its = kvm_dev->private; in vgic_its_destroy()
1927 struct vgic_its *its; in vgic_its_attr_regs_access()
2029 typedef int (*entry_fn_t)(struct vgic_its *its, u32 id, void *entry,
2048 static int scan_its_table(struct vgic_its *its, gpa_t base, int size, u32 esz, in scan_its_table()
2086 static int vgic_its_save_ite(struct vgic_its *its, struct its_device *dev, in vgic_its_save_ite()
2109 static int vgic_its_restore_ite(struct vgic_its *its, u32 event_id, in vgic_its_restore_ite()
2176 static int vgic_its_save_itt(struct vgic_its *its, struct its_device *device) in vgic_its_save_itt()
2213 static int vgic_its_restore_itt(struct vgic_its *its, struct its_device *dev) in vgic_its_restore_itt()
2239 static int vgic_its_save_dte(struct vgic_its *its, struct its_device *dev, in vgic_its_save_dte()
2267 static int vgic_its_restore_dte(struct vgic_its *its, u32 id, in vgic_its_restore_dte()
2327 static int vgic_its_save_device_tables(struct vgic_its *its) in vgic_its_save_device_tables()
2370 static int handle_l1_dte(struct vgic_its *its, u32 id, void *addr, in handle_l1_dte()
2397 static int vgic_its_restore_device_tables(struct vgic_its *its) in vgic_its_restore_device_tables()
2430 static int vgic_its_save_cte(struct vgic_its *its, in vgic_its_save_cte()
2448 static int vgic_its_restore_cte(struct vgic_its *its, gpa_t gpa, int esz) in vgic_its_restore_cte()
2489 static int vgic_its_save_collection_table(struct vgic_its *its) in vgic_its_save_collection_table()
2530 static int vgic_its_restore_collection_table(struct vgic_its *its) in vgic_its_restore_collection_table()
2567 static int vgic_its_save_tables_v0(struct vgic_its *its) in vgic_its_save_tables_v0()
2583 static int vgic_its_restore_tables_v0(struct vgic_its *its) in vgic_its_restore_tables_v0()
2597 static int vgic_its_commit_v0(struct vgic_its *its) in vgic_its_commit_v0()
2613 static void vgic_its_reset(struct kvm *kvm, struct vgic_its *its) in vgic_its_reset()
2654 static int vgic_its_ctrl(struct kvm *kvm, struct vgic_its *its, u64 attr) in vgic_its_ctrl()
2711 struct vgic_its *its = dev->private; in vgic_its_set_attr()
2753 struct vgic_its *its = dev->private; in vgic_its_get_attr()