Searched refs:BIT_MASK (Results 1 – 9 of 9) sorted by relevance
/external/u-boot/drivers/dma/ |
D | lpc32xx_dma.c | 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()
|
/external/u-boot/arch/nios2/include/asm/bitops/ |
D | non-atomic.h | 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()
|
D | atomic.h | 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()
|
/external/u-boot/arch/sandbox/include/asm/ |
D | bitops.h | 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()
|
/external/u-boot/arch/arm/include/asm/ |
D | bitops.h | 36 unsigned long mask = BIT_MASK(nr); in __change_bit() 44 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit() 66 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit() 90 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit()
|
/external/u-boot/include/linux/ |
D | bitops.h | 11 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) macro 188 unsigned long mask = BIT_MASK(nr); in generic_set_bit() 196 unsigned long mask = BIT_MASK(nr); in generic_clear_bit()
|
/external/python/cpython3/Modules/_ctypes/ |
D | cfield.c | 435 #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…
|
/external/python/cpython2/Modules/_ctypes/ |
D | cfield.c | 445 #define BIT_MASK(type, size) (((((type)1 << (NUM_BITS(size) - 1)) - 1) << 1) + 1) macro 459 …( ( (type)x & ~(BIT_MASK(type, size) << LOW_BIT(size)) ) | ( ((type)v & BIT_MASK(type, size)) << L…
|
/external/f2fs-tools/include/ |
D | f2fs_fs.h | 427 #define BIT_MASK(nr) (1 << (nr % BITS_PER_LONG)) macro
|