Searched refs:LED_SHIFT (Results 1 – 2 of 2) sorted by relevance
30 #define LED_SHIFT(led) (LED_NUM(led) * 2) macro31 #define LED_MASK(led) (0x3 << LED_SHIFT(led))168 reg = reg | (led->state << LED_SHIFT(led->id)); in pca9532_setled()264 ret = (reg & LED_MASK(led->id)) >> LED_SHIFT(led->id); in pca9532_getled()
52 #define LED_SHIFT 0 macro
Completed in 8 milliseconds