Searched refs:LED_NUM (Results 1 – 3 of 3) sorted by relevance
33 #define LED_NUM(led) (led & 0x3) macro169 reg = reg & ~(0x3<<LED_NUM(led->id)*2); in pca9532_setled()171 reg = reg | (led->state << LED_NUM(led->id)*2); in pca9532_setled()267 ret = reg >> LED_NUM(led->id)/2; in pca9532_getled()
45 LED_NUM, enumerator139 for (i = 0; i < LED_NUM; i++) in bd2802_is_all_off()180 for (i = 0; i < LED_NUM; i++) { in bd2802_update_state()742 for (i = 0; i < LED_NUM; i++) { in bd2802_restore_state()
31 #define LED_NUM 0x02 /* num lock led */ macro