Searched refs:LED_MODE_SEL_POS (Results 1 – 1 of 1) sorted by relevance
84 #define LED_MODE_SEL_POS(x) ((x) * 4) macro85 #define LED_MODE_SEL_MASK(x) (GENMASK(3, 0) << LED_MODE_SEL_POS(x))86 #define LED_MODE_SEL(x, mode) (((mode) << LED_MODE_SEL_POS(x)) & LED_MODE_SEL_MASK(x))