Home
last modified time | relevance | path

Searched +full:hall +full:- +full:enable (Results 1 – 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/
Diqs269a.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features
14 additional Hall-effect and inductive sensing capabilities.
28 "#address-cells":
31 "#size-cells":
34 azoteq,hall-enable:
37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/
Dmsm8916-samsung-a2015-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 #include "msm8916-pm8916.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
14 stdout-path = "serial0";
17 reserved-memory {
19 tz-apps@85500000 {
21 no-map;
25 gpio-keys {
[all …]
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dmca_asm.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 * Copyright (C) 2000 Hewlett-Packard Co.
10 * Copyright (C) 2000 David Mosberger-Tang <davidm@hpl.hp.com>
12 * Copyright (C) 2002 Jenna Hall <jenna.s.hall@intel.com>
66 * 3. Clear the interrupt enable and interrupt state collection bits
121 dep temp1 = -1, temp1, PSR_MC, 1; \
151 * lower 32-bits of old psr.(Also the old psr has the data and
222 * +---------------------------+
224 * +---------------------------+
226 * +---------------------------+
[all …]
/kernel/linux/linux-4.19/arch/ia64/include/asm/
Dmca_asm.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 * Copyright (C) 2000 Hewlett-Packard Co.
10 * Copyright (C) 2000 David Mosberger-Tang <davidm@hpl.hp.com>
12 * Copyright (C) 2002 Jenna Hall <jenna.s.hall@intel.com>
66 * 3. Clear the interrupt enable and interrupt state collection bits
121 dep temp1 = -1, temp1, PSR_MC, 1; \
151 * lower 32-bits of old psr.(Also the old psr has the data and
222 * +---------------------------+
224 * +---------------------------+
226 * +---------------------------+
[all …]
/kernel/liteos_m/targets/riscv_nuclei_gd32vf103_soc_gcc/SoC/gd32vf103/Common/Include/
Dgd32vf103_timer.h5 \version 2019-6-5, V1.0.0, firmware for GD32VF103
55 …timerx) REG32((timerx) + 0x0CU) /*!< TIMER DMA and interrupt enable register */
75 #define TIMER_CTL0_CEN BIT(0) /*!< TIMER counter enable */
80 #define TIMER_CTL0_CAM BITS(5,6) /*!< center-aligned mode selection */
81 #define TIMER_CTL0_ARSE BIT(7) /*!< auto-reload shadow enable */
85 #define TIMER_CTL1_CCSE BIT(0) /*!< commutation control shadow enable
89 … BIT(7) /*!< channel 0 trigger input selection(hall mode selection) */
101 #define TIMER_SMCFG_MSM BIT(7) /*!< master-slave mode */
104 #define TIMER_SMCFG_SMC1 BIT(14) /*!< part of SMC for enable external c…
108 #define TIMER_DMAINTEN_UPIE BIT(0) /*!< update interrupt enable */
[all …]
/kernel/linux/linux-5.10/drivers/input/misc/
Diqs269a.c1 // SPDX-License-Identifier: GPL-2.0+
8 * inductive keys as well as Hall-effect switches, and one for each of the two
149 #define IQS269_ATI_POLL_SLEEP_US (iqs269->delay_mult * 10000)
150 #define IQS269_ATI_POLL_TIMEOUT_US (iqs269->delay_mult * 500000)
151 #define IQS269_ATI_STABLE_DELAY_MS (iqs269->delay_mult * 150)
201 .name = "event-prox",
207 .name = "event-prox-alt",
214 .name = "event-touch",
220 .name = "event-touch-alt",
227 .name = "event-deep",
[all …]
/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm_tis.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Kylene Hall <kjhall@us.ibm.com>
10 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
38 * irq = -1 means: no irq support
53 static int interrupts = -1;
55 MODULE_PARM_DESC(interrupts, "Enable interrupts");
69 if (interrupts == -1) { in tpm_tis_disable_irq()
70 pr_notice("tpm_tis: %s detected: disabling interrupts.\n", d->ident); in tpm_tis_disable_irq()
94 list_for_each_entry(id, &dev->pnp.ids, list) in has_hid()
95 if (!strcmp(hid, id->id)) in has_hid()
[all …]
Dtpm_nsc.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Kylene Hall <kjhall@us.ibm.com>
11 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
72 struct tpm_nsc_priv *priv = dev_get_drvdata(&chip->dev); in wait_for_stat()
76 *data = inb(priv->base + NSC_STATUS); in wait_for_stat()
84 *data = inb(priv->base + 1); in wait_for_stat()
90 return -EBUSY; in wait_for_stat()
95 struct tpm_nsc_priv *priv = dev_get_drvdata(&chip->dev); in nsc_wait_for_ready()
100 status = inb(priv->base + NSC_STATUS); in nsc_wait_for_ready()
102 status = inb(priv->base + NSC_DATA); in nsc_wait_for_ready()
[all …]
Dtpm_tis_core.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Kylene Hall <kjhall@us.ibm.com>
10 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
35 u8 status = chip->ops->status(chip); in wait_for_tpm_stat_cond()
40 if (check_cancel && chip->ops->req_canceled(chip, status)) { in wait_for_tpm_stat_cond()
57 status = chip->ops->status(chip); in wait_for_tpm_stat()
63 if (chip->flags & TPM_CHIP_FLAG_IRQ) { in wait_for_tpm_stat()
65 timeout = stop - jiffies; in wait_for_tpm_stat()
67 return -ETIME; in wait_for_tpm_stat()
74 return -ECANCELED; in wait_for_tpm_stat()
[all …]
/kernel/linux/linux-4.19/drivers/char/tpm/
Dtpm_tis.c7 * Kylene Hall <kjhall@us.ibm.com>
9 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
41 * irq = -1 means: no irq support
58 MODULE_PARM_DESC(interrupts, "Enable interrupts");
75 list_for_each_entry(id, &dev->pnp.ids, list) in has_hid()
76 if (!strcmp(hid, id->id)) in has_hid()
110 if (!aid || aid->driver_data != DEVICE_IS_TPM2) in check_acpi_tpm2()
118 if (ACPI_FAILURE(st) || tbl->header.length < sizeof(*tbl)) { in check_acpi_tpm2()
120 return -EINVAL; in check_acpi_tpm2()
124 if (tbl->start_method != ACPI_TPM2_MEMORY_MAPPED) in check_acpi_tpm2()
[all …]
Dtpm_nsc.c8 * Kylene Hall <kjhall@us.ibm.com>
10 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
77 struct tpm_nsc_priv *priv = dev_get_drvdata(&chip->dev); in wait_for_stat()
81 *data = inb(priv->base + NSC_STATUS); in wait_for_stat()
89 *data = inb(priv->base + 1); in wait_for_stat()
95 return -EBUSY; in wait_for_stat()
100 struct tpm_nsc_priv *priv = dev_get_drvdata(&chip->dev); in nsc_wait_for_ready()
105 status = inb(priv->base + NSC_STATUS); in nsc_wait_for_ready()
107 status = inb(priv->base + NSC_DATA); in nsc_wait_for_ready()
115 status = inb(priv->base + NSC_STATUS); in nsc_wait_for_ready()
[all …]
Dtpm_tis_core.c7 * Kylene Hall <kjhall@us.ibm.com>
9 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
39 u8 status = chip->ops->status(chip); in wait_for_tpm_stat_cond()
44 if (check_cancel && chip->ops->req_canceled(chip, status)) { in wait_for_tpm_stat_cond()
61 status = chip->ops->status(chip); in wait_for_tpm_stat()
67 if (chip->flags & TPM_CHIP_FLAG_IRQ) { in wait_for_tpm_stat()
69 timeout = stop - jiffies; in wait_for_tpm_stat()
71 return -ETIME; in wait_for_tpm_stat()
78 return -ECANCELED; in wait_for_tpm_stat()
81 if (rc == -ERESTARTSYS && freezing(current)) { in wait_for_tpm_stat()
[all …]
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dmca.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 2003 Hewlett-Packard Co
7 * David Mosberger-Tang <davidm@hpl.hp.com>
13 * Copyright (C) Jenna Hall <jenna.s.hall@intel.com>
21 * Copyright (C) 1999, 2004-2008 Silicon Graphics, Inc.
27 * 2000-03-29 Chuck Fleckenstein <cfleck@co.intel.com>
31 * 2001-01-03 Fred Lewis <frederick.v.lewis@intel.com>
37 * 2002-01-04 Jenna Hall <jenna.s.hall@intel.com>
42 * 2002-03-25 Matt Domsch <Matt_Domsch@dell.com>
45 * 2003-04-15 David Mosberger-Tang <davidm@hpl.hp.com>
[all …]
/kernel/linux/linux-4.19/arch/ia64/kernel/
Dmca.c5 * Copyright (C) 2003 Hewlett-Packard Co
6 * David Mosberger-Tang <davidm@hpl.hp.com>
12 * Copyright (C) Jenna Hall <jenna.s.hall@intel.com>
20 * Copyright (C) 1999, 2004-2008 Silicon Graphics, Inc.
26 * 2000-03-29 Chuck Fleckenstein <cfleck@co.intel.com>
30 * 2001-01-03 Fred Lewis <frederick.v.lewis@intel.com>
36 * 2002-01-04 Jenna Hall <jenna.s.hall@intel.com>
41 * 2002-03-25 Matt Domsch <Matt_Domsch@dell.com>
44 * 2003-04-15 David Mosberger-Tang <davidm@hpl.hp.com>
47 * 2003-12-08 Keith Owens <kaos@sgi.com>
[all …]
/kernel/liteos_m/targets/riscv_nuclei_gd32vf103_soc_gcc/SoC/gd32vf103/Common/Source/Drivers/
Dgd32vf103_timer.c5 \version 2019-6-5, V1.0.0, firmware for GD32VF103
100 initpara->prescaler = 0U; in timer_struct_para_init()
101 initpara->alignedmode = TIMER_COUNTER_EDGE; in timer_struct_para_init()
102 initpara->counterdirection = TIMER_COUNTER_UP; in timer_struct_para_init()
103 initpara->period = 65535U; in timer_struct_para_init()
104 initpara->clockdivision = TIMER_CKDIV_DIV1; in timer_struct_para_init()
105 initpara->repetitioncounter = 0U; in timer_struct_para_init()
125 TIMER_PSC(timer_periph) = (uint16_t)initpara->prescaler; in timer_init()
131 TIMER_CTL0(timer_periph) |= (uint32_t)(initpara->alignedmode & ALIGNEDMODE_MASK); in timer_init()
132 …TIMER_CTL0(timer_periph) |= (uint32_t)(initpara->counterdirection & COUNTERDIRECTION_MASK); … in timer_init()
[all …]
/kernel/linux/linux-4.19/arch/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
12 menu "General architecture-dependent options"
68 for kernel debugging, non-intrusive instrumentation and testing.
77 makes certain almost-always-true or almost-always-false branch
80 Certain performance-sensitive kernel code, such as trace points,
94 ( On 32-bit x86, the necessary options added to the compiler
101 Boot time self-test of the branch patching code.
121 Uprobes is the user-space counterpart to kprobes: they
122 enable instrumentation applications (such as 'perf probe')
123 to establish unintrusive probes in user-space binaries and
[all …]
/kernel/linux/linux-5.10/arch/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
12 menu "General architecture-dependent options"
77 for kernel debugging, non-intrusive instrumentation and testing.
86 makes certain almost-always-true or almost-always-false branch
89 Certain performance-sensitive kernel code, such as trace points,
103 ( On 32-bit x86, the necessary options added to the compiler
110 Boot time self-test of the branch patching code.
116 Boot time self-test of the call patching code.
136 Uprobes is the user-space counterpart to kprobes: they
137 enable instrumentation applications (such as 'perf probe')
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dtegra30-asus-nexus7-grouper-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/input/gpio-keys.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/power/summit,smb347-charger.h>
6 #include <dt-bindings/thermal/thermal.h>
9 #include "tegra30-cpu-opp.dtsi"
10 #include "tegra30-cpu-opp-microvolt.dtsi"
26 * pre-existing /chosen node to be available to insert the
35 reserved-memory {
36 #address-cells = <1>;
[all …]
/kernel/linux/linux-4.19/Documentation/translations/zh_CN/
Dcoding-style.rst1 Chinese translated version of Documentation/process/coding-style.rst
10 ---------------------------------------------------------------------
12 Documentation/process/coding-style.rst 的中文翻译
28 ---------------------------------------------------------------------
45 --------------
63 .. code-block:: c
84 .. code-block:: c
99 ------------------------------
112 ------------------------------
118 .. code-block:: c
[all …]
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/process/
Dcoding-style.rst1 .. include:: ../disclaimer-zh_CN.rst
3 :Original: :ref:`Documentation/process/coding-style.rst <codingstyle>`
32 --------------
50 .. code-block:: c
71 .. code-block:: c
86 ------------------------------
99 ------------------------------
105 .. code-block:: c
113 .. code-block:: c
128 .. code-block:: c
[all …]
/kernel/linux/linux-5.10/security/integrity/ima/
Dima_crypto.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Kylene Hall <kjhall@us.ibm.com>
10 * Calculates md5/sha1 file hash, template hash, boot-aggreate hash
30 /* default is 0 - 1 page. */
42 return -EINVAL; in param_set_bufsize()
125 ima_sha1_idx = -1; in ima_init_crypto()
126 ima_hash_algo_idx = -1; in ima_init_crypto()
129 algo = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_init_crypto()
149 rc = -ENOMEM; in ima_init_crypto()
154 algo = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_init_crypto()
[all …]
/kernel/linux/linux-5.10/sound/isa/sb/
Demu8000.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 1999-2000 Takashi Iwai <tiwai@suse.de>
38 spin_lock_irqsave(&emu->reg_lock, flags); in snd_emu8000_poke()
39 if (reg != emu->last_reg) { in snd_emu8000_poke()
41 emu->last_reg = reg; in snd_emu8000_poke()
44 spin_unlock_irqrestore(&emu->reg_lock, flags); in snd_emu8000_poke()
52 spin_lock_irqsave(&emu->reg_lock, flags); in snd_emu8000_peek()
53 if (reg != emu->last_reg) { in snd_emu8000_peek()
55 emu->last_reg = reg; in snd_emu8000_peek()
58 spin_unlock_irqrestore(&emu->reg_lock, flags); in snd_emu8000_peek()
[all …]
/kernel/linux/linux-4.19/sound/isa/sb/
Demu8000.c4 * Copyright (C) 1999-2000 Takashi Iwai <tiwai@suse.de>
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
51 spin_lock_irqsave(&emu->reg_lock, flags); in snd_emu8000_poke()
52 if (reg != emu->last_reg) { in snd_emu8000_poke()
54 emu->last_reg = reg; in snd_emu8000_poke()
57 spin_unlock_irqrestore(&emu->reg_lock, flags); in snd_emu8000_poke()
65 spin_lock_irqsave(&emu->reg_lock, flags); in snd_emu8000_peek()
66 if (reg != emu->last_reg) { in snd_emu8000_peek()
68 emu->last_reg = reg; in snd_emu8000_peek()
71 spin_unlock_irqrestore(&emu->reg_lock, flags); in snd_emu8000_peek()
[all …]
/kernel/linux/linux-5.10/drivers/platform/x86/
Dacer-wmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2007-2009 Carlos Corbacho <carlos@strangeworlds.co.uk>
8 * Copyright (C) 2005-2007 E.M. Smith
9 * Copyright (C) 2007-2008 Carlos Corbacho <cathectic@gmail.com>
30 #include <linux/input/sparse-keymap.h>
40 * Meaning is unknown - this number is required for writing to ACPI for AMW0
67 #define AMW0_GUID1 "67C3371D-95A3-4C37-BB61-DD47B491DAAB"
68 #define AMW0_GUID2 "431F16ED-0C2B-444C-B267-27DEB140CF9C"
69 #define WMID_GUID1 "6AF4F258-B401-42FD-BE91-3D4AC2D7C0D3"
70 #define WMID_GUID2 "95764E09-FB56-4E83-B31A-37761F60994A"
[all …]
/kernel/linux/linux-4.19/drivers/platform/x86/
Dacer-wmi.c4 * Copyright (C) 2007-2009 Carlos Corbacho <carlos@strangeworlds.co.uk>
7 * Copyright (C) 2005-2007 E.M. Smith
8 * Copyright (C) 2007-2008 Carlos Corbacho <cathectic@gmail.com>
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
43 #include <linux/input/sparse-keymap.h>
52 * Meaning is unknown - this number is required for writing to ACPI for AMW0
79 #define AMW0_GUID1 "67C3371D-95A3-4C37-BB61-DD47B491DAAB"
80 #define AMW0_GUID2 "431F16ED-0C2B-444C-B267-27DEB140CF9C"
81 #define WMID_GUID1 "6AF4F258-B401-42FD-BE91-3D4AC2D7C0D3"
82 #define WMID_GUID2 "95764E09-FB56-4E83-B31A-37761F60994A"
[all …]

12