Searched refs:led_no (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/media/i2c/ |
D | lm3560.c | 91 enum lm3560_led_id led_no, bool on) in lm3560_enable_ctrl() argument 95 if (led_no == LM3560_LED0) { in lm3560_enable_ctrl() 115 enum lm3560_led_id led_no, unsigned int brt) in lm3560_torch_brt_ctrl() argument 121 return lm3560_enable_ctrl(flash, led_no, false); in lm3560_torch_brt_ctrl() 123 rval = lm3560_enable_ctrl(flash, led_no, true); in lm3560_torch_brt_ctrl() 126 if (led_no == LM3560_LED0) in lm3560_torch_brt_ctrl() 138 enum lm3560_led_id led_no, unsigned int brt) in lm3560_flash_brt_ctrl() argument 144 return lm3560_enable_ctrl(flash, led_no, false); in lm3560_flash_brt_ctrl() 146 rval = lm3560_enable_ctrl(flash, led_no, true); in lm3560_flash_brt_ctrl() 149 if (led_no == LM3560_LED0) in lm3560_flash_brt_ctrl() [all …]
|
/linux-6.1.9/drivers/leds/flash/ |
D | leds-mt6360.c | 86 u32 led_no; member 141 u32 enable_mask = MT6360_ISNK_ENMASK(led->led_no); in mt6360_isnk_brightness_set() 142 u32 val = level ? MT6360_ISNK_ENMASK(led->led_no) : 0; in mt6360_isnk_brightness_set() 147 ret = regmap_update_bits(priv->regmap, MT6360_REG_ISNK(led->led_no), in mt6360_isnk_brightness_set() 166 u32 enable_mask = MT6360_TORCHEN_MASK | MT6360_FLCSEN_MASK(led->led_no); in mt6360_torch_brightness_set() 167 u32 val = level ? MT6360_FLCSEN_MASK(led->led_no) : 0; in mt6360_torch_brightness_set() 185 curr = prev | BIT(led->led_no); in mt6360_torch_brightness_set() 187 curr = prev & ~BIT(led->led_no); in mt6360_torch_brightness_set() 194 MT6360_REG_FLEDITOR(led->led_no), in mt6360_torch_brightness_set() 234 MT6360_REG_FLEDISTRB(led->led_no), in _mt6360_flash_brightness_set() [all …]
|
/linux-6.1.9/drivers/input/ |
D | input-leds.c | 91 int led_no; in input_leds_connect() local 117 led_no = 0; in input_leds_connect() 122 led = &leds->leds[led_no]; in input_leds_connect() 147 led_no++; in input_leds_connect() 153 while (--led_no >= 0) { in input_leds_connect() 154 struct input_led *led = &leds->leds[led_no]; in input_leds_connect()
|
/linux-6.1.9/drivers/leds/ |
D | leds-tlc591xx.c | 45 unsigned int led_no; member 90 unsigned int i = (led->led_no % 4) * 2; in tlc591xx_set_ledout() 92 unsigned int addr = priv->reg_ledout_offset + (led->led_no >> 2); in tlc591xx_set_ledout() 103 u8 pwm = TLC591XX_REG_PWM(led->led_no); in tlc591xx_set_pwm() 207 led->led_no = reg; in tlc591xx_probe()
|