Lines Matching refs:baser
924 static bool vgic_its_check_id(struct vgic_its *its, u64 baser, u32 id, in vgic_its_check_id() argument
927 int l1_tbl_size = GITS_BASER_NR_PAGES(baser) * SZ_64K; in vgic_its_check_id()
928 u64 indirect_ptr, type = GITS_BASER_TYPE(baser); in vgic_its_check_id()
929 phys_addr_t base = GITS_BASER_ADDR_48_to_52(baser); in vgic_its_check_id()
930 int esz = GITS_BASER_ENTRY_SIZE(baser); in vgic_its_check_id()
947 if (!(baser & GITS_BASER_INDIRECT)) { in vgic_its_check_id()
1577 #define ITS_CMD_BUFFER_SIZE(baser) ((((baser) & 0xff) + 1) << 12) argument
2389 u64 baser = its->baser_device_table; in vgic_its_restore_dte() local
2410 if (!vgic_its_check_id(its, baser, id, NULL)) in vgic_its_restore_dte()
2448 u64 baser = its->baser_device_table; in vgic_its_save_device_tables() local
2452 if (!(baser & GITS_BASER_VALID)) in vgic_its_save_device_tables()
2461 if (!vgic_its_check_id(its, baser, in vgic_its_save_device_tables()
2518 u64 baser = its->baser_device_table; in vgic_its_restore_device_tables() local
2520 int l1_tbl_size = GITS_BASER_NR_PAGES(baser) * SZ_64K; in vgic_its_restore_device_tables()
2523 if (!(baser & GITS_BASER_VALID)) in vgic_its_restore_device_tables()
2526 l1_gpa = GITS_BASER_ADDR_48_to_52(baser); in vgic_its_restore_device_tables()
2528 if (baser & GITS_BASER_INDIRECT) { in vgic_its_restore_device_tables()
2610 u64 baser = its->baser_coll_table; in vgic_its_save_collection_table() local
2611 gpa_t gpa = GITS_BASER_ADDR_48_to_52(baser); in vgic_its_save_collection_table()
2617 if (!(baser & GITS_BASER_VALID)) in vgic_its_save_collection_table()
2620 max_size = GITS_BASER_NR_PAGES(baser) * SZ_64K; in vgic_its_save_collection_table()
2651 u64 baser = its->baser_coll_table; in vgic_its_restore_collection_table() local
2657 if (!(baser & GITS_BASER_VALID)) in vgic_its_restore_collection_table()
2660 gpa = GITS_BASER_ADDR_48_to_52(baser); in vgic_its_restore_collection_table()
2662 max_size = GITS_BASER_NR_PAGES(baser) * SZ_64K; in vgic_its_restore_collection_table()