Home
last modified time | relevance | path

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

/openbmc/linux/drivers/leds/blink/
H A Dleds-bcm63138.c19 #define BCM63138_LEDS_PER_REG (32 / BCM63138_LED_BITS) /* 8 */ macro
92 int reg_offset = (led->pin >> fls((BCM63138_LEDS_PER_REG - 1))) * 4; in bcm63138_leds_set_flash_rate()
93 int shift = (led->pin & (BCM63138_LEDS_PER_REG - 1)) * BCM63138_LED_BITS; in bcm63138_leds_set_flash_rate()
103 int reg_offset = (led->pin >> fls((BCM63138_LEDS_PER_REG - 1))) * 4; in bcm63138_leds_set_bright()
104 int shift = (led->pin & (BCM63138_LEDS_PER_REG - 1)) * BCM63138_LED_BITS; in bcm63138_leds_set_bright()