Lines Matching refs:bit_mask

538 	u32 bit_mask = 0x80000000 >> bit_idx;  in set_bucket()  local
547 iowrite32be(ioread32be(reg) | bit_mask, reg); in set_bucket()
549 iowrite32be(ioread32be(reg) & (~bit_mask), reg); in set_bucket()
603 u32 bit_mask; in get_exception_flag() local
607 bit_mask = DTSEC_IMASK_BREN; in get_exception_flag()
610 bit_mask = DTSEC_IMASK_RXCEN; in get_exception_flag()
613 bit_mask = DTSEC_IMASK_GTSCEN; in get_exception_flag()
616 bit_mask = DTSEC_IMASK_BTEN; in get_exception_flag()
619 bit_mask = DTSEC_IMASK_TXCEN; in get_exception_flag()
622 bit_mask = DTSEC_IMASK_TXEEN; in get_exception_flag()
625 bit_mask = DTSEC_IMASK_LCEN; in get_exception_flag()
628 bit_mask = DTSEC_IMASK_CRLEN; in get_exception_flag()
631 bit_mask = DTSEC_IMASK_XFUNEN; in get_exception_flag()
634 bit_mask = DTSEC_IMASK_MAGEN; in get_exception_flag()
637 bit_mask = DTSEC_IMASK_MMRDEN; in get_exception_flag()
640 bit_mask = DTSEC_IMASK_MMWREN; in get_exception_flag()
643 bit_mask = DTSEC_IMASK_GRSCEN; in get_exception_flag()
646 bit_mask = DTSEC_IMASK_TDPEEN; in get_exception_flag()
649 bit_mask = DTSEC_IMASK_MSROEN; in get_exception_flag()
652 bit_mask = 0; in get_exception_flag()
656 return bit_mask; in get_exception_flag()
1335 u32 bit_mask = 0; in dtsec_set_exception() local
1341 bit_mask = get_exception_flag(exception); in dtsec_set_exception()
1342 if (bit_mask) { in dtsec_set_exception()
1344 dtsec->exceptions |= bit_mask; in dtsec_set_exception()
1346 dtsec->exceptions &= ~bit_mask; in dtsec_set_exception()
1352 iowrite32be(ioread32be(&regs->imask) | bit_mask, in dtsec_set_exception()
1355 iowrite32be(ioread32be(&regs->imask) & ~bit_mask, in dtsec_set_exception()