Searched refs:MASK_VAL (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/i2c/busses/
H A Di2c-efm32.c18 #define MASK_VAL(mask, val) ((val << __ffs(mask)) & mask) macro
76 #define REG_CLKDIV_DIV(div) MASK_VAL(REG_CLKDIV_DIV__MASK, (div))
112 #define REG_ROUTE_LOCATION(n) MASK_VAL(REG_ROUTE_LOCATION__MASK, (n))
/linux-4.4.14/drivers/spi/
H A Dspi-efm32.c23 #define MASK_VAL(mask, val) ((val << __ffs(mask)) & mask) macro
71 #define REG_ROUTE_LOCATION(n) MASK_VAL(REG_ROUTE_LOCATION__MASK, (n))

Completed in 278 milliseconds