Searched refs:MODE_TORCH (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/drivers/leds/flash/ |
D | leds-max77693.c | 24 #define MODE_TORCH(a) (1 << (2 + (a))) macro 30 #define MODE_TORCH_MASK (MODE_TORCH(FLED1) | MODE_TORCH(FLED2)) 154 if (mode & MODE_TORCH(i)) in max77693_set_mode_reg() 171 if (mode & ~(MODE_TORCH(FLED1) | MODE_TORCH(FLED2))) { in max77693_set_mode_reg() 196 led->mode_flags &= (~MODE_TORCH(i) & ~MODE_FLASH(i)); in max77693_add_mode() 239 led->allowed_modes |= MODE_TORCH(fled_id); in max77693_add_allowed_modes() 472 ret = max77693_clear_mode(led, MODE_TORCH(fled_id)); in max77693_led_brightness_set() 488 ret = max77693_add_mode(led, MODE_TORCH(fled_id)); in max77693_led_brightness_set()
|
/linux-5.19.10/drivers/leds/ |
D | leds-lm355x.c | 38 MODE_TORCH, enumerator 215 case MODE_TORCH: in lm355x_control() 316 ret = lm355x_control(chip, brightness, MODE_TORCH); in lm355x_torch_brightness_set()
|
/linux-5.19.10/drivers/media/i2c/ |
D | lm3646.c | 51 MODE_TORCH = 0x2, enumerator 90 REG_ENABLE, flash->mode_reg | MODE_TORCH); in lm3646_mode_ctrl()
|
D | lm3560.c | 38 MODE_TORCH = 0x2, enumerator 79 REG_ENABLE, 0x03, MODE_TORCH); in lm3560_mode_ctrl()
|