| /kernel/linux/linux-4.19/Documentation/leds/ |
| D | leds-lm3556.txt | 14 There are 3 functions in LM3556, Flash, Torch and Indicator. 31 TORCH MODE 32 In Torch Mode, the current source(LED) is programmed via the CURRENT CONTROL 33 REGISTER(0x09).Torch Mode is activated by the ENABLE REGISTER(0x0A) or by the 34 hardware TORCH input. 35 LM3556 torch can be controlled through sys/class/leds/torch/brightness file. 36 * if TORCH pin is enabled, below example control brightness only, 37 and ON / OFF will be controlled by TORCH pin. 39 Torch Example: 40 OFF : #echo 0 > sys/class/leds/torch/brightness [all …]
|
| D | leds-class-flash.txt | 5 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 53 * torch_intensity - constraints for the LED in TORCH mode
|
| /kernel/linux/linux-5.10/Documentation/leds/ |
| D | leds-lm3556.rst | 16 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 …]
|
| D | leds-class-flash.rst | 5 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
|
| /kernel/linux/linux-5.10/drivers/leds/trigger/ |
| D | ledtrig-camera.c | 3 * 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");
|
| D | Kconfig | 111 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.
|
| /kernel/linux/linux-4.19/drivers/leds/trigger/ |
| D | ledtrig-camera.c | 2 * Camera Flash and Torch On/Off Trigger 42 led_trigger_register_simple("torch", &ledtrig_torch); in ledtrig_camera_init() 54 MODULE_DESCRIPTION("LED Trigger for Camera Flash/Torch Control");
|
| D | Kconfig | 110 tristate "LED Camera Flash/Torch Trigger" 112 This allows LEDs to be controlled as a camera flash/torch device. 113 This enables direct flash/torch on/off by the driver, kernel space.
|
| /kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
| D | v4l2-flash-led-class.c | 50 * 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()
|
| /kernel/linux/linux-4.19/drivers/media/v4l2-core/ |
| D | v4l2-flash-led-class.c | 53 * Indicator LEDs, unlike torch LEDs, are turned on/off basing on in __intensity_to_led_brightness() 68 * Indicator LEDs, unlike torch LEDs, are turned on/off basing on in __led_brightness_to_intensity() 71 * indicator LED as it may equal 0. For torch LEDs this function in __led_brightness_to_intensity() 74 * V4L2_FLASH_LED_MODE_NONE the cached torch intensity value is used. in __led_brightness_to_intensity() 127 * Update torch brightness only if in TORCH_MODE. In other modes in v4l2_flash_update_led_brightness() 128 * torch led is turned off, which would spuriously inform the in v4l2_flash_update_led_brightness() 212 /* Turn the torch LED off */ in v4l2_flash_s_ctrl() 245 * affect torch mode. Therefore, if not in the flash mode, in v4l2_flash_s_ctrl() 513 * torch mode. Synchronize strobe source setting only if not in torch in __sync_device_with_v4l2_controls() 514 * mode. For torch mode case it will get synchronized upon switching in __sync_device_with_v4l2_controls()
|
| /kernel/linux/linux-5.10/include/media/i2c/ |
| D | lm3646.h | 30 /* TOTAL TORCH Brightness Max 50 /* LED1 TORCH Brightness 74 * @led1_torch_brt: led1 torch mode brightness, uA
|
| D | lm3560.h | 44 /* TORCH BRT 74 * @max_torch_brt: torch mode led brightness
|
| /kernel/linux/linux-4.19/include/media/i2c/ |
| D | lm3646.h | 33 /* TOTAL TORCH Brightness Max 53 /* LED1 TORCH Brightness 77 * @led1_torch_brt: led1 torch mode brightness, uA
|
| /kernel/linux/linux-5.10/drivers/leds/ |
| D | leds-tps6105x.c | 44 /* 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()
|
| D | leds-lm3642.c | 165 /* 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()
|
| D | leds-lm355x.c | 235 "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()
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | ext-ctrls-flash.rst | 45 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
|
| /kernel/linux/linux-4.19/drivers/leds/ |
| D | leds-lm3642.c | 170 /* torch */ 172 /* torch pin config for lm3642*/ 363 /* torch */ in lm3642_probe() 364 chip->cdev_torch.name = "torch"; in lm3642_probe() 367 chip->cdev_torch.default_trigger = "torch"; in lm3642_probe() 372 dev_err(chip->dev, "failed to register torch\n"); in lm3642_probe()
|
| D | leds-lm355x.c | 239 "torch brt is set - ext. torch pin mode\n"); in lm355x_control() 310 /* torch */ 464 /* torch */ in lm355x_probe() 465 chip->cdev_torch.name = "torch"; in lm355x_probe() 468 chip->cdev_torch.default_trigger = "torch"; in lm355x_probe()
|
| D | leds-lm3601x.c | 2 // Flash and torch driver for Texas Instruments LM3601X LED 79 * @led_name: LED label for the Torch or IR LED 82 * @torch_current_max: maximum current for the torch 85 * @led_mode: The mode to enable either IR or Torch 382 name = "torch"; in lm3601x_parse_node()
|
| /kernel/linux/linux-4.19/include/linux/platform_data/ |
| D | leds-lm355x.h | 49 * lm3554-tx1/torch/gpio1 50 * lm3556-torch
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| D | leds-lm355x.h | 48 * lm3554-tx1/torch/gpio1 49 * lm3556-torch
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/leds/ |
| D | leds-lm3601x.txt | 16 1 - Indicates a Torch (white LED) mode 36 label = "white:torch";
|
| /kernel/linux/linux-4.19/drivers/media/i2c/ |
| D | lm3646.c | 240 /* max torch current */ in lm3646_init_controls() 325 * LED1 torch current setting in lm3646_init_device() 326 * LED2 torch current = Total(Max) torch current - LED1 torch current in lm3646_init_device()
|
| /kernel/linux/linux-5.10/drivers/media/i2c/ |
| D | lm3646.c | 237 /* 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()
|