Home
last modified time | relevance | path

Searched full:torch (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v5.10/Documentation/leds/
Dleds-lm3556.rst16 There are 3 functions in LM3556, Flash, Torch and Indicator.
47 Torch Mode
50 In Torch Mode, the current source(LED) is programmed via the CURRENT CONTROL
51 REGISTER(0x09).Torch Mode is activated by the ENABLE REGISTER(0x0A) or by the
52 hardware TORCH input.
54 LM3556 torch can be controlled through sys/class/leds/torch/brightness file.
55 * if TORCH pin is enabled, below example control brightness only,
56 and ON / OFF will be controlled by TORCH pin.
58 Torch Example:
62 #echo 0 > sys/class/leds/torch/brightness
[all …]
Dleds-class-flash.rst5 Some LED devices provide two modes - torch and flash. In the LED subsystem
7 and LED Flash class respectively. The torch mode related features are enabled
68 constraints for the LED in TORCH mode
/Linux-v5.10/drivers/leds/trigger/
Dledtrig-camera.c3 * Camera Flash and Torch On/Off Trigger
39 led_trigger_register_simple("torch", &ledtrig_torch); in ledtrig_camera_init()
51 MODULE_DESCRIPTION("LED Trigger for Camera Flash/Torch Control");
DKconfig111 tristate "LED Camera Flash/Torch Trigger"
113 This allows LEDs to be controlled as a camera flash/torch device.
114 This enables direct flash/torch on/off by the driver, kernel space.
/Linux-v5.10/drivers/media/v4l2-core/
Dv4l2-flash-led-class.c50 * Indicator LEDs, unlike torch LEDs, are turned on/off basing on in __intensity_to_led_brightness()
65 * Indicator LEDs, unlike torch LEDs, are turned on/off basing on in __led_brightness_to_intensity()
68 * indicator LED as it may equal 0. For torch LEDs this function in __led_brightness_to_intensity()
71 * V4L2_FLASH_LED_MODE_NONE the cached torch intensity value is used. in __led_brightness_to_intensity()
124 * Update torch brightness only if in TORCH_MODE. In other modes in v4l2_flash_update_led_brightness()
125 * torch led is turned off, which would spuriously inform the in v4l2_flash_update_led_brightness()
209 /* Turn the torch LED off */ in v4l2_flash_s_ctrl()
242 * affect torch mode. Therefore, if not in the flash mode, in v4l2_flash_s_ctrl()
510 * torch mode. Synchronize strobe source setting only if not in torch in __sync_device_with_v4l2_controls()
511 * mode. For torch mode case it will get synchronized upon switching in __sync_device_with_v4l2_controls()
/Linux-v5.10/include/media/i2c/
Dlm3646.h30 /* TOTAL TORCH Brightness Max
50 /* LED1 TORCH Brightness
74 * @led1_torch_brt: led1 torch mode brightness, uA
Dlm3560.h44 /* TORCH BRT
74 * @max_torch_brt: torch mode led brightness
Dadp1653.h90 u32 max_torch_intensity; /* led intensity, torch mode, mA */
/Linux-v5.10/drivers/leds/
Dleds-tps6105x.c44 /* This instance is not set for torch mode so bail out */ in tps6105x_led_probe()
47 "chip not in torch mode, exit probe"); in tps6105x_led_probe()
63 init_data.default_label = ":torch"; in tps6105x_led_probe()
Dleds-lm3642.c165 /* torch */
167 /* torch pin config for lm3642 */
349 /* torch */ in lm3642_probe()
350 chip->cdev_torch.name = "torch"; in lm3642_probe()
353 chip->cdev_torch.default_trigger = "torch"; in lm3642_probe()
357 dev_err(chip->dev, "failed to register torch\n"); in lm3642_probe()
Dleds-lm355x.c235 "torch brt is set - ext. torch pin mode\n"); in lm355x_control()
306 /* torch */
459 /* torch */ in lm355x_probe()
460 chip->cdev_torch.name = "torch"; in lm355x_probe()
463 chip->cdev_torch.default_trigger = "torch"; in lm355x_probe()
Dleds-lm3601x.c2 // Flash and torch driver for Texas Instruments LM3601X LED
78 * @led_name: LED label for the Torch or IR LED
81 * @torch_current_max: maximum current for the torch
84 * @led_mode: The mode to enable either IR or Torch
352 "torch" : "infrared"; in lm3601x_register_leds()
Dleds-max77693.c42 TORCH, enumerator
83 /* maximum torch current values for FLED outputs */
162 * Enable hw triggering also for torch mode, as some in max77693_set_mode_reg()
163 * camera sensors use torch led to fathom ambient light in max77693_set_mode_reg()
212 * strobing on each subsequent torch mode setting. in max77693_add_mode()
273 max77693_distribute_currents(led, fled_id, TORCH, micro_amp, in max77693_set_torch_current()
399 * Initialize only flash current. Torch current doesn't in max77693_setup()
475 "Failed to clear torch mode (%d)\n", in max77693_led_brightness_set()
483 "Failed to set torch current (%d)\n", in max77693_led_brightness_set()
491 "Failed to set torch mode (%d)\n", in max77693_led_brightness_set()
DKconfig248 of flash, torch and indicator classes.
711 and torch mode.
726 and LM3556. It includes Torch, Flash and Indicator functions.
/Linux-v5.10/Documentation/userspace-api/media/v4l/
Dext-ctrls-flash.rst45 LED flash as torch
48 LED flash may be used as torch in conjunction with another use case
76 - Torch mode. See V4L2_CID_FLASH_TORCH_INTENSITY.
123 Intensity of the flash LED in torch mode
/Linux-v5.10/include/linux/platform_data/
Dleds-lm355x.h48 * lm3554-tx1/torch/gpio1
49 * lm3556-torch
/Linux-v5.10/drivers/media/i2c/
Dlm3646.c237 /* max torch current */ in lm3646_init_controls()
323 * LED1 torch current setting in lm3646_init_device()
324 * LED2 torch current = Total(Max) torch current - LED1 torch current in lm3646_init_device()
/Linux-v5.10/drivers/video/backlight/
Dlm3639_bl.c218 /* torch */
271 /* torch off before flash control */ in lm3639_flash_brightness_set()
372 /* torch */ in lm3639_probe()
379 dev_err(&client->dev, "fail : torch register\n"); in lm3639_probe()
/Linux-v5.10/Documentation/devicetree/bindings/leds/
Dams,as3645a.txt5 used in torch mode as well.
31 led-max-microamp: Maximum torch (assist) current in microamperes. The
Dleds-sgm3140.yaml14 levels for Flash and Torch modes.
Dleds-lm3601x.txt16 1 - Indicates a Torch (white LED) mode
/Linux-v5.10/drivers/staging/greybus/
Dlight.c145 /* If the channel is flash we need to get the attached torch channel */ in __gb_lights_flash_brightness_set()
747 /* we can only attach torch to a flash channel */ in __gb_lights_channel_torch_attach()
751 /* Move torch brightness to the destination */ in __gb_lights_channel_torch_attach()
795 * If light have torch mode channel, this channel will be the led in __gb_lights_flash_led_register()
843 * Intensity constraints for flash related modes: flash, torch, in gb_lights_channel_flash_config()
909 * flash classdev, torch will be led classdev of the flash classdev. in gb_lights_channel_register()
991 * If it is not a flash related channel (flash, torch or indicator) we in gb_lights_channel_config()
/Linux-v5.10/include/dt-bindings/leds/
Dcommon.h87 #define LED_FUNCTION_TORCH "torch"
/Linux-v5.10/drivers/staging/media/atomisp/include/media/
Dlm3554.h109 /* Torch brightness, input is percentage, output is [0..7] */
/Linux-v5.10/drivers/staging/media/atomisp/i2c/
Datomisp-lm3554.c251 * torch mode according to gsm modem signal by hardware. in lm3554_read_status()
518 .name = "Torch Intensity",
822 * ENVM/TX pin asserted, flash forced into torch; in lm3554_platform_data_func()

12