Home
last modified time | relevance | path

Searched refs:BIT_MASK (Results 1 – 14 of 14) sorted by relevance

/third_party/uboot/u-boot-2020.01/drivers/ram/k3-j721e/
Dlpddr4_private.h17 #define BIT_MASK (0x1U) macro
49 #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))
Dlpddr4.c736 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()
/third_party/uboot/u-boot-2020.01/drivers/dma/
Dlpc32xx_dma.c89 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()
/third_party/uboot/u-boot-2020.01/arch/nios2/include/asm/bitops/
Dnon-atomic.h17 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()
Datomic.h67 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()
/third_party/uboot/u-boot-2020.01/arch/sandbox/include/asm/
Dbitops.h45 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()
/third_party/uboot/u-boot-2020.01/arch/arm/include/asm/
Dbitops.h38 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()
/third_party/uboot/u-boot-2020.01/include/linux/
Dbitops.h11 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) macro
193 unsigned long mask = BIT_MASK(nr); in generic_set_bit()
201 unsigned long mask = BIT_MASK(nr); in generic_clear_bit()
/third_party/exfat-utils/lib/
Dlibexfat.c31 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) macro
38 unsigned long mask = BIT_MASK(nr); in set_bit()
46 unsigned long mask = BIT_MASK(nr); in clear_bit()
/third_party/libjpeg/
Djdhuff.c142 (((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) macro
576 #define BIT_MASK(nbits) bmask[nbits] macro
/third_party/python/Modules/_ctypes/
Dcfield.c435 #define BIT_MASK(type, size) (((((type)1 << (NUM_BITS(size) - 1)) - 1) << 1) + 1) macro
449 …( ( (type)x & ~(BIT_MASK(type, size) << LOW_BIT(size)) ) | ( ((type)v & BIT_MASK(type, size)) << L…
/third_party/exfat-utils/fsck/
Dfsck.c35 #define BIT_MASK(__c) (1 << ((__c) % BITS_PER)) macro
41 (((bitmap_t *)(__bmap))[BIT_ENTRY(__c)] & BIT_MASK(__c))
44 BIT_MASK(__c))
/third_party/uboot/u-boot-2020.01/board/freescale/lx2160a/
Dlx2160a.c497 brdcfg |= BIT_MASK(5); in config_board_mux()
/third_party/f2fs-tools/include/
Df2fs_fs.h452 #define BIT_MASK(nr) (1 << (nr % BITS_PER_LONG)) macro