Lines Matching refs:dist_ctx

727 void gicv3_distif_save(gicv3_dist_ctx_t * const dist_ctx)  in gicv3_distif_save()  argument
732 assert(dist_ctx != NULL); in gicv3_distif_save()
744 dist_ctx->gicd_ctlr = gicd_read_ctlr(gicd_base); in gicv3_distif_save()
747 SAVE_GICD_REGS(gicd_base, dist_ctx, num_ints, igroupr, IGROUP); in gicv3_distif_save()
750 SAVE_GICD_EREGS(gicd_base, dist_ctx, num_eints, igroupr, IGROUP); in gicv3_distif_save()
753 SAVE_GICD_REGS(gicd_base, dist_ctx, num_ints, isenabler, ISENABLE); in gicv3_distif_save()
756 SAVE_GICD_EREGS(gicd_base, dist_ctx, num_eints, isenabler, ISENABLE); in gicv3_distif_save()
759 SAVE_GICD_REGS(gicd_base, dist_ctx, num_ints, ispendr, ISPEND); in gicv3_distif_save()
762 SAVE_GICD_EREGS(gicd_base, dist_ctx, num_eints, ispendr, ISPEND); in gicv3_distif_save()
765 SAVE_GICD_REGS(gicd_base, dist_ctx, num_ints, isactiver, ISACTIVE); in gicv3_distif_save()
768 SAVE_GICD_EREGS(gicd_base, dist_ctx, num_eints, isactiver, ISACTIVE); in gicv3_distif_save()
771 SAVE_GICD_REGS(gicd_base, dist_ctx, num_ints, ipriorityr, IPRIORITY); in gicv3_distif_save()
774 SAVE_GICD_EREGS(gicd_base, dist_ctx, num_eints, ipriorityr, IPRIORITY); in gicv3_distif_save()
777 SAVE_GICD_REGS(gicd_base, dist_ctx, num_ints, icfgr, ICFG); in gicv3_distif_save()
780 SAVE_GICD_EREGS(gicd_base, dist_ctx, num_eints, icfgr, ICFG); in gicv3_distif_save()
783 SAVE_GICD_REGS(gicd_base, dist_ctx, num_ints, igrpmodr, IGRPMOD); in gicv3_distif_save()
786 SAVE_GICD_EREGS(gicd_base, dist_ctx, num_eints, igrpmodr, IGRPMOD); in gicv3_distif_save()
789 SAVE_GICD_REGS(gicd_base, dist_ctx, num_ints, nsacr, NSAC); in gicv3_distif_save()
792 SAVE_GICD_EREGS(gicd_base, dist_ctx, num_eints, nsacr, NSAC); in gicv3_distif_save()
795 SAVE_GICD_REGS(gicd_base, dist_ctx, num_ints, irouter, IROUTE); in gicv3_distif_save()
798 SAVE_GICD_EREGS(gicd_base, dist_ctx, num_eints, irouter, IROUTE); in gicv3_distif_save()
814 void gicv3_distif_init_restore(const gicv3_dist_ctx_t * const dist_ctx) in gicv3_distif_init_restore() argument
819 assert(dist_ctx != NULL); in gicv3_distif_init_restore()
842 RESTORE_GICD_REGS(gicd_base, dist_ctx, num_ints, igroupr, IGROUP); in gicv3_distif_init_restore()
845 RESTORE_GICD_EREGS(gicd_base, dist_ctx, num_eints, igroupr, IGROUP); in gicv3_distif_init_restore()
848 RESTORE_GICD_REGS(gicd_base, dist_ctx, num_ints, ipriorityr, IPRIORITY); in gicv3_distif_init_restore()
851 RESTORE_GICD_EREGS(gicd_base, dist_ctx, num_eints, ipriorityr, IPRIORITY); in gicv3_distif_init_restore()
854 RESTORE_GICD_REGS(gicd_base, dist_ctx, num_ints, icfgr, ICFG); in gicv3_distif_init_restore()
857 RESTORE_GICD_EREGS(gicd_base, dist_ctx, num_eints, icfgr, ICFG); in gicv3_distif_init_restore()
860 RESTORE_GICD_REGS(gicd_base, dist_ctx, num_ints, igrpmodr, IGRPMOD); in gicv3_distif_init_restore()
863 RESTORE_GICD_EREGS(gicd_base, dist_ctx, num_eints, igrpmodr, IGRPMOD); in gicv3_distif_init_restore()
866 RESTORE_GICD_REGS(gicd_base, dist_ctx, num_ints, nsacr, NSAC); in gicv3_distif_init_restore()
869 RESTORE_GICD_EREGS(gicd_base, dist_ctx, num_eints, nsacr, NSAC); in gicv3_distif_init_restore()
872 RESTORE_GICD_REGS(gicd_base, dist_ctx, num_ints, irouter, IROUTE); in gicv3_distif_init_restore()
875 RESTORE_GICD_EREGS(gicd_base, dist_ctx, num_eints, irouter, IROUTE); in gicv3_distif_init_restore()
883 RESTORE_GICD_REGS(gicd_base, dist_ctx, num_ints, isenabler, ISENABLE); in gicv3_distif_init_restore()
886 RESTORE_GICD_EREGS(gicd_base, dist_ctx, num_eints, isenabler, ISENABLE); in gicv3_distif_init_restore()
889 RESTORE_GICD_REGS(gicd_base, dist_ctx, num_ints, ispendr, ISPEND); in gicv3_distif_init_restore()
892 RESTORE_GICD_EREGS(gicd_base, dist_ctx, num_eints, ispendr, ISPEND); in gicv3_distif_init_restore()
895 RESTORE_GICD_REGS(gicd_base, dist_ctx, num_ints, isactiver, ISACTIVE); in gicv3_distif_init_restore()
898 RESTORE_GICD_EREGS(gicd_base, dist_ctx, num_eints, isactiver, ISACTIVE); in gicv3_distif_init_restore()
901 gicd_write_ctlr(gicd_base, dist_ctx->gicd_ctlr); in gicv3_distif_init_restore()