Searched refs:BCM63138_LED_BITS (Results 1 – 1 of 1) sorted by relevance
17 #define BCM63138_LED_BITS 4 /* how many bits control a single LED */ macro18 #define BCM63138_LED_MASK ((1 << BCM63138_LED_BITS) - 1) /* 0xf */19 #define BCM63138_LEDS_PER_REG (32 / BCM63138_LED_BITS) /* 8 */93 int shift = (led->pin & (BCM63138_LEDS_PER_REG - 1)) * BCM63138_LED_BITS; in bcm63138_leds_set_flash_rate()104 int shift = (led->pin & (BCM63138_LEDS_PER_REG - 1)) * BCM63138_LED_BITS; in bcm63138_leds_set_bright()