Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/leds/flash/
Dleds-mt6370-flash.c80 unsigned int fled_strobe_used; member
104 if (priv->fled_strobe_used) { in mt6370_torch_brightness_set()
105 dev_warn(lcdev->dev, "Please disable strobe first [%d]\n", priv->fled_strobe_used); in mt6370_torch_brightness_set()
221 curr = priv->fled_strobe_used | BIT(led->led_no); in mt6370_strobe_set()
223 curr = priv->fled_strobe_used & ~BIT(led->led_no); in mt6370_strobe_set()
248 if (!priv->fled_strobe_used && curr) in mt6370_strobe_set()
250 else if (priv->fled_strobe_used && !curr) in mt6370_strobe_set()
253 priv->fled_strobe_used = curr; in mt6370_strobe_set()
266 *state = !!(priv->fled_strobe_used & BIT(led->led_no)); in mt6370_strobe_get()
361 priv->fled_strobe_used |= BIT(led->led_no); in mt6370_flash_external_strobe_set()
[all …]
Dleds-sy7802.c102 unsigned int fled_strobe_used; member
122 if (chip->fled_strobe_used) { in sy7802_torch_brightness_set()
213 fled_strobe_used_tmp = chip->fled_strobe_used | BIT(led->led_id); in sy7802_strobe_set()
215 fled_strobe_used_tmp = chip->fled_strobe_used & ~BIT(led->led_id); in sy7802_strobe_set()
231 chip->fled_strobe_used = fled_strobe_used_tmp; in sy7802_strobe_set()
244 *state = !!(chip->fled_strobe_used & BIT(led->led_id)); in sy7802_strobe_get()
Dleds-mt6360.c90 unsigned int fled_strobe_used; member
173 if (priv->fled_strobe_used) { in mt6360_torch_brightness_set()
175 priv->fled_strobe_used); in mt6360_torch_brightness_set()
243 u32 prev = priv->fled_strobe_used, curr; in mt6360_strobe_set()
303 priv->fled_strobe_used = curr; in mt6360_strobe_set()
317 *state = !!(priv->fled_strobe_used & BIT(led->led_no)); in mt6360_strobe_get()
485 priv->fled_strobe_used |= BIT(led->led_no); in mt6360_flash_external_strobe_set()
487 priv->fled_strobe_used &= ~BIT(led->led_no); in mt6360_flash_external_strobe_set()