Lines Matching refs:pstate
1413 static bool __kprobes __check_eq(unsigned long pstate) in __check_eq() argument
1415 return (pstate & PSR_Z_BIT) != 0; in __check_eq()
1418 static bool __kprobes __check_ne(unsigned long pstate) in __check_ne() argument
1420 return (pstate & PSR_Z_BIT) == 0; in __check_ne()
1423 static bool __kprobes __check_cs(unsigned long pstate) in __check_cs() argument
1425 return (pstate & PSR_C_BIT) != 0; in __check_cs()
1428 static bool __kprobes __check_cc(unsigned long pstate) in __check_cc() argument
1430 return (pstate & PSR_C_BIT) == 0; in __check_cc()
1433 static bool __kprobes __check_mi(unsigned long pstate) in __check_mi() argument
1435 return (pstate & PSR_N_BIT) != 0; in __check_mi()
1438 static bool __kprobes __check_pl(unsigned long pstate) in __check_pl() argument
1440 return (pstate & PSR_N_BIT) == 0; in __check_pl()
1443 static bool __kprobes __check_vs(unsigned long pstate) in __check_vs() argument
1445 return (pstate & PSR_V_BIT) != 0; in __check_vs()
1448 static bool __kprobes __check_vc(unsigned long pstate) in __check_vc() argument
1450 return (pstate & PSR_V_BIT) == 0; in __check_vc()
1453 static bool __kprobes __check_hi(unsigned long pstate) in __check_hi() argument
1455 pstate &= ~(pstate >> 1); /* PSR_C_BIT &= ~PSR_Z_BIT */ in __check_hi()
1456 return (pstate & PSR_C_BIT) != 0; in __check_hi()
1459 static bool __kprobes __check_ls(unsigned long pstate) in __check_ls() argument
1461 pstate &= ~(pstate >> 1); /* PSR_C_BIT &= ~PSR_Z_BIT */ in __check_ls()
1462 return (pstate & PSR_C_BIT) == 0; in __check_ls()
1465 static bool __kprobes __check_ge(unsigned long pstate) in __check_ge() argument
1467 pstate ^= (pstate << 3); /* PSR_N_BIT ^= PSR_V_BIT */ in __check_ge()
1468 return (pstate & PSR_N_BIT) == 0; in __check_ge()
1471 static bool __kprobes __check_lt(unsigned long pstate) in __check_lt() argument
1473 pstate ^= (pstate << 3); /* PSR_N_BIT ^= PSR_V_BIT */ in __check_lt()
1474 return (pstate & PSR_N_BIT) != 0; in __check_lt()
1477 static bool __kprobes __check_gt(unsigned long pstate) in __check_gt() argument
1480 unsigned long temp = pstate ^ (pstate << 3); in __check_gt()
1482 temp |= (pstate << 1); /*PSR_N_BIT |= PSR_Z_BIT */ in __check_gt()
1486 static bool __kprobes __check_le(unsigned long pstate) in __check_le() argument
1489 unsigned long temp = pstate ^ (pstate << 3); in __check_le()
1491 temp |= (pstate << 1); /*PSR_N_BIT |= PSR_Z_BIT */ in __check_le()
1495 static bool __kprobes __check_al(unsigned long pstate) in __check_al() argument