Searched refs:PCA9532_REG_OFFSET (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/leds/
H A Dleds-pca9532.c27 #define PCA9532_REG_OFFSET(m) ((m) >> 4) macro
28 #define PCA9532_REG_PSC(m, i) (PCA9532_REG_OFFSET(m) + 0x1 + (i) * 2)
29 #define PCA9532_REG_PWM(m, i) (PCA9532_REG_OFFSET(m) + 0x2 + (i) * 2)
30 #define LED_REG(m, led) (PCA9532_REG_OFFSET(m) + 0x5 + (led >> 2))

Completed in 52 milliseconds