Home
last modified time | relevance | path

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

/u-boot/drivers/dma/
A Dlpc32xx_dma.c92 alloc_ch |= BIT_MASK(i); in lpc32xx_dma_get_channel()
99 if (unlikely(((BIT_MASK(channel) & alloc_ch) == 0) || in lpc32xx_dma_start_xfer()
104 writel(BIT_MASK(channel), &dma->int_tc_clear); in lpc32xx_dma_start_xfer()
105 writel(BIT_MASK(channel), &dma->int_err_clear); in lpc32xx_dma_start_xfer()
130 if (reg & BIT_MASK(channel)) in lpc32xx_dma_wait_status()
140 if (unlikely(readl(&dma->raw_err_stat) & BIT_MASK(channel))) { in lpc32xx_dma_wait_status()
141 setbits_le32(&dma->int_err_clear, BIT_MASK(channel)); in lpc32xx_dma_wait_status()
142 setbits_le32(&dma->raw_err_stat, BIT_MASK(channel)); in lpc32xx_dma_wait_status()
146 setbits_le32(&dma->int_tc_clear, BIT_MASK(channel)); in lpc32xx_dma_wait_status()
147 setbits_le32(&dma->raw_tc_stat, BIT_MASK(channel)); in lpc32xx_dma_wait_status()
/u-boot/arch/nios2/include/asm/bitops/
A 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()
A 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()
/u-boot/arch/sandbox/include/asm/
A 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()
/u-boot/arch/arm/include/asm/
A Dbitops.h44 unsigned long mask = BIT_MASK(nr); in __change_bit()
52 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit()
74 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit()
98 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit()
/u-boot/include/linux/
A Dbitops.h13 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) macro
209 unsigned long mask = BIT_MASK(nr); in generic_set_bit()
217 unsigned long mask = BIT_MASK(nr); in generic_clear_bit()
/u-boot/drivers/net/phy/
A Dmicrel_ksz90x1.c408 #define KSZ9131RN_DLL_CTRL_BYPASS BIT_MASK(12)
/u-boot/board/freescale/lx2160a/
A Dlx2160a.c555 brdcfg |= BIT_MASK(5); in config_board_mux()

Completed in 236 milliseconds