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