Home
last modified time | relevance | path

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

12

/Linux-v5.15/Documentation/devicetree/bindings/input/
Diqs626a.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 IQS626A is a 14-channel capacitive touch controller that features
14 additional Hall-effect and inductive sensing capabilities.
19 - $ref: touchscreen/touchscreen.yaml#
31 "#address-cells":
34 "#size-cells":
37 azoteq,suspend-mode:
[all …]
Diqs62x-keys.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/iqs62x-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors
14 feature a variety of self-capacitive, mutual-inductive and Hall-effect sens-
15 ing capabilities that can facilitate a variety of contactless key and switch
20 further details and examples. Sensor hardware configuration (self-capacitive
21 vs. mutual-inductive, etc.) is selected based on the device's firmware.
[all …]
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 …]
/Linux-v5.15/Documentation/devicetree/bindings/mfd/
Diqs62x.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Azoteq IQS620A/621/622/624/625 Multi-Function Sensors
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors
21 - azoteq,iqs620a
22 - azoteq,iqs621
23 - azoteq,iqs622
24 - azoteq,iqs624
[all …]
/Linux-v5.15/drivers/input/keyboard/
Diqs62x-keys.c1 // SPDX-License-Identifier: GPL-2.0+
25 [IQS62X_SW_HALL_N] = "hall-switch-north",
26 [IQS62X_SW_HALL_S] = "hall-switch-south",
52 ret = device_property_count_u32(&pdev->dev, "linux,keycodes"); in iqs62x_keys_parse_prop()
54 dev_err(&pdev->dev, "Too many keycodes present\n"); in iqs62x_keys_parse_prop()
55 return -EINVAL; in iqs62x_keys_parse_prop()
57 dev_err(&pdev->dev, "Failed to count keycodes: %d\n", ret); in iqs62x_keys_parse_prop()
60 iqs62x_keys->keycodemax = ret; in iqs62x_keys_parse_prop()
62 ret = device_property_read_u32_array(&pdev->dev, "linux,keycodes", in iqs62x_keys_parse_prop()
63 iqs62x_keys->keycode, in iqs62x_keys_parse_prop()
[all …]
/Linux-v5.15/drivers/gpio/
Dgpio-bd71828.c1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <linux/mfd/rohm-bd71828.h>
27 * The HALL input pin can only be used as input. If this is the pin in bd71828_gpio_set()
28 * we are dealing with - then we are done in bd71828_gpio_set()
33 ret = regmap_update_bits(bdgpio->regmap, GPIO_OUT_REG(offset), in bd71828_gpio_set()
36 dev_err(bdgpio->dev, "Could not set gpio to %d\n", value); in bd71828_gpio_set()
46 ret = regmap_read(bdgpio->regmap, BD71828_REG_IO_STAT, in bd71828_gpio_get()
49 ret = regmap_read(bdgpio->regmap, GPIO_OUT_REG(offset), in bd71828_gpio_get()
63 return -ENOTSUPP; in bd71828_gpio_set_config()
65 switch (pinconf_to_config_param(config)) { in bd71828_gpio_set_config()
[all …]
/Linux-v5.15/arch/arm64/boot/dts/qcom/
Dmsm8998-oneplus-common.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 * OnePlus 5(T) (cheeseburger / dumpling) common device tree source based on msm8998-mtp.dtsi
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
20 qcom,msm-id = <292 0x20001>; /* 8998 v2.1 */
23 #address-cells = <2>;
24 #size-cells = <2>;
29 compatible = "simple-framebuffer";
38 reserved-memory {
[all …]
/Linux-v5.15/drivers/char/tpm/eventlog/
Dacpi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Kylene Hall <kjhall@us.ibm.com>
12 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
53 len -= sizeof(*event_header); in tpm_is_tpm2_log()
58 efispecid = (struct tcg_efi_specid_event_head *)event_header->event; in tpm_is_tpm2_log()
60 n = memcmp(efispecid->signature, TCG_SPECID_SIG, in tpm_is_tpm2_log()
78 log = &chip->log; in tpm_read_log_acpi()
83 if (!chip->acpi_dev_handle) in tpm_read_log_acpi()
84 return -ENODEV; in tpm_read_log_acpi()
86 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_read_log_acpi()
[all …]
Dtpm1.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 * Kylene Hall <kjhall@us.ibm.com>
13 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
38 "S-CRTM Contents",
39 "S-CRTM Version",
46 "Non-Host Code",
47 "Non-Host Config",
48 "Non-Host Info"
63 "S-CRTM Version",
64 "S-CRTM Contents ",
[all …]
/Linux-v5.15/drivers/input/misc/
Diqs626a.c1 // SPDX-License-Identifier: GPL-2.0+
8 * inductive keys as well as Hall-effect switches, and one for a trackpad that
227 .name = "event-prox",
233 .name = "event-prox-alt",
240 .name = "event-touch",
246 .name = "event-touch-alt",
253 .name = "event-deep",
259 .name = "event-deep-alt",
367 .name = "ulp-0",
378 .name = "trackpad-3x2",
[all …]
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 …]
/Linux-v5.15/arch/ia64/kernel/
Dmca_asm.S1 /* SPDX-License-Identifier: GPL-2.0 */
8 * 2000-03-15 David Mosberger-Tang <davidm@hpl.hp.com>
11 * 2000-03-29 Chuck Fleckenstein <cfleck@co.intel.com>
13 * switch to temp kstack, switch modes, jump to C INIT handler
15 * 2002-01-04 J.Hall <jenna.s.hall@intel.com>
21 * 2004-11-12 Russ Anderson <rja@sgi.com>
24 * 2005-12-08 Keith Owens <kaos@sgi.com>
55 * so we can re-use the code for cpu hotplug code as well
68 ld8 r18=[r2],(O(PTCE_COUNT)-O(PTCE_BASE));; // r18=ptce_base
76 adds r20=-1,r20
[all …]
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 …]
/Linux-v5.15/drivers/char/tpm/
Dtpm-sysfs.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Kylene Hall <kjhall@us.ibm.com>
65 out->algorithm, in pubek_show()
66 out->encscheme, in pubek_show()
67 out->sigscheme, in pubek_show()
68 out->parameters, in pubek_show()
69 be32_to_cpu(out->keysize)); in pubek_show()
72 str += sprintf(str, "%16ph\n", &out->modulus[i]); in pubek_show()
78 return str - buf; in pubek_show()
107 str += sprintf(str, "PCR-%02d: ", i); in pcrs_show()
[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 …]
/Linux-v5.15/Documentation/translations/zh_TW/process/
Dcoding-style.rst1 .. SPDX-License-Identifier: GPL-2.0
3 .. include:: ../disclaimer-zh_TW.rst
5 :Original: :ref:`Documentation/process/coding-style.rst <codingstyle>`
35 --------------
50switch 語句中消除多級縮進的首選的方式是讓 ``switch`` 和從屬於它的 ``case``
53 .. code-block:: c
55 switch (suffix) {
74 .. code-block:: c
89 ------------------------------
102 ------------------------------
[all …]
/Linux-v5.15/Documentation/translations/zh_CN/process/
Dcoding-style.rst1 .. include:: ../disclaimer-zh_CN.rst
3 :Original: :ref:`Documentation/process/coding-style.rst <codingstyle>`
32 --------------
47switch 语句中消除多级缩进的首选的方式是让 ``switch`` 和从属于它的 ``case``
50 .. code-block:: c
52 switch (suffix) {
71 .. code-block:: c
86 ------------------------------
99 ------------------------------
105 .. code-block:: c
[all …]
/Linux-v5.15/fs/nfsd/
Dnfscache.c1 // SPDX-License-Identifier: GPL-2.0
4 * change in the future and be a per-client cache.
64 * XXX: these limits are per-container, so memory used will increase
71 unsigned long low_pages = totalram_pages() - totalhigh_pages(); in nfsd_cache_size_limit()
73 limit = (16 * int_sqrt(low_pages)) << (PAGE_SHIFT-10); in nfsd_cache_size_limit()
90 return hash_32(be32_to_cpu(xid), nn->maskbits); in nfsd_cache_hash()
101 rp->c_state = RC_UNUSED; in nfsd_reply_cache_alloc()
102 rp->c_type = RC_NOCACHE; in nfsd_reply_cache_alloc()
103 RB_CLEAR_NODE(&rp->c_node); in nfsd_reply_cache_alloc()
104 INIT_LIST_HEAD(&rp->c_lru); in nfsd_reply_cache_alloc()
[all …]
/Linux-v5.15/security/integrity/evm/
Devm_main.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2005-2010 IBM Corporation
7 * Kylene Hall <kjhall@us.ibm.com>
144 if (!(inode->i_opflags & IOP_XATTR)) in evm_find_protected_xattrs()
145 return -EOPNOTSUPP; in evm_find_protected_xattrs()
148 error = __vfs_getxattr(dentry, inode, xattr->name, NULL, 0); in evm_find_protected_xattrs()
150 if (error == -ENODATA) in evm_find_protected_xattrs()
161 * evm_verify_hmac - calculate and compare the HMAC with the EVM xattr
167 * - use the previoulsy retrieved xattr value and length to calculate the
169 * - cache the verification result in the iint, when available.
[all …]
/Linux-v5.15/sound/usb/
Dmixer_quirks.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Quirks and vendor-specific extensions for mixer interfaces
48 * See the quirks for M-Audio FTUs or Ebox-44.
68 return -ENOMEM; in snd_create_std_mono_ctl_offset()
70 snd_usb_mixer_elem_init_std(&cval->head, mixer, unitid); in snd_create_std_mono_ctl_offset()
71 cval->val_type = val_type; in snd_create_std_mono_ctl_offset()
72 cval->channels = 1; in snd_create_std_mono_ctl_offset()
73 cval->control = control; in snd_create_std_mono_ctl_offset()
74 cval->cmask = cmask; in snd_create_std_mono_ctl_offset()
75 cval->idx_off = idx_off; in snd_create_std_mono_ctl_offset()
[all …]
/Linux-v5.15/arch/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
12 menu "General architecture-dependent options"
45 for kernel debugging, non-intrusive instrumentation and testing.
54 makes certain almost-always-true or almost-always-false branch
57 Certain performance-sensitive kernel code, such as trace points,
71 ( On 32-bit x86, the necessary options added to the compiler
78 Boot time self-test of the branch patching code.
84 Boot time self-test of the call patching code.
104 Uprobes is the user-space counterpart to kprobes: they
106 to establish unintrusive probes in user-space binaries and
[all …]
/Linux-v5.15/Documentation/translations/it_IT/process/
Dcoding-style.rst1 .. include:: ../disclaimer-ita.rst
3 :Original: :ref:`Documentation/process/coding-style.rst <codingstyle>`
24 ---------------
29 pi-greco a 3.
46 Al fine di facilitare l'indentazione del costrutto switch, si preferisce
47 allineare sulla stessa colonna la parola chiave ``switch`` e i suoi
51 .. code-block:: c
53 switch (suffix) {
73 .. code-block:: c
80 .. code-block:: c
[all …]
/Linux-v5.15/Documentation/process/
Dcoding-style.rst19 --------------
31 Now, some people will claim that having 8-character indentations makes
33 80-character terminal screen. The answer to that is that if you need
37 In short, 8-char indents make things easier to read, and have the added
41 The preferred way to ease multiple indentation levels in a switch statement is
42 to align the ``switch`` and its subordinate ``case`` labels in the same column
43 instead of ``double-indenting`` the ``case`` labels. E.g.:
45 .. code-block:: c
47 switch (suffix) {
67 .. code-block:: c
[all …]
/Linux-v5.15/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>
39 * Meaning is unknown - this number is required for writing to ACPI for AMW0
71 #define AMW0_GUID1 "67C3371D-95A3-4C37-BB61-DD47B491DAAB"
72 #define AMW0_GUID2 "431F16ED-0C2B-444C-B267-27DEB140CF9C"
73 #define WMID_GUID1 "6AF4F258-B401-42FD-BE91-3D4AC2D7C0D3"
74 #define WMID_GUID2 "95764E09-FB56-4E83-B31A-37761F60994A"
[all …]
/Linux-v5.15/security/integrity/ima/
Dima_main.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * Kylene Hall <kylene@us.ibm.com>
53 if (strcmp(template_desc->name, IMA_TEMPLATE_IMA_NAME) == 0) { in hash_setup()
92 if ((func == MMAP_CHECK) && mapping_writably_mapped(file->f_mapping)) { in mmap_violation_check()
93 rc = -ETXTBSY; in mmap_violation_check()
96 if (!*pathbuf) /* ima_rdwr_violation possibly pre-fetched */ in mmap_violation_check()
97 *pathname = ima_d_path(&file->f_path, pathbuf, in mmap_violation_check()
109 * - Opening a file for write when already open for read,
111 * - Opening a file for read when already open for write,
123 fmode_t mode = file->f_mode; in ima_rdwr_violation_check()
[all …]

12