Searched refs:LED_SHIFT (Results 1 – 2 of 2) sorted by relevance
29 #define LED_SHIFT(led) (LED_NUM(led) * 2) macro30 #define LED_MASK(led) (0x3 << LED_SHIFT(led))174 reg = reg | (led->state << LED_SHIFT(led->id)); in pca9532_setled()304 ret = (reg & LED_MASK(led->id)) >> LED_SHIFT(led->id); in pca9532_getled()
52 #define LED_SHIFT 0 macro