Lines Matching refs:_AC
15 #define SR_SIE _AC(0x00000002, UL) /* Supervisor Interrupt Enable */
16 #define SR_SPIE _AC(0x00000020, UL) /* Previous Supervisor IE */
17 #define SR_SPP _AC(0x00000100, UL) /* Previously Supervisor */
19 #define SR_PUM _AC(0x00040000, UL) /* Protect User Memory Access */
21 #define SR_SUM _AC(0x00040000, UL) /* Supervisor User Memory Access */
24 #define SR_FS _AC(0x00006000, UL) /* Floating-point Status */
25 #define SR_FS_OFF _AC(0x00000000, UL)
26 #define SR_FS_INITIAL _AC(0x00002000, UL)
27 #define SR_FS_CLEAN _AC(0x00004000, UL)
28 #define SR_FS_DIRTY _AC(0x00006000, UL)
30 #define SR_XS _AC(0x00018000, UL) /* Extension Status */
31 #define SR_XS_OFF _AC(0x00000000, UL)
32 #define SR_XS_INITIAL _AC(0x00008000, UL)
33 #define SR_XS_CLEAN _AC(0x00010000, UL)
34 #define SR_XS_DIRTY _AC(0x00018000, UL)
37 #define SR_VM _AC(0x1F000000, UL) /* Virtualization Management */
38 #define SR_VM_MODE_BARE _AC(0x00000000, UL) /* No translation or protection */
39 #define SR_VM_MODE_BB _AC(0x01000000, UL) /* Single base-and-bound */
41 #define SR_VM_MODE_BBID _AC(0x02000000, UL)
43 #define SR_VM_MODE_32 _AC(0x08000000, UL)
46 #define SR_VM_MODE_39 _AC(0x09000000, UL)
47 #define SR_VM_MODE_48 _AC(0x0A000000, UL)
53 #define SR_SD _AC(0x80000000, UL) /* FS/XS dirty */
55 #define SR_SD _AC(0x8000000000000000, UL) /* FS/XS dirty */
61 #define SATP_PPN _AC(0x003FFFFF, UL)
62 #define SATP_MODE_32 _AC(0x80000000, UL)
65 #define SATP_PPN _AC(0x00000FFFFFFFFFFF, UL)
66 #define SATP_MODE_39 _AC(0x8000000000000000, UL)
72 #define SCAUSE_IRQ_FLAG (_AC(1, UL) << (__riscv_xlen - 1))
95 #define MIE_MSIE (_AC(0x1, UL) << IRQ_M_SOFT)
96 #define SIE_SSIE (_AC(0x1, UL) << IRQ_S_SOFT)
97 #define SIE_STIE (_AC(0x1, UL) << IRQ_S_TIMER)
98 #define SIE_SEIE (_AC(0x1, UL) << IRQ_S_EXT)