Home
last modified time | relevance | path

Searched +full:open +full:- +full:circuit (Results 1 – 25 of 77) sorted by relevance

1234

/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-iio-temperature-max318563 Contact: linux-iio@vger.kernel.org
5 Open-circuit fault. The detection of open-circuit faults,
10 '1' An open circuit such as broken thermocouple wires
12 '0' No open circuit or broken thermocouple wires are detected
17 Contact: linux-iio@vger.kernel.org
21 cables by integrated MOSFETs at the T+ and T- inputs, and the
Dsysfs-class-led-flash55 Flash faults are re-read after strobing the flash. Possible
58 * led-over-voltage
61 * flash-timeout-exceeded
65 * controller-over-temperature
68 * controller-short-circuit
69 the short circuit protection
71 * led-power-supply-over-current
75 * indicator-led-fault
77 a short or open circuit condition on the indicator LED
78 * led-under-voltage
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dbattery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
14 In smart batteries, these are typically stored in non-volatile memory
16 no appropriate non-volatile memory, or it is unprogrammed/incorrect.
27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle.
28 The phandle's property should be named "monitored-battery".
32 const: simple-battery
34 over-voltage-threshold-microvolt:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dcirrus,madera.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
30 Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
33 pinctrl-0:
38 pinctrl-names:
43 pin-settings:
50 '-pins$':
53 - $ref: "pincfg-node.yaml#"
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/watchdog/
Dgpio-wdt.txt1 * GPIO-controlled Watchdog
4 - compatible: Should contain "linux,wdt-gpio".
5 - gpios: From common gpio binding; gpio connection to WDT reset pin.
6 - hw_algo: The algorithm used by the driver. Should be one of the
8 - toggle: Either a high-to-low or a low-to-high transition clears
10 left floating or connected to a three-state buffer.
11 - level: Low or high level starts counting WDT timeout,
14 - hw_margin_ms: Maximum time to reset watchdog circuit (milliseconds).
17 - always-running: If the watchdog timer cannot be disabled, add this flag to
19 to toggle the signal when the device is open and the timeout elapsed.
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dti-lmu.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <linux/mfd/ti-lmu.h>
17 #include <linux/mfd/ti-lmu-register.h>
31 if (lmu->en_gpio) in ti_lmu_enable_hw()
32 gpiod_set_value(lmu->en_gpio, 1); in ti_lmu_enable_hw()
37 /* LM3631 has additional power up sequence - enable LCD_EN bit. */ in ti_lmu_enable_hw()
39 return regmap_update_bits(lmu->regmap, LM3631_REG_DEVCTRL, in ti_lmu_enable_hw()
50 if (lmu->en_gpio) in ti_lmu_disable_hw()
51 gpiod_set_value(lmu->en_gpio, 0); in ti_lmu_disable_hw()
56 .name = "lm363x-regulator", \
[all …]
Dab3100-otp.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2007-2009 ST-Ericsson AB
6 * Driver to read out OTP from the AB3100 Mixed-signal circuit
35 * to change bits from 1->0.
68 err = abx500_get_register_interruptible(otp->dev, 0, in ab3100_otp_read()
71 dev_err(otp->dev, "unable to read OTPP register\n"); in ab3100_otp_read()
75 err = abx500_get_register_page_interruptible(otp->dev, 0, in ab3100_otp_read()
78 dev_err(otp->dev, "unable to read OTP register page\n"); in ab3100_otp_read()
83 otp->locked = (otpp & 0x80); in ab3100_otp_read()
84 otp->freq = (otpp & 0x40) ? 32768 : 34100; in ab3100_otp_read()
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/dvb/
Dfe-diseqc-send-burst.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 FE_DISEQC_SEND_BURST - Sends a 22KHz tone burst for 2x1 mini DiSEqC satellite selection.
26 File descriptor returned by :c:func:`open()`.
39 `Digital Satellite Equipment Control (DiSEqC) - Simple "ToneBurst" Detection Circuit specification.…
46 On error -1 is returned, and the ``errno`` variable is set
50 :ref:`Generic Error Codes <gen-errors>` chapter.
Dintro.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
17 part I of the MPEG2 specification ISO/IEC 13818 (aka ITU-T H.222), i.e
19 meant by a packetized elementary stream (PES) or an I-frame.
23 - European standards (DVB): http://www.dvb.org and/or http://www.etsi.org.
24 - American standards (ATSC): https://www.atsc.org/standards/
25 - Japanese standards (ISDB): http://www.dibeg.org/
44 based on open standards, Nokia and Convergence made it available to all
65 .. kernel-figure:: dvbstb.svg
71 A Digital TV card or set-top-box (STB) usually consists of the
76 antenna or directly from cable. The frontend down-converts and
[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:
17 .. _flash-controls-use-cases:
24 ------------------------------------------
35 ----------------------------------------
37 The synchronised LED flash is pre-programmed by the host (power and
46 ------------------
52 .. _flash-control-id:
55 -----------------
61 Defines the mode of the flash LED, the high-power white LED attached
[all …]
Dvidioc-enuminput.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_ENUMINPUT - Enumerate video inputs
26 File descriptor returned by :c:func:`open()`.
45 .. flat-table:: struct v4l2_input
46 :header-rows: 0
47 :stub-columns: 0
50 * - __u32
51 - ``index``
52 - Identifies the input, set by the application.
53 * - __u8
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/serial/
Dserial-iso7816.rst8 ISO/IEC7816 is a series of standards specifying integrated circuit cards (ICC)
11 2. Hardware-related considerations
14 Some CPUs/UARTs (e.g., Microchip AT91) contain a built-in mode capable of
19 available at user-level to allow switching from one mode to the other, and
35 4. Usage from user-level
38 From user-level, ISO7816 configuration can be get/set using the previous
46 /* Open your specific device (e.g., /dev/mydevice): */
47 int fd = open ("/dev/mydevice", O_RDWR);
/kernel/linux/linux-5.10/Documentation/driver-api/gpio/
Ddriver.rst26 between 0 and n-1, n being the number of GPIOs managed by the chip.
29 example if a system uses a memory-mapped set of I/O-registers where 32 GPIO
30 lines are handled by one bit per line in a 32-bit register, it makes sense to
44 So for example one platform could use global numbers 32-159 for GPIOs, with a
46 global numbers 0..63 with one set of GPIO controllers, 64-79 with another type
47 of GPIO controller, and on one particular board 80-95 with an FPGA. The legacy
49 2000-2063 to identify GPIO lines in a bank of I2C GPIO expanders.
60 - methods to establish GPIO line direction
61 - methods used to access GPIO line values
62 - method to set electrical configuration for a given GPIO line
[all …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dda9052_tsi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
30 da9052_reg_update(tsi->da9052, DA9052_TSI_CONT_A_REG, 1 << 0, on); in da9052_ts_adc_toggle()
31 tsi->adc_on = on; in da9052_ts_adc_toggle()
38 if (!tsi->stopped) { in da9052_ts_pendwn_irq()
40 da9052_disable_irq_nosync(tsi->da9052, DA9052_IRQ_PENDOWN); in da9052_ts_pendwn_irq()
41 da9052_enable_irq(tsi->da9052, DA9052_IRQ_TSIREADY); in da9052_ts_pendwn_irq()
45 schedule_delayed_work(&tsi->ts_pen_work, HZ / 50); in da9052_ts_pendwn_irq()
53 struct input_dev *input = tsi->dev; in da9052_ts_read()
58 ret = da9052_reg_read(tsi->da9052, DA9052_TSI_X_MSB_REG); in da9052_ts_read()
64 ret = da9052_reg_read(tsi->da9052, DA9052_TSI_Y_MSB_REG); in da9052_ts_read()
[all …]
/kernel/linux/linux-5.10/drivers/iio/temperature/
Dmax31856.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2018-2019 Rockwell Collins
18 #include <dt-bindings/iio/temperature/thermocouple.h>
88 return spi_write_then_read(data->spi, &reg, 1, val, read_size); in max31856_read()
99 return spi_write(data->spi, buf, 2); in max31856_write()
126 reg_cr1_val |= data->thermocouple_type; in max31856_init()
129 reg_cr1_val |= data->averaging << MAX31856_AVERAGING_SHIFT; in max31856_init()
136 * Enable Open circuit fault detection in max31856_init()
147 if (data->filter_50hz) in max31856_init()
162 switch (chan->channel2) { in max31856_thermocouple_read()
[all …]
/kernel/linux/linux-5.10/Documentation/hwmon/
Dadm9240.rst10 Addresses scanned: I2C 0x2c - 0x2f
20 Addresses scanned: I2C 0x2c - 0x2f
24 http://pdfserv.maxim-ic.com/en/ds/DS1780.pdf
30 Addresses scanned: I2C 0x2c - 0x2f
37 - Frodo Looijaard <frodol@dds.nl>,
38 - Philip Edelbrock <phil@netroedge.com>,
39 - Michiel Rook <michiel@grendelproject.nl>,
40 - Grant Coady <gcoady.lk@gmail.com> with guidance
44 ---------
46 chip MSB 5-bit address. Each chip reports a unique manufacturer
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
Dgpio.c2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org>
3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com>
44 * ath5k_hw_set_ledstate() - Set led state
60 if (ah->ah_version != AR5K_AR5210) in ath5k_hw_set_ledstate()
94 if (ah->ah_version != AR5K_AR5210) in ath5k_hw_set_ledstate()
101 * ath5k_hw_set_gpio_input() - Set GPIO inputs
109 return -EINVAL; in ath5k_hw_set_gpio_input()
119 * ath5k_hw_set_gpio_output() - Set GPIO outputs
127 return -EINVAL; in ath5k_hw_set_gpio_output()
137 * ath5k_hw_get_gpio() - Get GPIO state
[all …]
/kernel/linux/linux-5.10/drivers/usb/misc/
Dchaoskey.c1 // SPDX-License-Identifier: GPL-2.0
3 * chaoskey - driver for ChaosKey device from Altus Metrum.
6 * on a reverse-biased p-n junction in avalanche breakdown. More
31 dev_dbg(&(usb_if)->dev, format, ## arg)
34 dev_err(&(usb_if)->dev, format, ## arg)
73 /* Driver-local specific stuff */
79 int open; /* open count */ member
97 usb_dbg(dev->interface, "free"); in chaoskey_free()
98 usb_free_urb(dev->urb); in chaoskey_free()
99 kfree(dev->name); in chaoskey_free()
[all …]
/kernel/linux/linux-5.10/drivers/net/wan/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
26 # There is no way to detect a comtrol sv11 - force it modular for now.
28 tristate "Comtrol Hostess SV-11 support"
31 Driver for Comtrol Hostess SV-11 network card which
38 # The COSA/SRP driver has not been tested as non-modular yet.
46 base-band modems, or any other device with the X.21, V.24, V.35 or
51 You will need user-space utilities COSA or SRP boards for downloading
69 - LMC 1000 board allows you to connect synchronous serial devices
70 (for example base-band modems, or any other device with the X.21,
73 - LMC 1200 with on board DSU board allows you to connect your Linux
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dmt6359.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt6359.c -- mt6359 ALSA SoC audio codec driver
24 regmap_write(priv->regmap, MT6359_GPIO_MODE2_CLR, 0x0ffe); in mt6359_set_playback_gpio()
25 regmap_write(priv->regmap, MT6359_GPIO_MODE2_SET, 0x0249); in mt6359_set_playback_gpio()
28 regmap_write(priv->regmap, MT6359_GPIO_MODE3_CLR, 0x6); in mt6359_set_playback_gpio()
29 regmap_write(priv->regmap, MT6359_GPIO_MODE3_SET, 0x1); in mt6359_set_playback_gpio()
39 regmap_write(priv->regmap, MT6359_GPIO_MODE2_CLR, 0x0ff8); in mt6359_reset_playback_gpio()
40 regmap_update_bits(priv->regmap, MT6359_GPIO_DIR0, 0x7 << 9, 0x0); in mt6359_reset_playback_gpio()
46 regmap_write(priv->regmap, MT6359_GPIO_MODE3_CLR, 0x0e00); in mt6359_set_capture_gpio()
47 regmap_write(priv->regmap, MT6359_GPIO_MODE3_SET, 0x0200); in mt6359_set_capture_gpio()
[all …]
Dmt6358.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt6358.c -- mt6358 ALSA SoC audio codec driver
107 priv->mtkaif_protocol = mtkaif_protocol; in mt6358_set_mtkaif_protocol()
114 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_CLR, in playback_gpio_set()
116 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_SET, in playback_gpio_set()
118 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2, in playback_gpio_set()
129 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_CLR, in playback_gpio_reset()
131 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2, in playback_gpio_reset()
133 regmap_update_bits(priv->regmap, MT6358_GPIO_DIR0, in playback_gpio_reset()
140 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE3_CLR, in capture_gpio_set()
[all …]
/kernel/linux/linux-5.10/drivers/power/supply/
D88pm860x_battery.c1 // SPDX-License-Identifier: GPL-2.0-only
68 /* OCV -- Open Circuit Voltage */
83 * corresponding resistor value -- Ohm / C degeree.
85 #define TBAT_NEG_25D 127773 /* -25 */
86 #define TBAT_NEG_10D 54564 /* -10 */
151 * register 1 bit[7:0] -- bit[11:4] of measured value of voltage
152 * register 0 bit[3:0] -- bit[3:0] of measured value of voltage
160 ret = pm860x_bulk_read(info->i2c, offset, 2, buf); in measure_12bit_voltage()
188 * bit[11:10] -- bit[7:6] of LDO9(0x18) in measure_vbatt()
189 * bit[9:8] -- bit[7:6] of LDO8(0x17) in measure_vbatt()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
105 tristate "Active-semi ACT8945A charger driver"
109 Active-semi ActivePath ACT8945A charger.
159 tristate "DS2782/DS2786 standalone gas-gauge"
163 gas-gauge.
185 tristate "Sharp SL-6000 (tosa) battery"
189 SL-6000 (tosa) models.
192 tristate "Sharp SL-5500 (collie) battery"
196 SL-5500 (collie) models.
207 called ingenic-battery.
[all …]
/kernel/linux/linux-5.10/Documentation/i2c/busses/
Di2c-parport.rst2 Kernel driver i2c-parport
7 This is a unified driver for several i2c-over-parallel-port adapters,
11 * i2c-philips-par
12 * i2c-elv
13 * i2c-velleman
14 * video/i2c-parport
25 * (type=6) Barco LPT->DVI (K5800236) adapter
27 * (type=8) VCT-jig
42 -------------------------
44 If you want to build you own i2c-over-parallel-port adapter, here is
[all …]
/kernel/linux/linux-5.10/drivers/watchdog/
Dsmsc37b787_wdt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * any of this software. This material is provided "AS-IS" in
12 * (C) Copyright 2003-2006 Sven Anders <anders@anduras.de>
15 * 2003 - Created version 1.0 for Linux 2.4.x.
16 * 2006 - Ported to Linux 2.6, added nowayout and MAGICCLOSE
21 * A Watchdog Timer (WDT) is a hardware circuit that can
38 * For an example userspace keep-alive daemon, see:
86 /* -- Low level function ----------------------------------------*/
124 /* -- Medium level functions ------------------------------------*/
128 /* -- General Purpose I/O Bit 1.2 -- in gpio_bit12()
[all …]

1234