Home
last modified time | relevance | path

Searched refs:LED_NUM (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/leds/
Dleds-pca9532.c33 #define LED_NUM(led) (led & 0x3) macro
169 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()
Dleds-bd2802.c45 LED_NUM, enumerator
139 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()
/Linux-v4.19/include/uapi/linux/
Dkd.h31 #define LED_NUM 0x02 /* num lock led */ macro