• Home
  • Raw
  • Download

Lines Matching refs:cpsr

85 static unsigned long __kprobes __check_eq(unsigned long cpsr)  in __check_eq()  argument
87 return cpsr & PSR_Z_BIT; in __check_eq()
90 static unsigned long __kprobes __check_ne(unsigned long cpsr) in __check_ne() argument
92 return (~cpsr) & PSR_Z_BIT; in __check_ne()
95 static unsigned long __kprobes __check_cs(unsigned long cpsr) in __check_cs() argument
97 return cpsr & PSR_C_BIT; in __check_cs()
100 static unsigned long __kprobes __check_cc(unsigned long cpsr) in __check_cc() argument
102 return (~cpsr) & PSR_C_BIT; in __check_cc()
105 static unsigned long __kprobes __check_mi(unsigned long cpsr) in __check_mi() argument
107 return cpsr & PSR_N_BIT; in __check_mi()
110 static unsigned long __kprobes __check_pl(unsigned long cpsr) in __check_pl() argument
112 return (~cpsr) & PSR_N_BIT; in __check_pl()
115 static unsigned long __kprobes __check_vs(unsigned long cpsr) in __check_vs() argument
117 return cpsr & PSR_V_BIT; in __check_vs()
120 static unsigned long __kprobes __check_vc(unsigned long cpsr) in __check_vc() argument
122 return (~cpsr) & PSR_V_BIT; in __check_vc()
125 static unsigned long __kprobes __check_hi(unsigned long cpsr) in __check_hi() argument
127 cpsr &= ~(cpsr >> 1); /* PSR_C_BIT &= ~PSR_Z_BIT */ in __check_hi()
128 return cpsr & PSR_C_BIT; in __check_hi()
131 static unsigned long __kprobes __check_ls(unsigned long cpsr) in __check_ls() argument
133 cpsr &= ~(cpsr >> 1); /* PSR_C_BIT &= ~PSR_Z_BIT */ in __check_ls()
134 return (~cpsr) & PSR_C_BIT; in __check_ls()
137 static unsigned long __kprobes __check_ge(unsigned long cpsr) in __check_ge() argument
139 cpsr ^= (cpsr << 3); /* PSR_N_BIT ^= PSR_V_BIT */ in __check_ge()
140 return (~cpsr) & PSR_N_BIT; in __check_ge()
143 static unsigned long __kprobes __check_lt(unsigned long cpsr) in __check_lt() argument
145 cpsr ^= (cpsr << 3); /* PSR_N_BIT ^= PSR_V_BIT */ in __check_lt()
146 return cpsr & PSR_N_BIT; in __check_lt()
149 static unsigned long __kprobes __check_gt(unsigned long cpsr) in __check_gt() argument
151 unsigned long temp = cpsr ^ (cpsr << 3); /* PSR_N_BIT ^= PSR_V_BIT */ in __check_gt()
152 temp |= (cpsr << 1); /* PSR_N_BIT |= PSR_Z_BIT */ in __check_gt()
156 static unsigned long __kprobes __check_le(unsigned long cpsr) in __check_le() argument
158 unsigned long temp = cpsr ^ (cpsr << 3); /* PSR_N_BIT ^= PSR_V_BIT */ in __check_le()
159 temp |= (cpsr << 1); /* PSR_N_BIT |= PSR_Z_BIT */ in __check_le()
163 static unsigned long __kprobes __check_al(unsigned long cpsr) in __check_al() argument