/linux/drivers/regulator/ |
H A D | qcom-labibb-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 114 ret = regmap_update_bits(rdev->regmap, in qcom_labibb_ocp_hw_enable() 115 vreg->base + REG_LABIBB_INT_LATCHED_CLR, in qcom_labibb_ocp_hw_enable() 121 return regmap_update_bits(rdev->regmap, in qcom_labibb_ocp_hw_enable() 122 vreg->base + REG_LABIBB_INT_EN_SET, in qcom_labibb_ocp_hw_enable() 130 return regmap_update_bits(rdev->regmap, in qcom_labibb_ocp_hw_disable() 131 vreg->base + REG_LABIBB_INT_EN_CLR, in qcom_labibb_ocp_hw_disable() 136 * qcom_labibb_check_ocp_status - Check the Over-Current Protection status 140 * set, then there is no Over-Current event. 142 * Returns: Zero if there is no over-current, 1 if in over-current or [all …]
|
H A D | tps65219-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // tps65219-regulator.c 7 // Copyright (C) 2022 BayLibre Incorporated - https://www.baylibre.com/ 10 // "J Keerthy <j-keerthy@ti.com>" 34 { "LDO3_SCG", "LDO3", "short circuit to ground", REGULATOR_EVENT_REGULATION_OUT }, 37 { "LDO4_SCG", "LDO4", "short circuit to ground", REGULATOR_EVENT_REGULATION_OUT }, 40 { "LDO1_SCG", "LDO1", "short circuit to ground", REGULATOR_EVENT_REGULATION_OUT }, 43 { "LDO2_SCG", "LDO2", "short circuit to ground", REGULATOR_EVENT_REGULATION_OUT }, 46 { "BUCK3_SCG", "BUCK3", "short circuit to ground", REGULATOR_EVENT_REGULATION_OUT }, 50 { "BUCK1_SCG", "BUCK1", "short circuit to ground", REGULATOR_EVENT_REGULATION_OUT }, [all …]
|
H A D | tps6594-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (C) 2023 BayLibre Incorporated - https://www.baylibre.com/ 45 /* Multi-phase DCDC's */ 268 { TPS6594_IRQ_NAME_BUCK1_SC, "BUCK1", "short circuit", REGULATOR_EVENT_REGULATION_OUT }, 276 { TPS6594_IRQ_NAME_BUCK2_SC, "BUCK2", "short circuit", REGULATOR_EVENT_REGULATION_OUT }, 284 { TPS6594_IRQ_NAME_BUCK3_SC, "BUCK3", "short circuit", REGULATOR_EVENT_REGULATION_OUT }, 292 { TPS6594_IRQ_NAME_BUCK4_SC, "BUCK4", "short circuit", REGULATOR_EVENT_REGULATION_OUT }, 300 { TPS6594_IRQ_NAME_BUCK5_SC, "BUCK5", "short circuit", REGULATOR_EVENT_REGULATION_OUT }, 308 { TPS6594_IRQ_NAME_LDO1_SC, "LDO1", "short circuit", REGULATOR_EVENT_REGULATION_OUT }, 316 { TPS6594_IRQ_NAME_LDO2_SC, "LDO2", "short circuit", REGULATOR_EVENT_REGULATION_OUT }, [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-led-flash | 55 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 …]
|
/linux/Documentation/devicetree/bindings/iio/temperature/ |
H A D | microchip,mcp9600.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andrew Hepp <andrew.hepp@ahepp.dev> 13 https://ww1.microchip.com/downloads/en/DeviceDoc/MCP960X-Data-Sheet-20005426.pdf 26 interrupt-names: 31 - open-circuit 32 - short-circuit 33 - alert1 34 - alert2 [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | qcom-labibb-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom-labibb-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sumit Semwal <sumit.semwal@linaro.org> 20 - const: qcom,pmi8998-lab-ibb 21 - items: 22 - enum: 23 - qcom,pmi8950-lab-ibb 24 - const: qcom,pmi8998-lab-ibb [all …]
|
H A D | ti,tps65219.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI tps65219 Power Management Integrated Circuit regulators 10 - Jerome Neanne <jerome.neanne@baylibre.com> 18 - ti,tps65219 23 system-power-controller: 29 description: Short-circuit, over-current, under-voltage for regulators, PB interrupts. 32 interrupt-controller: true 34 '#interrupt-cells': [all …]
|
/linux/net/netrom/ |
H A D | af_netrom.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 59 static unsigned short circuit = 0x101; variable 79 lockdep_set_class(&txq->_xmit_lock, &nr_netdev_xmit_lock_key); in nr_set_lockdep_one() 84 lockdep_set_class(&dev->addr_list_lock, &nr_netdev_addr_lock_key); in nr_set_lockdep_key() 107 if (nr_sk(s)->device == dev) in nr_kill_by_device() 151 if (!ax25cmp(&nr_sk(s)->source_addr, addr) && in nr_find_listener() 152 s->sk_state == TCP_LISTEN) { in nr_find_listener() 163 * Find a connected NET/ROM socket given my circuit IDs. 173 if (nr->my_index == index && nr->my_id == id) { in nr_find_socket() 185 * Find a connected NET/ROM socket given their circuit IDs. [all …]
|
/linux/Documentation/userspace-api/media/ |
H A D | glossary.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 58 **Field-programmable Gate Array** 60 An :term:`IC` circuit designed to be configured by a customer or 63 See https://en.wikipedia.org/wiki/Field-programmable_gate_array. 72 together make a larger user-facing functional peripheral. For 80 **Inter-Integrated Circuit** 82 A multi-master, multi-slave, packet switched, single-ended, 84 like sub-device hardware components. 86 See http://www.nxp.com/docs/en/user-guide/UM10204.pdf. 89 **Integrated circuit** [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | cirrus,madera.yaml | 1 # 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 pin-settings: 40 '-pins$': 43 - $ref: pincfg-node.yaml# 44 - $ref: pinmux-node.yaml# 63 dmic6, io, dsp-gpio, irq1, irq2, fll1-clk, [all …]
|
/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | qcom-wled.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/qcom-wled.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 11 - Kiran Gunda <quic_kgunda@quicinc.com> 21 - qcom,pm8941-wled 22 - qcom,pmi8950-wled 23 - qcom,pmi8994-wled 24 - qcom,pmi8998-wled [all …]
|
/linux/Documentation/devicetree/bindings/iio/addac/ |
H A D | adi,ad74115.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Cosmin Tanislav <cosmin.tanislav@analog.com> 13 The AD74115H is a single-channel software configurable input/output 17 chip solution with an SPI interface. The device features a 16-bit ADC and a 18 14-bit DAC. 25 - adi,ad74115h 30 spi-max-frequency: 33 spi-cpol: true [all …]
|
/linux/sound/soc/codecs/ |
H A D | mt6357.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/dma-mapping.h> 19 regmap_write(priv->regmap, MT6357_GPIO_MODE2_CLR, MT6357_GPIO_MODE2_CLEAR_ALL); in set_playback_gpio() 22 regmap_write(priv->regmap, MT6357_GPIO_MODE2_SET, in set_playback_gpio() 32 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_playback_gpio() 46 regmap_write(priv->regmap, MT6357_GPIO_MODE3_CLR, MT6357_GPIO_MODE3_CLEAR_ALL); in set_capture_gpio() 49 regmap_write(priv->regmap, MT6357_GPIO_MODE3_SET, in set_capture_gpio() 61 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_capture_gpio() 79 stage = up ? i : MT6357_HPLOUT_STG_CTRL_VAUDP15_MAX - i; in hp_main_output_ramp() 80 regmap_update_bits(priv->regmap, MT6357_AUDDEC_ANA_CON1, in hp_main_output_ramp() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-flash.rst | 1 .. 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 …]
|
/linux/drivers/mfd/ |
H A D | ti-lmu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <linux/mfd/ti-lmu.h> 17 #include <linux/mfd/ti-lmu-register.h> 30 if (lmu->en_gpio) in ti_lmu_enable_hw() 31 gpiod_set_value(lmu->en_gpio, 1); in ti_lmu_enable_hw() 36 /* LM3631 has additional power up sequence - enable LCD_EN bit. */ in ti_lmu_enable_hw() 38 return regmap_update_bits(lmu->regmap, LM3631_REG_DEVCTRL, in ti_lmu_enable_hw() 49 if (lmu->en_gpio) in ti_lmu_disable_hw() 50 gpiod_set_value(lmu->en_gpio, 0); in ti_lmu_disable_hw() 55 .name = "lm363x-regulator", \ [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | lnbp21.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * lnbp21.h - driver for lnb supply and control ic lnbp21 31 0:Iout=500-650mA Isc=300mA 32 1:Iout=400-550mA Isc=200mA */ 34 /* [RW] short-circuit protect:
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | rohm,bd71847-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71847-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ROHM BD71847 and BD71850 Power Management Integrated Circuit 10 - Matti Vaittinen <mazziesaccount@gmail.com> 14 single-core, dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is 18 …/www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applica… 19 …//www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applic… 24 - rohm,bd71847 [all …]
|
/linux/drivers/net/ethernet/i825xx/ |
H A D | sun3_82586.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 8 * copyrights (c) 1994 by Michael Hipp (hippm@informatik.uni-tuebingen.de) 11 * crynwr-packet-driver by Russ Nelson 12 * Garret A. Wollman's i82586-driver for BSD 48 unsigned short zero_dum0; /* has to be zero */ 51 unsigned short zero_dum2; 52 unsigned short zero_dum3; 53 char *iscp; /* pointer to the iscp-block */ 64 unsigned short scb_offset; /* pointeroffset to the scb_base */ 65 char *scb_base; /* base-address of all 16-bit offsets */ [all …]
|
/linux/include/net/ |
H A D | netrom.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 50 #define NR_DEFAULT_T1 120000 /* Outstanding frames - 120 seconds */ 51 #define NR_DEFAULT_T2 5000 /* Response delay - 5 seconds */ 52 #define NR_DEFAULT_N2 3 /* Number of Retries - 3 */ 53 #define NR_DEFAULT_T4 180000 /* Busy Delay - 180 seconds */ 54 #define NR_DEFAULT_IDLE 0 /* No Activity Timeout - none */ 55 #define NR_DEFAULT_WINDOW 4 /* Default Window Size - 4 */ 56 #define NR_DEFAULT_OBS 6 /* Default Obsolescence Count - 6 */ 57 #define NR_DEFAULT_QUAL 10 /* Default Neighbour Quality - 10 */ 58 #define NR_DEFAULT_TTL 16 /* Default Time To Live - 16 */ [all …]
|
/linux/include/linux/mfd/ |
H A D | rohm-bd957x.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 18 * - I2C/thermal, 19 * - Over voltage protection 20 * - Short-circuit protection 21 * - Over current protection 22 * - Over voltage detection 23 * - Under voltage detection 24 * - Under voltage protection 25 * - 'system interrupt'. 28 * information - for example which of the regulators have over-voltage. [all …]
|
/linux/arch/arm64/mm/ |
H A D | mmap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 68 * With Enhanced PAN we can honour the execute-only permissions as in adjust_protection_map() 88 /* Short circuit GCS to avoid bloating the table. */ in vm_get_page_prot() 103 * register (1) as VM_MTE in the vma->vm_flags and (2) as in vm_get_page_prot()
|
/linux/drivers/comedi/drivers/ |
H A D | addi_apci_1500.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (C) 2004,2005 ADDI-DATA GmbH for the source code of this module. 6 * ADDI-DATA GmbH 8 * D-77833 Ottersweier 9 * Tel: +19(0)7223/9493-0 10 * Fax: +49(0)7223/9493-92 11 * http://www.addi-data.com 12 * info@addi-data.com 23 * PCI Bar 0 Register map (devpriv->amcc) 28 * PCI Bar 1 Register map (dev->iobase) [all …]
|
H A D | dmm32at.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Diamond Systems Diamond-MM-32-AT Comedi driver 6 * COMEDI - Linux Control and Measurement Device Interface 12 * Description: Diamond Systems Diamond-MM-32-AT 13 * Devices: [Diamond Systems] Diamond-MM-32-AT (dmm32at) 21 * This driver is for the Diamond Systems MM-32-AT board 39 #define DMM32AT_AUX_DOUT2 BIT(2) /* J3.42 - OUT2 (OUT2EN) */ 41 #define DMM32AT_AUX_DOUT0 BIT(0) /* J3.44 - OUT0 (OUT0EN) */ 48 #define DMM32AT_AUX_DI3 BIT(3) /* J3.45 - ADCLK (CLKSEL) */ 49 #define DMM32AT_AUX_DI2 BIT(2) /* J3.46 - GATE12 (GT12EN) */ [all …]
|
/linux/drivers/input/keyboard/ |
H A D | dlink-dir685-touchkeys.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * D-Link DIR-685 router I2C-based Touchkeys input driver 6 * This is a one-off touchkey controller based on the Cypress Semiconductor 7 * CY8C214 MCU with some firmware in its internal 8KB flash. The circuit 30 const int num_bits = min_t(int, ARRAY_SIZE(tk->codes), 16); in dir685_tk_irq_thread() 38 err = i2c_master_recv(tk->client, buf, sizeof(buf)); in dir685_tk_irq_thread() 40 dev_err(tk->dev, "short read %d\n", err); in dir685_tk_irq_thread() 44 dev_dbg(tk->dev, "IN: %*ph\n", (int)sizeof(buf), buf); in dir685_tk_irq_thread() 48 changed = tk->cur_key ^ key; in dir685_tk_irq_thread() 50 dev_dbg(tk->dev, "key %d is %s\n", i, in dir685_tk_irq_thread() [all …]
|
/linux/include/linux/mfd/madera/ |
H A D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2015-2018 Cirrus Logic 148 * struct madera - internal data shared by the set of Madera drivers 152 * @regmap: pointer to the regmap instance for 16-bit registers 153 * @regmap_32bit: pointer to the regmap instance for 32-bit registers 168 * @out_shorted: indicates short circuit state for each analogue output
|