Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-6.6/drivers/leds/flash/
DKconfig39 of flash, torch and indicator classes.
49 and torch mode.
61 Independent current sources supply for each flash LED support torch
70 Support 2 channels and torch/strobe mode.
101 RT4505 includes torch and flash functions with programmable current.
106 tristate "LED support for Richtek RT8515 flash/torch LED"
111 and torch LEDs found on some mobile phones.
Dleds-rt8515.c3 * LED driver for Richtek RT8515 flash/torch white LEDs
15 * RTS (resistance torch setting?) is 39 kOhm
40 /* The maximum intensity is 1-16 for flash and 1-100 for torch */
89 /* This is setting the torch light level */
105 /* Max torch brightness requested */ in rt8515_led_brightness_set()
136 /* After this the torch LED will be disabled */ in rt8515_led_flash_strobe_set()
301 /* ENT - Enable Torch line */ in rt8515_probe()
305 "cannot get ENT (enable torch) GPIO\n"); in rt8515_probe()
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/leds/
Drichtek,rt8515.yaml14 supports driving a white LED in flash or torch mode. The maximum
28 description: A connection to the 'ENT' (enable torch) pin.
43 resistors limits the maximum torch current. This must be set
44 for the property torch-max-microamp to work, the RTS resistor
46 torch LED.
70 description: The maximum current for torch mode
/kernel/linux/linux-6.6/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");
DKconfig113 tristate "LED Camera Flash/Torch Trigger"
115 This allows LEDs to be controlled as a camera flash/torch device.
116 This enables direct flash/torch on/off by the driver, kernel space.
/kernel/linux/linux-5.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.
/kernel/linux/linux-5.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()
/kernel/linux/linux-6.6/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()
131 * Update torch brightness only if in TORCH_MODE. In other modes in v4l2_flash_update_led_brightness()
132 * torch led is turned off, which would spuriously inform the in v4l2_flash_update_led_brightness()
240 /* Turn the torch LED off */ in v4l2_flash_s_ctrl()
272 * affect torch mode. Therefore, if not in the flash mode, in v4l2_flash_s_ctrl()
548 * torch mode. Synchronize strobe source setting only if not in torch in __sync_device_with_v4l2_controls()
549 * mode. For torch mode case it will get synchronized upon switching in __sync_device_with_v4l2_controls()
/kernel/linux/linux-6.6/include/media/i2c/
Dlm3646.h30 /* TOTAL TORCH Brightness Max
50 /* LED1 TORCH Brightness
74 * @led1_torch_brt: led1 torch mode brightness, uA
/kernel/linux/linux-5.10/include/media/i2c/
Dlm3646.h30 /* TOTAL TORCH Brightness Max
50 /* LED1 TORCH Brightness
74 * @led1_torch_brt: led1 torch mode brightness, uA
/kernel/linux/linux-6.6/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 */
348 /* torch */ in lm3642_probe()
349 chip->cdev_torch.name = "torch"; in lm3642_probe()
352 chip->cdev_torch.default_trigger = "torch"; in lm3642_probe()
356 dev_err(chip->dev, "failed to register torch\n"); in lm3642_probe()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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
/kernel/linux/linux-6.6/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
77 - Torch mode.
126 Intensity of the flash LED in torch mode
/kernel/linux/linux-6.6/include/linux/platform_data/
Dleds-lm355x.h48 * lm3554-tx1/torch/gpio1
49 * lm3556-torch
/kernel/linux/linux-5.10/include/linux/platform_data/
Dleds-lm355x.h48 * lm3554-tx1/torch/gpio1
49 * lm3556-torch
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.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()

1234