Home
last modified time | relevance | path

Searched +full:flash +full:- +full:mode (Results 1 – 25 of 1065) sorted by relevance

12345678910>>...43

/kernel/linux/linux-5.10/drivers/media/i2c/
Dlm3646.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * General device driver for TI lm3646, Dual FLASH LED Driver
9 * Ldd-Mlp <ldd-mlp@list.ti.com>
19 #include <media/v4l2-ctrls.h>
20 #include <media/v4l2-device.h>
61 * @led_mode: V4L2 LED mode
64 * @mode_reg : mode register value
78 container_of(_ctrl->handler, struct lm3646_flash, ctrls_led)
80 /* enable mode control */
81 static int lm3646_mode_ctrl(struct lm3646_flash *flash, in lm3646_mode_ctrl() argument
[all …]
Dvs6624_regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * vs6624 - ST VS6624 CMOS image sensor registers
24 #define VS6624_STATE 0x0202 /* current state of the mode manager */
25 /* run mode control */
27 /* mode setup */
28 #define VS6624_ACTIVE_PIPE_SETUP 0x0302 /* select the active bank for non view live mode */
29 #define VS6624_SENSOR_MODE 0x0308 /* select the different sensor mode */
46 #define VS6624_CROP_CTRL0 0x039E /* select cropping mode */
79 #define VS6624_CROP_CTRL1 0x041E /* select cropping mode */
97 #define VS6624_VIEW_LIVE_EN 0x0480 /* enable view live mode */
[all …]
/kernel/linux/linux-6.6/drivers/media/i2c/
Dlm3646.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * General device driver for TI lm3646, Dual FLASH LED Driver
9 * Ldd-Mlp <ldd-mlp@list.ti.com>
19 #include <media/v4l2-ctrls.h>
20 #include <media/v4l2-device.h>
61 * @led_mode: V4L2 LED mode
64 * @mode_reg : mode register value
78 container_of(_ctrl->handler, struct lm3646_flash, ctrls_led)
80 /* enable mode control */
81 static int lm3646_mode_ctrl(struct lm3646_flash *flash, in lm3646_mode_ctrl() argument
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/i2c/
Datomisp-lm3554.c1 // SPDX-License-Identifier: GPL-2.0
3 * LED flash driver for LM3554
5 * Copyright (c) 2010-2012 Intel Corporation. All Rights Reserved.
26 #include <media/v4l2-ctrls.h>
27 #include <media/v4l2-device.h>
69 unsigned int mode; member
82 static int lm3554_write(struct lm3554 *flash, u8 addr, u8 val) in lm3554_write() argument
84 struct i2c_client *client = v4l2_get_subdevdata(&flash->sd); in lm3554_write()
89 dev_dbg(&client->dev, "Write Addr:%02X Val:%02X %s\n", addr, val, in lm3554_write()
96 static int lm3554_read(struct lm3554 *flash, u8 addr) in lm3554_read() argument
[all …]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/i2c/
Datomisp-lm3554.c1 // SPDX-License-Identifier: GPL-2.0
3 * LED flash driver for LM3554
5 * Copyright (c) 2010-2012 Intel Corporation. All Rights Reserved.
26 #include <media/v4l2-ctrls.h>
27 #include <media/v4l2-device.h>
69 unsigned int mode; member
82 static int lm3554_write(struct lm3554 *flash, u8 addr, u8 val) in lm3554_write() argument
84 struct i2c_client *client = v4l2_get_subdevdata(&flash->sd); in lm3554_write()
89 dev_dbg(&client->dev, "Write Addr:%02X Val:%02X %s\n", addr, val, in lm3554_write()
96 static int lm3554_read(struct lm3554 *flash, u8 addr) in lm3554_read() argument
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dext-ctrls-flash.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _flash-controls:
6 Flash Control Reference
9 The V4L2 flash controls are intended to provide generic access to flash
10 controller devices. Flash controller devices are typically used in
13 The interface can support both LED and xenon flash devices. As of
14 writing this, there is no xenon flash driver using this interface.
17 .. _flash-controls-use-cases:
23 Unsynchronised LED flash (software strobe)
24 ------------------------------------------
[all …]
/kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/
Dext-ctrls-flash.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _flash-controls:
6 Flash Control Reference
9 The V4L2 flash controls are intended to provide generic access to flash
10 controller devices. Flash controller devices are typically used in
13 The interface can support both LED and xenon flash devices. As of
14 writing this, there is no xenon flash driver using this interface.
17 .. _flash-controls-use-cases:
23 Unsynchronised LED flash (software strobe)
24 ------------------------------------------
[all …]
/kernel/linux/linux-5.10/Documentation/leds/
Dleds-lm3556.rst6 1.5 A Synchronous Boost LED Flash Driver w/ High-Side Current Source
10 - Daniel Jeong
12 Contact:Daniel Jeong(daniel.jeong-at-ti.com, gshark.jeong-at-gmail.com)
15 -----------
16 There are 3 functions in LM3556, Flash, Torch and Indicator.
18 Flash Mode
21 In Flash Mode, the LED current source(LED) provides 16 target current levels
22 from 93.75 mA to 1500 mA.The Flash currents are adjusted via the CURRENT
23 CONTROL REGISTER(0x09).Flash mode is activated by the ENABLE REGISTER(0x0A),
26 LM3556 Flash can be controlled through sys/class/leds/flash/brightness file
[all …]
/kernel/linux/linux-6.6/Documentation/leds/
Dleds-lm3556.rst6 1.5 A Synchronous Boost LED Flash Driver w/ High-Side Current Source
10 - Daniel Jeong
12 Contact:Daniel Jeong(daniel.jeong-at-ti.com, gshark.jeong-at-gmail.com)
15 -----------
16 There are 3 functions in LM3556, Flash, Torch and Indicator.
18 Flash Mode
21 In Flash Mode, the LED current source(LED) provides 16 target current levels
22 from 93.75 mA to 1500 mA.The Flash currents are adjusted via the CURRENT
23 CONTROL REGISTER(0x09).Flash mode is activated by the ENABLE REGISTER(0x0A),
26 LM3556 Flash can be controlled through /sys/class/leds/flash/brightness file
[all …]
/kernel/linux/linux-6.6/drivers/mtd/devices/
Dspear_smi.c2 * SMI (Serial Memory Controller) device driver for Serial NOR Flash on
60 #define SW_MODE (0x1 << 28) /* enables SW Mode */
61 #define WB_MODE (0x1 << 29) /* Write Burst Mode */
62 #define FAST_MODE (0x1 << 15) /* Fast Mode */
90 /* flash opcodes */
93 /* Flash Device Ids maintenance section */
95 /* data structure to maintain flash ids from different vendors */
157 * struct spear_smi - Structure for SMI Device
165 * @cmd_complete: queue to wait for command completion of NOR-flash.
167 * @flash: separate structure for each Serial NOR-flash attached to SMI.
[all …]
/kernel/linux/linux-5.10/drivers/mtd/devices/
Dspear_smi.c2 * SMI (Serial Memory Controller) device driver for Serial NOR Flash on
60 #define SW_MODE (0x1 << 28) /* enables SW Mode */
61 #define WB_MODE (0x1 << 29) /* Write Burst Mode */
62 #define FAST_MODE (0x1 << 15) /* Fast Mode */
90 /* flash opcodes */
93 /* Flash Device Ids maintenance section */
95 /* data structure to maintain flash ids from different vendors */
157 * struct spear_smi - Structure for SMI Device
165 * @cmd_complete: queue to wait for command completion of NOR-flash.
167 * @flash: separate structure for each Serial NOR-flash attached to SMI.
[all …]
/kernel/linux/linux-6.6/drivers/spi/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
13 dynamic device discovery; some are even write-only or read-only.
16 eeprom and flash memory, codecs and various other controller
17 chips, analog to digital (and d-to-a) converters, and more.
44 If your system has an master-capable SPI controller (which
56 by providing a high-level interface to send memory-like commands.
86 This enables master mode support for the SPIFC (SPI flash
112 tristate "Aspeed flash controllers in SPI mode"
118 to SPI NOR chips, and support for the SPI flash memory
143 This enables support for the Quad SPI controller in master mode.
[all …]
/kernel/linux/linux-6.6/drivers/leds/flash/
Dleds-as3645a.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/leds/leds-as3645a.c - AS3645A and LM3555 flash controllers driver
5 * Copyright (C) 2008-2011 Nokia Corporation
16 #include <linux/led-class-flash.h>
23 #include <media/v4l2-flash-led-class.h>
25 #define AS_TIMER_US_TO_CODE(t) (((t) / 1000 - 100) / 50)
30 /* Read-only Design info register: Reset state: xxxx 0001 */
35 /* Read-only Version control register: Reset state: 0000 0000
105 ((min_t(u32, AS_PEAK_mA_MAX, a) - 1250) / 250)
143 enum as_mode mode; member
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0
15 tristate "AS3645A and LM3555 LED flash controllers support"
19 Enable LED flash class support for AS3645A LED flash
20 controller. V4L2 flash API is provided as well if
24 tristate "LED support for Kinetic KTD2692 flash LED controller"
28 This option enables support for Kinetic KTD2692 LED flash connected
39 of flash, torch and indicator classes.
42 tristate "LED support for MAX77693 Flash"
47 This option enables support for the flash part of the MAX77693
48 multifunction device. It has build in control for two leds in flash
[all …]
Dleds-max77693.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * LED Flash class driver for the flash cell of max77693 mfd.
11 #include <linux/led-class-flash.h>
13 #include <linux/mfd/max77693-common.h>
14 #include <linux/mfd/max77693-private.h>
20 #include <media/v4l2-flash-led-class.h>
41 FLASH, enumerator
59 /* corresponding LED Flash class device */
61 /* V4L2 Flash device */
66 /* flash timeout cache */
[all …]
/kernel/linux/linux-5.10/drivers/leds/
Dleds-as3645a.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/leds/leds-as3645a.c - AS3645A and LM3555 flash controllers driver
5 * Copyright (C) 2008-2011 Nokia Corporation
16 #include <linux/led-class-flash.h>
23 #include <media/v4l2-flash-led-class.h>
25 #define AS_TIMER_US_TO_CODE(t) (((t) / 1000 - 100) / 50)
30 /* Read-only Design info register: Reset state: xxxx 0001 */
35 /* Read-only Version control register: Reset state: 0000 0000
105 ((min_t(u32, AS_PEAK_mA_MAX, a) - 1250) / 250)
143 enum as_mode mode; member
[all …]
Dleds-max77693.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * LED Flash class driver for the flash cell of max77693 mfd.
11 #include <linux/led-class-flash.h>
13 #include <linux/mfd/max77693-common.h>
14 #include <linux/mfd/max77693-private.h>
20 #include <media/v4l2-flash-led-class.h>
41 FLASH, enumerator
59 /* corresponding LED Flash class device */
61 /* V4L2 Flash device */
66 /* flash timeout cache */
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mtd/
Ddavinci-nand.txt7 Davinci DM646x - https://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf
8 Kestone - https://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf
12 - compatible: "ti,davinci-nand"
13 "ti,keystone-nand"
15 - reg: Contains 2 offset/length values:
16 - offset and length for the access window.
17 - offset and length for accessing the AEMIF
20 - ti,davinci-chipselect: number of chipselect. Indicates on the
23 Can be in the range [0-3].
27 - ti,davinci-mask-ale: mask for ALE. Needed for executing address
[all …]
Dnxp-spifi.txt1 * NXP SPI Flash Interface (SPIFI)
3 NXP SPIFI is a specialized SPI interface for serial Flash devices.
4 It supports one Flash device with 1-, 2- and 4-bits width in SPI
5 mode 0 or 3. The controller operates in either command or memory
6 mode. In memory mode the Flash is accessible from the CPU as
10 - compatible : Should be "nxp,lpc1773-spifi"
11 - reg : the first contains the register location and length,
13 - reg-names: Should contain the reg names "spifi" and "flash"
14 - interrupts : Should contain the interrupt for the device
15 - clocks : The clocks needed by the SPIFI controller
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mtd/
Ddavinci-nand.txt7 Davinci DM646x - https://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf
8 Kestone - https://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf
12 - compatible: "ti,davinci-nand"
13 "ti,keystone-nand"
15 - reg: Contains 2 offset/length values:
16 - offset and length for the access window.
17 - offset and length for accessing the AEMIF
20 - ti,davinci-chipselect: number of chipselect. Indicates on the
23 Can be in the range [0-3].
27 - ti,davinci-mask-ale: mask for ALE. Needed for executing address
[all …]
Dnxp-spifi.txt1 * NXP SPI Flash Interface (SPIFI)
3 NXP SPIFI is a specialized SPI interface for serial Flash devices.
4 It supports one Flash device with 1-, 2- and 4-bits width in SPI
5 mode 0 or 3. The controller operates in either command or memory
6 mode. In memory mode the Flash is accessible from the CPU as
10 - compatible : Should be "nxp,lpc1773-spifi"
11 - reg : the first contains the register location and length,
13 - reg-names: Should contain the reg names "spifi" and "flash"
14 - interrupts : Should contain the interrupt for the device
15 - clocks : The clocks needed by the SPIFI controller
[all …]
/kernel/linux/linux-5.10/drivers/mtd/spi-nor/controllers/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "Aspeed flash controllers in SPI mode"
9 and support for the SPI flash memory controller (SPI) for
13 tristate "Hisilicon FMC SPI NOR Flash Controller(SFC)"
17 This enables support for HiSilicon FMC SPI NOR flash controller.
20 tristate "NXP SPI Flash Interface (SPIFI)"
24 Enable support for the NXP LPC SPI Flash Interface controller.
27 Flash. Enable this option if you have a device with a SPIFI
28 controller and want to access the Flash as a mtd device.
34 tristate "Intel PCH/PCU SPI flash PCI driver (DANGEROUS)"
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/leds/
Drichtek,rt8515.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
13 The Richtek RT8515 is a dual channel (two mode) LED driver that
14 supports driving a white LED in flash or torch mode. The maximum
15 current for each mode is defined in hardware using two resistors
22 enf-gpios:
24 description: A connection to the 'ENF' (enable flash) pin.
26 ent-gpios:
[all …]
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-class-led-flash6 Set the brightness of this LED in the flash strobe mode, in
7 microamperes. The file is created only for the flash LED devices
8 that support setting flash brightness.
18 Maximum brightness level for this LED in the flash strobe mode,
26 Hardware timeout for flash, in microseconds. The flash strobe
28 of the strobe. The file is created only for the flash LED
29 devices that support setting flash timeout.
36 Maximum flash timeout for this LED, in microseconds.
43 Flash strobe state. When written with 1 it triggers flash strobe
44 and when written with 0 it turns the flash off.
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-led-flash6 Set the brightness of this LED in the flash strobe mode, in
7 microamperes. The file is created only for the flash LED devices
8 that support setting flash brightness.
18 Maximum brightness level for this LED in the flash strobe mode,
26 Hardware timeout for flash, in microseconds. The flash strobe
28 of the strobe. The file is created only for the flash LED
29 devices that support setting flash timeout.
36 Maximum flash timeout for this LED, in microseconds.
43 Flash strobe state. When written with 1 it triggers flash strobe
44 and when written with 0 it turns the flash off.
[all …]

12345678910>>...43