Searched refs:BIT_MASK (Results 1 – 14 of 14) sorted by relevance
17 #define BIT_MASK (0x1U) macro49 #define RX_CAL_DONE ((uint32_t)BIT_MASK << 4U)50 #define CA_TRAIN_RL (((uint32_t)BIT_MASK << 5U) | ((uint32_t)BIT_MASK << 4U))52 #define GATE_LVL_ERROR_FIELDS (((uint32_t)BIT_MASK << 7U) | ((uint32_t)BIT_MASK << 6U))54 #define DQ_LVL_STATUS (((uint32_t)BIT_MASK << 26U) | (((uint32_t)BYTE_MASK) << 18U))
736 if (((ctlirqstatus >> fieldshift) & BIT_MASK) > 0U) { in lpddr4_checkctlinterrupt()763 regval = ((uint32_t) BIT_MASK << localinterrupt); in lpddr4_ackctlinterrupt()767 regval = ((uint32_t) BIT_MASK << localinterrupt); in lpddr4_ackctlinterrupt()840 (((phyindepirqstatus >> (uint32_t) intr) & BIT_MASK) > 0U); in lpddr4_checkphyindepinterrupt()858 regval = ((uint32_t) BIT_MASK << ui32shiftinterrupt); in lpddr4_ackphyindepinterrupt()911 errbitmask = (BIT_MASK << 1) | (BIT_MASK); in lpddr4_checkwrlvlerror()1071 uint32_t errbitmask = (BIT_MASK << 0x1U) | (BIT_MASK); in lpddr4_seterrors()
89 alloc_ch |= BIT_MASK(i); in lpc32xx_dma_get_channel()96 if (unlikely(((BIT_MASK(channel) & alloc_ch) == 0) || in lpc32xx_dma_start_xfer()101 writel(BIT_MASK(channel), &dma->int_tc_clear); in lpc32xx_dma_start_xfer()102 writel(BIT_MASK(channel), &dma->int_err_clear); in lpc32xx_dma_start_xfer()127 if (reg & BIT_MASK(channel)) in lpc32xx_dma_wait_status()137 if (unlikely(readl(&dma->raw_err_stat) & BIT_MASK(channel))) { in lpc32xx_dma_wait_status()138 setbits_le32(&dma->int_err_clear, BIT_MASK(channel)); in lpc32xx_dma_wait_status()139 setbits_le32(&dma->raw_err_stat, BIT_MASK(channel)); in lpc32xx_dma_wait_status()143 setbits_le32(&dma->int_tc_clear, BIT_MASK(channel)); in lpc32xx_dma_wait_status()144 setbits_le32(&dma->raw_tc_stat, BIT_MASK(channel)); in lpc32xx_dma_wait_status()
17 unsigned long mask = BIT_MASK(nr); in __set_bit()27 unsigned long mask = BIT_MASK(nr); in __clear_bit()46 unsigned long mask = BIT_MASK(nr); in __change_bit()63 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit()82 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit()94 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit()
67 unsigned long mask = BIT_MASK(nr); in set_bit()88 unsigned long mask = BIT_MASK(nr); in clear_bit()109 unsigned long mask = BIT_MASK(nr); in change_bit()129 unsigned long mask = BIT_MASK(nr); in test_and_set_bit()153 unsigned long mask = BIT_MASK(nr); in test_and_clear_bit()176 unsigned long mask = BIT_MASK(nr); in test_and_change_bit()
45 unsigned long mask = BIT_MASK(nr); in __change_bit()53 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit()75 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit()99 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit()
38 unsigned long mask = BIT_MASK(nr); in __change_bit()46 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit()68 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit()92 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit()
11 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) macro193 unsigned long mask = BIT_MASK(nr); in generic_set_bit()201 unsigned long mask = BIT_MASK(nr); in generic_clear_bit()
31 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) macro38 unsigned long mask = BIT_MASK(nr); in set_bit()46 unsigned long mask = BIT_MASK(nr); in clear_bit()
142 (((int) (get_buffer >> (bits_left -= (nbits)))) & BIT_MASK(nbits))145 (((int) (get_buffer >> (bits_left - (nbits)))) & BIT_MASK(nbits))571 #define BIT_MASK(nbits) ((1<<(nbits))-1) macro576 #define BIT_MASK(nbits) bmask[nbits] macro
435 #define BIT_MASK(type, size) (((((type)1 << (NUM_BITS(size) - 1)) - 1) << 1) + 1) macro449 …( ( (type)x & ~(BIT_MASK(type, size) << LOW_BIT(size)) ) | ( ((type)v & BIT_MASK(type, size)) << L…
35 #define BIT_MASK(__c) (1 << ((__c) % BITS_PER)) macro41 (((bitmap_t *)(__bmap))[BIT_ENTRY(__c)] & BIT_MASK(__c))44 BIT_MASK(__c))
497 brdcfg |= BIT_MASK(5); in config_board_mux()
452 #define BIT_MASK(nr) (1 << (nr % BITS_PER_LONG)) macro