Lines Matching refs:FLED2
27 #define MODE_FLASH_MASK (MODE_FLASH(FLED1) | MODE_FLASH(FLED2) | \
29 MODE_FLASH_EXTERNAL(FLED2))
30 #define MODE_TORCH_MASK (MODE_TORCH(FLED1) | MODE_TORCH(FLED2))
37 FLED2, enumerator
153 for (i = FLED1; i <= FLED2; ++i) { in max77693_set_mode_reg()
171 if (mode & ~(MODE_TORCH(FLED1) | MODE_TORCH(FLED2))) { in max77693_set_mode_reg()
194 for (i = FLED1; i <= FLED2; ++i) in max77693_add_mode()
253 iout[FLED2] = micro_amp - iout[FLED1]; in max77693_distribute_currents()
262 if (iout[FLED2]) in max77693_distribute_currents()
263 max77693_add_allowed_modes(led, FLED2, mode); in max77693_distribute_currents()
280 if (fled_id == FLED2 || led->iout_joint) { in max77693_set_torch_current()
281 iout2_reg = max77693_led_iout_to_reg(iout[FLED2]); in max77693_set_torch_current()
311 if (fled_id == FLED2 || led->iout_joint) { in max77693_set_flash_current()
312 iout2_reg = max77693_led_iout_to_reg(iout[FLED2]); in max77693_set_flash_current()
407 led_cfg->iout_flash_max[FLED2]; in max77693_setup()
409 first_led = max77693_fled_used(led, FLED1) ? FLED1 : FLED2; in max77693_setup()
410 last_led = max77693_fled_used(led, FLED2) ? FLED2 : FLED1; in max77693_setup()
412 max_flash_curr[FLED2] = led_cfg->iout_flash_max[FLED2]; in max77693_setup()
445 if (max77693_fled_used(led, FLED1) && max77693_fled_used(led, FLED2)) in max77693_setup()
634 } else if (led_sources[0] == FLED2) { in max77693_led_parse_dt()
635 fled_id = FLED2; in max77693_led_parse_dt()
681 max77693_fled_used(led, FLED2))) in max77693_led_parse_dt()
708 iout[FLED2] = iout[FLED1]; in max77693_align_iout_current()
711 iout[FLED2] = 0; in max77693_align_iout_current()
716 for (i = FLED1; i <= FLED2; ++i) in max77693_align_iout_current()
731 max77693_fled_used(led, FLED1) && max77693_fled_used(led, FLED2)) in max77693_led_validate_configuration()
800 led_cfg->iout_flash_max[FLED2] : in max77693_init_flash_settings()
896 led_cfg->iout_torch_max[FLED2] : in max77693_init_fled_cdev()
972 init_fled_cdev[FLED2] = in max77693_led_probe()
973 !led->iout_joint && max77693_fled_used(led, FLED2); in max77693_led_probe()
975 for (i = FLED1; i <= FLED2; ++i) { in max77693_led_probe()
993 if (i == FLED2) in max77693_led_probe()
1014 for (i = FLED1; i <= FLED2; i++) in max77693_led_probe()
1029 if (!led->iout_joint && max77693_fled_used(led, FLED2)) { in max77693_led_remove()
1030 v4l2_flash_release(sub_leds[FLED2].v4l2_flash); in max77693_led_remove()
1031 led_classdev_flash_unregister(&sub_leds[FLED2].fled_cdev); in max77693_led_remove()