Lines Matching refs:baser
757 static bool vgic_its_check_id(struct vgic_its *its, u64 baser, u32 id, in vgic_its_check_id() argument
760 int l1_tbl_size = GITS_BASER_NR_PAGES(baser) * SZ_64K; in vgic_its_check_id()
761 u64 indirect_ptr, type = GITS_BASER_TYPE(baser); in vgic_its_check_id()
762 int esz = GITS_BASER_ENTRY_SIZE(baser); in vgic_its_check_id()
780 if (!(baser & GITS_BASER_INDIRECT)) { in vgic_its_check_id()
786 addr = BASER_ADDRESS(baser) + id * esz; in vgic_its_check_id()
801 BASER_ADDRESS(baser) + index * sizeof(indirect_ptr), in vgic_its_check_id()
1364 #define ITS_CMD_BUFFER_SIZE(baser) ((((baser) & 0xff) + 1) << 12) argument
2158 u64 baser = its->baser_device_table; in vgic_its_save_device_tables() local
2162 if (!(baser & GITS_BASER_VALID)) in vgic_its_save_device_tables()
2171 if (!vgic_its_check_id(its, baser, in vgic_its_save_device_tables()
2228 u64 baser = its->baser_device_table; in vgic_its_restore_device_tables() local
2230 int l1_tbl_size = GITS_BASER_NR_PAGES(baser) * SZ_64K; in vgic_its_restore_device_tables()
2233 if (!(baser & GITS_BASER_VALID)) in vgic_its_restore_device_tables()
2236 l1_gpa = BASER_ADDRESS(baser); in vgic_its_restore_device_tables()
2238 if (baser & GITS_BASER_INDIRECT) { in vgic_its_restore_device_tables()
2307 u64 baser = its->baser_coll_table; in vgic_its_save_collection_table() local
2308 gpa_t gpa = BASER_ADDRESS(baser); in vgic_its_save_collection_table()
2314 if (!(baser & GITS_BASER_VALID)) in vgic_its_save_collection_table()
2317 max_size = GITS_BASER_NR_PAGES(baser) * SZ_64K; in vgic_its_save_collection_table()
2348 u64 baser = its->baser_coll_table; in vgic_its_restore_collection_table() local
2354 if (!(baser & GITS_BASER_VALID)) in vgic_its_restore_collection_table()
2357 gpa = BASER_ADDRESS(baser); in vgic_its_restore_collection_table()
2359 max_size = GITS_BASER_NR_PAGES(baser) * SZ_64K; in vgic_its_restore_collection_table()