Lines Matching refs:pstate
1399 static bool __kprobes __check_eq(unsigned long pstate) in __check_eq() argument
1401 return (pstate & PSR_Z_BIT) != 0; in __check_eq()
1404 static bool __kprobes __check_ne(unsigned long pstate) in __check_ne() argument
1406 return (pstate & PSR_Z_BIT) == 0; in __check_ne()
1409 static bool __kprobes __check_cs(unsigned long pstate) in __check_cs() argument
1411 return (pstate & PSR_C_BIT) != 0; in __check_cs()
1414 static bool __kprobes __check_cc(unsigned long pstate) in __check_cc() argument
1416 return (pstate & PSR_C_BIT) == 0; in __check_cc()
1419 static bool __kprobes __check_mi(unsigned long pstate) in __check_mi() argument
1421 return (pstate & PSR_N_BIT) != 0; in __check_mi()
1424 static bool __kprobes __check_pl(unsigned long pstate) in __check_pl() argument
1426 return (pstate & PSR_N_BIT) == 0; in __check_pl()
1429 static bool __kprobes __check_vs(unsigned long pstate) in __check_vs() argument
1431 return (pstate & PSR_V_BIT) != 0; in __check_vs()
1434 static bool __kprobes __check_vc(unsigned long pstate) in __check_vc() argument
1436 return (pstate & PSR_V_BIT) == 0; in __check_vc()
1439 static bool __kprobes __check_hi(unsigned long pstate) in __check_hi() argument
1441 pstate &= ~(pstate >> 1); /* PSR_C_BIT &= ~PSR_Z_BIT */ in __check_hi()
1442 return (pstate & PSR_C_BIT) != 0; in __check_hi()
1445 static bool __kprobes __check_ls(unsigned long pstate) in __check_ls() argument
1447 pstate &= ~(pstate >> 1); /* PSR_C_BIT &= ~PSR_Z_BIT */ in __check_ls()
1448 return (pstate & PSR_C_BIT) == 0; in __check_ls()
1451 static bool __kprobes __check_ge(unsigned long pstate) in __check_ge() argument
1453 pstate ^= (pstate << 3); /* PSR_N_BIT ^= PSR_V_BIT */ in __check_ge()
1454 return (pstate & PSR_N_BIT) == 0; in __check_ge()
1457 static bool __kprobes __check_lt(unsigned long pstate) in __check_lt() argument
1459 pstate ^= (pstate << 3); /* PSR_N_BIT ^= PSR_V_BIT */ in __check_lt()
1460 return (pstate & PSR_N_BIT) != 0; in __check_lt()
1463 static bool __kprobes __check_gt(unsigned long pstate) in __check_gt() argument
1466 unsigned long temp = pstate ^ (pstate << 3); in __check_gt()
1468 temp |= (pstate << 1); /*PSR_N_BIT |= PSR_Z_BIT */ in __check_gt()
1472 static bool __kprobes __check_le(unsigned long pstate) in __check_le() argument
1475 unsigned long temp = pstate ^ (pstate << 3); in __check_le()
1477 temp |= (pstate << 1); /*PSR_N_BIT |= PSR_Z_BIT */ in __check_le()
1481 static bool __kprobes __check_al(unsigned long pstate) in __check_al() argument