/drivers/mfd/ |
D | dbx500-prcmu-regs.h | 16 #define BITS(_start, _end) ((BIT(_end) - BIT(_start)) + BIT(_end)) macro 121 #define PRCM_PLL_FREQ_D_MASK BITS(0, 7) 123 #define PRCM_PLL_FREQ_N_MASK BITS(8, 13) 125 #define PRCM_PLL_FREQ_R_MASK BITS(16, 18) 144 #define PRCM_DSI_PLLOUT_SEL_DSI0_PLLOUT_DIVSEL_MASK BITS(0, 2) 146 #define PRCM_DSI_PLLOUT_SEL_DSI1_PLLOUT_DIVSEL_MASK BITS(8, 10) 154 #define PRCM_DSITVCLK_DIV_DSI0_ESC_CLK_DIV_MASK BITS(0, 7) 156 #define PRCM_DSITVCLK_DIV_DSI1_ESC_CLK_DIV_MASK BITS(8, 15) 158 #define PRCM_DSITVCLK_DIV_DSI2_ESC_CLK_DIV_MASK BITS(16, 23) 167 #define PRCM_CLKOCR_CLKOUT0_MASK BITS(0, 13) [all …]
|
/drivers/scsi/ |
D | aha152x.h | 290 #define SETBITS(PORT, BITS) outb( (inb(PORT) | (BITS)), (PORT) ) argument 291 #define CLRBITS(PORT, BITS) outb( (inb(PORT) & ~(BITS)), (PORT) ) argument 292 #define TESTHI(PORT, BITS) ((inb(PORT) & (BITS)) == (BITS)) argument 293 #define TESTLO(PORT, BITS) ((inb(PORT) & (BITS)) == 0) argument
|
D | scsi_logging.h | 43 #define SCSI_LOG_LEVEL(SHIFT, BITS) \ argument 44 ((scsi_logging_level >> (SHIFT)) & ((1 << (BITS)) - 1)) 46 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) \ argument 48 if (unlikely((SCSI_LOG_LEVEL(SHIFT, BITS)) > (LEVEL))) \ 54 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) argument
|
/drivers/scsi/mpt2sas/ |
D | mpt2sas_debug.h | 76 #define MPT_CHECK_LOGGING(IOC, CMD, BITS) \ argument 78 if (IOC->logging_level & BITS) \ 82 #define MPT_CHECK_LOGGING(IOC, CMD, BITS) argument
|
/drivers/scsi/mpt3sas/ |
D | mpt3sas_debug.h | 75 #define MPT_CHECK_LOGGING(IOC, CMD, BITS) \ argument 77 if (IOC->logging_level & BITS) \ 81 #define MPT_CHECK_LOGGING(IOC, CMD, BITS) argument
|
/drivers/message/fusion/ |
D | mptdebug.h | 68 #define MPT_CHECK_LOGGING(IOC, CMD, BITS) \ argument 70 if (IOC->debug_level & BITS) \ 74 #define MPT_CHECK_LOGGING(IOC, CMD, BITS) argument
|
/drivers/net/wireless/iwlwifi/mvm/ |
D | fw-api-coex.h | 71 #define BITS(nb) (BIT(nb) - 1) macro 92 BT_COEX_MODE_MSK = BITS(3) << BT_COEX_MODE_POS, 327 BT_MBOX##n_dw##_##_msg = BITS(_nbits) << BT_MBOX##n_dw##_##_msg##_POS
|
/drivers/firmware/efi/libstub/ |
D | Makefile | 9 cflags-$(CONFIG_X86) += -m$(BITS) -D__KERNEL__ $(LINUX_INCLUDE) -O2 \
|
/drivers/input/keyboard/ |
D | lkkbd.c | 266 #define CHECK_LED(LK, VAR_ON, VAR_OFF, LED, BITS) do { \ argument 268 VAR_ON |= BITS; \ 270 VAR_OFF |= BITS; \
|
/drivers/net/ethernet/sun/ |
D | niu.c | 130 #define niu_set_and_wait_clear_mac(NP, REG, BITS, LIMIT, DELAY, REG_NAME) \ argument 132 __niu_set_and_wait_clear_mac(NP, REG, BITS, LIMIT, DELAY, REG_NAME); \ 169 #define niu_set_and_wait_clear_ipp(NP, REG, BITS, LIMIT, DELAY, REG_NAME) \ argument 171 __niu_set_and_wait_clear_ipp(NP, REG, BITS, LIMIT, DELAY, REG_NAME); \ 189 #define niu_wait_bits_clear(NP, REG, BITS, LIMIT, DELAY) \ argument 191 __niu_wait_bits_clear(NP, REG, BITS, LIMIT, DELAY); \ 209 #define niu_set_and_wait_clear(NP, REG, BITS, LIMIT, DELAY, REG_NAME) \ argument 211 __niu_set_and_wait_clear(NP, REG, BITS, LIMIT, DELAY, REG_NAME); \
|
/drivers/spi/ |
D | spi-atmel.c | 999 csr = SPI_BF(BITS, bits - 8); in atmel_spi_setup()
|