| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | st,stpmic1.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - pascal Paillet <p.paillet@st.com> 24 "#interrupt-cells": 27 interrupt-controller: true 36 const: st,stpmic1-onkey 40 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic 41 - description: onkey-rising, happens when onkey is released. IT_PONKEY_R of pmic 43 interrupt-names: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | st,stpmic1.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - pascal Paillet <p.paillet@foss.st.com> 24 "#interrupt-cells": 27 interrupt-controller: true 36 const: st,stpmic1-onkey 40 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic 41 - description: onkey-rising, happens when onkey is released. IT_PONKEY_R of pmic 43 interrupt-names: [all …]
|
| /kernel/linux/linux-6.6/drivers/reset/ |
| D | reset-ti-syscon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TI SYSCON regmap reset driver 5 * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ 15 #include <linux/reset-controller.h> 17 #include <dt-bindings/reset/ti-syscon.h> 20 * struct ti_syscon_reset_control - reset control structure 21 * @assert_offset: reset assert control register offset from syscon base 22 * @assert_bit: reset assert bit in the reset assert control register 23 * @deassert_offset: reset deassert control register offset from syscon base 24 * @deassert_bit: reset deassert bit in the reset deassert control register [all …]
|
| D | reset-pistachio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Pistachio SoC Reset Controller driver 14 #include <linux/reset-controller.h> 18 #include <dt-bindings/reset/pistachio-resets.h> 59 return -EINVAL; in pistachio_reset_shift() 67 u32 mask; in pistachio_reset_assert() local 74 mask = BIT(shift); in pistachio_reset_assert() 76 return regmap_update_bits(rd->periph_regs, PISTACHIO_SOFT_RESET, in pistachio_reset_assert() 77 mask, mask); in pistachio_reset_assert() 84 u32 mask; in pistachio_reset_deassert() local [all …]
|
| D | reset-a10sr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Reset driver for Altera Arria10 MAX5 System Resource Chip 7 * Adapted from reset-socfpga.c 11 #include <linux/mfd/altera-a10sr.h> 15 #include <linux/reset-controller.h> 17 #include <dt-bindings/reset/altr,rst-mgr-a10sr.h> 40 return -EINVAL; in a10sr_reset_shift() 49 u8 mask = ALTR_A10SR_REG_BIT_MASK(offset); in a10sr_reset_update() local 52 return regmap_update_bits(a10r->regmap, index, mask, assert ? 0 : mask); in a10sr_reset_update() 73 u8 mask = ALTR_A10SR_REG_BIT_MASK(offset); in a10sr_reset_status() local [all …]
|
| /kernel/linux/linux-5.10/drivers/reset/ |
| D | reset-ti-syscon.c | 2 * TI SYSCON regmap reset driver 4 * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ 23 #include <linux/reset-controller.h> 25 #include <dt-bindings/reset/ti-syscon.h> 28 * struct ti_syscon_reset_control - reset control structure 29 * @assert_offset: reset assert control register offset from syscon base 30 * @assert_bit: reset assert bit in the reset assert control register 31 * @deassert_offset: reset deassert control register offset from syscon base 32 * @deassert_bit: reset deassert bit in the reset deassert control register 33 * @status_offset: reset status register offset from syscon base [all …]
|
| D | reset-pistachio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Pistachio SoC Reset Controller driver 14 #include <linux/reset-controller.h> 18 #include <dt-bindings/reset/pistachio-resets.h> 59 return -EINVAL; in pistachio_reset_shift() 67 u32 mask; in pistachio_reset_assert() local 74 mask = BIT(shift); in pistachio_reset_assert() 76 return regmap_update_bits(rd->periph_regs, PISTACHIO_SOFT_RESET, in pistachio_reset_assert() 77 mask, mask); in pistachio_reset_assert() 84 u32 mask; in pistachio_reset_deassert() local [all …]
|
| D | reset-a10sr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Reset driver for Altera Arria10 MAX5 System Resource Chip 7 * Adapted from reset-socfpga.c 11 #include <linux/mfd/altera-a10sr.h> 15 #include <linux/reset-controller.h> 17 #include <dt-bindings/reset/altr,rst-mgr-a10sr.h> 40 return -EINVAL; in a10sr_reset_shift() 49 u8 mask = ALTR_A10SR_REG_BIT_MASK(offset); in a10sr_reset_update() local 52 return regmap_update_bits(a10r->regmap, index, mask, assert ? 0 : mask); in a10sr_reset_update() 73 u8 mask = ALTR_A10SR_REG_BIT_MASK(offset); in a10sr_reset_status() local [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
| D | prminst44xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include "prcm-common.h" 23 #include "prm-regbits-44xx.h" 34 * omap_prm_base_init - Populates the prm partitions 75 /* Read-modify-write a register in PRM. Caller must lock */ 76 u32 omap4_prminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, s16 inst, in omap4_prminst_rmw_inst_reg_bits() argument 82 v &= ~mask; in omap4_prminst_rmw_inst_reg_bits() 90 * omap4_prminst_is_hardreset_asserted - read the HW reset line state of 93 * @shift: register bit shift corresponding to the reset line to check 97 * -EINVAL upon parameter error. [all …]
|
| D | prm2xxx_3xxx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2010-2011 Texas Instruments, Inc. 18 #include "prm-regbits-24xx.h" 22 * omap2_prm_is_hardreset_asserted - read the HW reset line state of 24 * @shift: register bit shift corresponding to the reset line to check 31 * -EINVAL if called while running on a non-OMAP2/3 chip. 40 * omap2_prm_assert_hardreset - assert the HW reset line of a submodule 41 * @shift: register bit shift corresponding to the reset line to assert 47 * reset line to be asserted / deasserted in order to fully enable the 48 * IP. These modules may have multiple hard-reset lines that reset [all …]
|
| D | prm33xx.c | 4 * Copyright (C) 2011-2012 Texas Instruments Incorporated - https://www.ti.com/ 24 #include "prm-regbits-33xx.h" 42 /* Read-modify-write a register in PRM. Caller must lock */ 43 static u32 am33xx_prm_rmw_reg_bits(u32 mask, u32 bits, s16 inst, s16 idx) in am33xx_prm_rmw_reg_bits() argument 48 v &= ~mask; in am33xx_prm_rmw_reg_bits() 56 * am33xx_prm_is_hardreset_asserted - read the HW reset line state of 58 * @shift: register bit shift corresponding to the reset line to check 65 * -EINVAL upon parameter error. 80 * am33xx_prm_assert_hardreset - assert the HW reset line of a submodule 81 * @shift: register bit shift corresponding to the reset line to assert [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
| D | prminst44xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include "prcm-common.h" 23 #include "prm-regbits-44xx.h" 34 * omap_prm_base_init - Populates the prm partitions 75 /* Read-modify-write a register in PRM. Caller must lock */ 76 u32 omap4_prminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, s16 inst, in omap4_prminst_rmw_inst_reg_bits() argument 82 v &= ~mask; in omap4_prminst_rmw_inst_reg_bits() 90 * omap4_prminst_is_hardreset_asserted - read the HW reset line state of 93 * @shift: register bit shift corresponding to the reset line to check 97 * -EINVAL upon parameter error. [all …]
|
| D | prm2xxx_3xxx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2010-2011 Texas Instruments, Inc. 18 #include "prm-regbits-24xx.h" 22 * omap2_prm_is_hardreset_asserted - read the HW reset line state of 24 * @shift: register bit shift corresponding to the reset line to check 31 * -EINVAL if called while running on a non-OMAP2/3 chip. 40 * omap2_prm_assert_hardreset - assert the HW reset line of a submodule 41 * @shift: register bit shift corresponding to the reset line to assert 47 * reset line to be asserted / deasserted in order to fully enable the 48 * IP. These modules may have multiple hard-reset lines that reset [all …]
|
| D | prm33xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2012 Texas Instruments Incorporated - https://www.ti.com/ 16 #include "prm-regbits-33xx.h" 34 /* Read-modify-write a register in PRM. Caller must lock */ 35 static u32 am33xx_prm_rmw_reg_bits(u32 mask, u32 bits, s16 inst, s16 idx) in am33xx_prm_rmw_reg_bits() argument 40 v &= ~mask; in am33xx_prm_rmw_reg_bits() 48 * am33xx_prm_is_hardreset_asserted - read the HW reset line state of 50 * @shift: register bit shift corresponding to the reset line to check 57 * -EINVAL upon parameter error. 72 * am33xx_prm_assert_hardreset - assert the HW reset line of a submodule [all …]
|
| /kernel/linux/linux-6.6/sound/soc/intel/avs/ |
| D | dsp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // Copyright(c) 2021-2022 Intel Corporation. All rights reserved. 20 u32 value, mask, reg; in avs_dsp_core_power() local 26 mask = AVS_ADSPCS_SPA_MASK(core_mask); in avs_dsp_core_power() 27 value = power ? mask : 0; in avs_dsp_core_power() 29 snd_hdac_adsp_updatel(adev, AVS_ADSP_REG_ADSPCS, mask, value); in avs_dsp_core_power() 33 mask = AVS_ADSPCS_CPA_MASK(core_mask); in avs_dsp_core_power() 34 value = power ? mask : 0; in avs_dsp_core_power() 37 reg, (reg & mask) == value, in avs_dsp_core_power() 41 dev_err(adev->dev, "core_mask %d power %s failed: %d\n", in avs_dsp_core_power() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
| D | cx18-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Derived from ivtv-gpio.c 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-cards.h" 14 #include "cx18-gpio.h" 15 #include "tuner-xc2028.h" 27 * HVR-1600 GPIO pins, courtesy of Hauppauge: 29 * gpio0: zilog ir process reset pin 31 * gpio12: cx24227 reset pin [all …]
|
| /kernel/linux/linux-6.6/drivers/media/pci/cx18/ |
| D | cx18-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Derived from ivtv-gpio.c 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-cards.h" 14 #include "cx18-gpio.h" 27 * HVR-1600 GPIO pins, courtesy of Hauppauge: 29 * gpio0: zilog ir process reset pin 31 * gpio12: cx24227 reset pin 32 * gpio13: cs5345 reset pin [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/reset/ |
| D | syscon-reboot.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/reset/syscon-reboot.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic SYSCON mapped register reset driver 10 - Sebastian Reichel <sre@kernel.org> 13 This is a generic reset driver using syscon to map the reset register. 14 The reset is generally performed with a write to the reset register 16 mask defined in the reboot node. Default will be little endian mode, 32 bit 18 parental dt-node. So the SYSCON reboot node should be represented as a [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/reset/ |
| D | syscon-reboot.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/reset/syscon-reboot.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic SYSCON mapped register reset driver 10 - Sebastian Reichel <sre@kernel.org> 13 This is a generic reset driver using syscon to map the reset register. 14 The reset is generally performed with a write to the reset register 16 mask defined in the reboot node. Default will be little endian mode, 32 bit 18 parental dt-node. So the SYSCON reboot node should be represented as a [all …]
|
| /kernel/linux/linux-6.6/include/linux/pds/ |
| D | pds_intr.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR Linux-OpenIB) OR BSD-2-Clause */ 10 * device units. Use @identity->intr_coal_mult 11 * and @identity->intr_coal_div to convert from 24 * interrupt. Reset value: 0 25 * @mask: Interrupt mask. When @mask=1 the interrupt 27 * @mask=0 the interrupt resource will send an 30 * Reset value: 1 42 * @unmask -- When this bit is written with a 1 43 * the interrupt resource will set mask=0. 44 * @coal_timer_reset -- When this [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/baikal-t1/ |
| D | ccu-rst.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Baikal-T1 CCU Resets interface driver 11 #define pr_fmt(fmt) "bt1-ccu-rst: " fmt 19 #include <linux/reset-controller.h> 22 #include <dt-bindings/reset/bt1-ccu.h> 24 #include "ccu-rst.h" 49 .mask = BIT(_ofs), \ 56 .mask = BIT(_ofs), \ 62 unsigned int mask; member 66 * Each AXI-bus clock divider is equipped with the corresponding clock-consumer [all …]
|
| /kernel/linux/linux-6.6/include/linux/input/ |
| D | adp5589.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright 2010-2011 Analog Devices Inc. 47 #define ADP5589_GPIMAPSIZE_MAX (ADP5589_GPI_PIN_END - ADP5589_GPI_PIN_BASE + 1) 76 #define ADP5585_GPIMAPSIZE_MAX (ADP5585_GPI_PIN_END - ADP5585_GPI_PIN_BASE + 1) 110 /* ADP5589 Mask Bits: 114 * ---------------- BIT ------------------ 127 /* ADP5585 Mask Bits: 131 * ---- BIT -- ----------- 149 unsigned keypad_en_mask; /* Keypad (Rows/Columns) enable mask */ 158 unsigned char reset_cfg; /* Reset config */ [all …]
|
| /kernel/linux/linux-5.10/include/linux/input/ |
| D | adp5589.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright 2010-2011 Analog Devices Inc. 47 #define ADP5589_GPIMAPSIZE_MAX (ADP5589_GPI_PIN_END - ADP5589_GPI_PIN_BASE + 1) 76 #define ADP5585_GPIMAPSIZE_MAX (ADP5585_GPI_PIN_END - ADP5585_GPI_PIN_BASE + 1) 110 /* ADP5589 Mask Bits: 114 * ---------------- BIT ------------------ 127 /* ADP5585 Mask Bits: 131 * ---- BIT -- ----------- 149 unsigned keypad_en_mask; /* Keypad (Rows/Columns) enable mask */ 158 unsigned char reset_cfg; /* Reset config */ [all …]
|
| /kernel/linux/linux-5.10/drivers/input/misc/ |
| D | pmic8xxx-pwrkey.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. 33 /* Regulator control registers for shutdown/reset */ 53 /* Buck TEST2 registers for shutdown/reset */ 72 * struct pmic8xxx_pwrkey - pmic8xxx pwrkey information 108 enable_irq_wake(pwrkey->key_press_irq); in pmic8xxx_pwrkey_suspend() 118 disable_irq_wake(pwrkey->key_press_irq); in pmic8xxx_pwrkey_resume() 130 u8 mask, val; in pmic8xxx_pwrkey_shutdown() local 131 bool reset = system_state == SYSTEM_RESTART; in pmic8xxx_pwrkey_shutdown() local 133 if (pwrkey->shutdown_fn) { in pmic8xxx_pwrkey_shutdown() [all …]
|
| /kernel/linux/linux-6.6/drivers/input/misc/ |
| D | pmic8xxx-pwrkey.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. 32 /* Regulator control registers for shutdown/reset */ 52 /* Buck TEST2 registers for shutdown/reset */ 71 * struct pmic8xxx_pwrkey - pmic8xxx pwrkey information 107 enable_irq_wake(pwrkey->key_press_irq); in pmic8xxx_pwrkey_suspend() 117 disable_irq_wake(pwrkey->key_press_irq); in pmic8xxx_pwrkey_resume() 129 u8 mask, val; in pmic8xxx_pwrkey_shutdown() local 130 bool reset = system_state == SYSTEM_RESTART; in pmic8xxx_pwrkey_shutdown() local 132 if (pwrkey->shutdown_fn) { in pmic8xxx_pwrkey_shutdown() [all …]
|