| /OK3568_Linux_fs/kernel/Documentation/leds/ |
| H A 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 …]
|
| H A 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
|
| /OK3568_Linux_fs/external/rknn-toolkit2/examples/pytorch/resnet18_qat/ |
| H A D | test.py | 5 import torch 35 import torch 36 torch_ver = torch.__version__.split('.') 43 import torch 44 …print("Your torch version is '{}', in order to better support the Quantization Aware Training (QAT… 45 "Please update the torch version to '1.9.0' or higher!".format(torch.__version__))
|
| /OK3568_Linux_fs/external/rknn-toolkit2/examples/pytorch/resnet18_export_onnx/ |
| H A D | test.py | 1 import torch 2 import torch.nn as nn 3 from torch.nn import functional as F 85 x = torch.randn((1, 3, 224, 224)) 86 …torch.onnx.export(model, x, './resnet18.onnx', opset_version=12, input_names=['input'], output_nam…
|
| /OK3568_Linux_fs/kernel/drivers/media/v4l2-core/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/leds/trigger/ |
| H A 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");
|
| H A 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.
|
| /OK3568_Linux_fs/kernel/drivers/leds/ |
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A D | leds-max77693.c | 42 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()
|
| H A D | leds-lm3601x.c | 2 // 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()
|
| /OK3568_Linux_fs/kernel/include/media/i2c/ |
| H A D | lm3646.h | 30 /* TOTAL TORCH Brightness Max 50 /* LED1 TORCH Brightness 74 * @led1_torch_brt: led1 torch mode brightness, uA
|
| H A D | lm3560.h | 44 /* TORCH BRT 74 * @max_torch_brt: torch mode led brightness
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/ |
| H A 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
|
| /OK3568_Linux_fs/external/rknn-toolkit2/examples/pytorch/resnet18/ |
| H A D | test.py | 5 import torch 12 trace_model = torch.jit.trace(net, torch.Tensor(1, 3, 224, 224))
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | aw36518.c | 8 * V0.0X01.0X01 fix power off torch not off issue. 65 /* TORCH BRT 302 /* hw torch/strobe io trigger torch */ in aw36518_set_mode() 308 "%s:set torch gpio high.\n", __func__); in aw36518_set_mode() 316 "%s:set torch gpio low.\n", __func__); in aw36518_set_mode() 728 "torch", GPIOD_OUT_LOW); in aw36518_of_init() 732 "get torch-gpio failed, using assist light mode\n"); in aw36518_of_init() 789 "led%d max torch:%dUA flash:%dUA timeout:%dUS\n", in aw36518_of_init() 817 /* STROBE/Torch input default low */ in aw36518_init_device()
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/include/linux/platform_data/ |
| H A D | leds-lm355x.h | 48 * lm3554-tx1/torch/gpio1 49 * lm3556-torch
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/ |
| H A D | aw36518.txt | 6 - enable-gpios: Specifier of the GPIO connected to strobe/torch EN pin 7 this pin is for hardware flash/torch mode, if not, will using i2c control.
|
| H A D | sgm3784.txt | 8 - torch-gpio: Specifier of the GPIO connected to GPIO pin, 9 this pin is for torch mode, if not, will using assist mode.
|
| /OK3568_Linux_fs/kernel/drivers/video/backlight/ |
| H A D | lm3639_bl.c | 218 /* 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()
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/leds/ |
| H A D | ams,as3645a.txt | 5 used in torch mode as well. 31 led-max-microamp: Maximum torch (assist) current in microamperes. The
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/dnn/ |
| H A D | dnn.hpp | 754 … * @brief Reads a network model stored in <a href="http://torch.ch">Torch7</a> framework's format. 755 * @param model path to the file, dumped from Torch by using torch.save() function. 757 …m evaluate specifies testing phase of network. If true, it's similar to evaluate() method in Torch. 760 …* @note Ascii mode of Torch serializer is more preferable, because binary mode extensively use `l… 763 …* The loading file must contain serialized <a href="https://github.com/torch/nn/blob/master/doc/mo… 766 * List of supported layers (i.e. object instances derived from Torch nn.Module class): 787 * * `*.t7` | `*.net` (Torch, http://torch.ch/) 818 /** @brief Loads blob which was serialized as torch.Tensor object of Torch7 framework.
|
| /OK3568_Linux_fs/kernel/drivers/staging/greybus/ |
| H A D | light.c | 145 /* 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()
|