| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | iqs62x.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| D | iqs62x-keys.yaml | 1 # 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 …]
|
| D | iqs269a.yaml | 1 # 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/drivers/input/keyboard/ |
| D | iqs62x-keys.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | gpio-bd71828.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include <linux/mfd/rohm-bd71828.h> 26 * The HALL input pin can only be used as input. If this is the pin in bd71828_gpio_set() 27 * we are dealing with - then we are done in bd71828_gpio_set() 32 ret = regmap_update_bits(bdgpio->chip.regmap, GPIO_OUT_REG(offset), in bd71828_gpio_set() 35 dev_err(bdgpio->chip.dev, "Could not set gpio to %d\n", value); in bd71828_gpio_set() 45 ret = regmap_read(bdgpio->chip.regmap, BD71828_REG_IO_STAT, in bd71828_gpio_get() 48 ret = regmap_read(bdgpio->chip.regmap, GPIO_OUT_REG(offset), in bd71828_gpio_get() 62 return -ENOTSUPP; in bd71828_gpio_set_config() 64 switch (pinconf_to_config_param(config)) { in bd71828_gpio_set_config() [all …]
|
| /kernel/linux/linux-5.10/drivers/char/tpm/eventlog/ |
| D | acpi.c | 1 // 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 …]
|
| D | tpm1.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/input/misc/ |
| D | iqs269a.c | 1 // 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/arch/ia64/kernel/ |
| D | mca_asm.S | 1 /* 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 …]
|
| D | mca.c | 1 // 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-5.10/Documentation/translations/zh_CN/process/ |
| D | coding-style.rst | 1 .. include:: ../disclaimer-zh_CN.rst 3 :Original: :ref:`Documentation/process/coding-style.rst <codingstyle>` 32 -------------- 47 在 switch 语句中消除多级缩进的首选的方式是让 ``switch`` 和从属于它的 ``case`` 50 .. code-block:: c 52 switch (suffix) { 71 .. code-block:: c 86 ------------------------------ 99 ------------------------------ 105 .. code-block:: c [all …]
|
| /kernel/linux/linux-5.10/security/integrity/evm/ |
| D | evm_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2005-2010 IBM Corporation 7 * Kylene Hall <kjhall@us.ibm.com> 100 if (!(inode->i_opflags & IOP_XATTR)) in evm_find_protected_xattrs() 101 return -EOPNOTSUPP; in evm_find_protected_xattrs() 104 error = __vfs_getxattr(dentry, inode, xattr->name, NULL, 0); in evm_find_protected_xattrs() 106 if (error == -ENODATA) in evm_find_protected_xattrs() 117 * evm_verify_hmac - calculate and compare the HMAC with the EVM xattr 123 * - use the previoulsy retrieved xattr value and length to calculate the 125 * - cache the verification result in the iint, when available. [all …]
|
| /kernel/linux/linux-5.10/fs/nfsd/ |
| D | nfscache.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/arch/ |
| D | Kconfig | 1 # 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 138 to establish unintrusive probes in user-space binaries and [all …]
|
| /kernel/linux/linux-5.10/sound/usb/ |
| D | mixer_quirks.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/Documentation/translations/it_IT/process/ |
| D | coding-style.rst | 1 .. 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 90 ----------------------------------- [all …]
|
| /kernel/linux/linux-5.10/Documentation/process/ |
| D | coding-style.rst | 19 -------------- 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 …]
|
| /kernel/linux/linux-5.10/drivers/platform/x86/ |
| D | acer-wmi.c | 1 // 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-5.10/security/integrity/ima/ |
| D | ima_main.c | 1 // 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() 87 if ((func == MMAP_CHECK) && mapping_writably_mapped(file->f_mapping)) { in mmap_violation_check() 88 rc = -ETXTBSY; in mmap_violation_check() 91 if (!*pathbuf) /* ima_rdwr_violation possibly pre-fetched */ in mmap_violation_check() 92 *pathname = ima_d_path(&file->f_path, pathbuf, in mmap_violation_check() 104 * - Opening a file for write when already open for read, 106 * - Opening a file for read when already open for write, 118 fmode_t mode = file->f_mode; in ima_rdwr_violation_check() [all …]
|
| /kernel/linux/linux-5.10/drivers/char/tpm/ |
| D | tpm_tis_core.c | 1 // 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() 51 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in wait_for_tpm_stat() 58 status = chip->ops->status(chip); in wait_for_tpm_stat() 64 if (chip->flags & TPM_CHIP_FLAG_IRQ) { in wait_for_tpm_stat() 66 timeout = stop - jiffies; in wait_for_tpm_stat() 68 return -ETIME; in wait_for_tpm_stat() [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/serial/ |
| D | cp210x.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * control thanks to Munir Nassar nassarmu@real-time.com 58 { USB_DEVICE(0x045B, 0x0053) }, /* Renesas RX610 RX-Stick */ 59 { USB_DEVICE(0x0471, 0x066A) }, /* AKTAKOM ACE-1001 cable */ 60 { USB_DEVICE(0x0489, 0xE000) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */ 61 { USB_DEVICE(0x0489, 0xE003) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */ 63 …{ USB_DEVICE(0x0846, 0x1100) }, /* NetGear Managed Switch M4100 series, M5300 series, M7100 series… 64 { USB_DEVICE(0x08e6, 0x5501) }, /* Gemalto Prox-PU/CU contactless smartcard reader */ 69 { USB_DEVICE(0x0BED, 0x1100) }, /* MEI (TM) Cashflow-SC Bill/Voucher Acceptor */ 74 { USB_DEVICE(0x0FDE, 0xCA05) }, /* OWL Wireless Electricity Monitor CM-160 */ [all …]
|
| /kernel/linux/linux-5.10/arch/x86/mm/ |
| D | fault.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2008-2009, Red Hat Inc., Ingo Molnar 46 return -1; in kmmio_fault() 53 * 32-bit mode: 58 * 64-bit mode: 72 switch (instr_hi) { in check_prefetch_opcode() 85 * In 64-bit mode 0x40..0x4F are valid REX prefixes in check_prefetch_opcode() 127 * not-present page (e.g. due to a race). No one has ever in is_prefetch() 173 * and redundant with the set_pmd() on non-PAE. As would in vmalloc_sync_one() 205 * where it synchronizes this update with the other page-tables in the [all …]
|
| /kernel/linux/linux-5.10/mm/ |
| D | slab.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * kmem_cache_destroy() + some cleanup - 1999 Andrea Arcangeli 9 * Major cleanup, different bufctl logic, per-cpu arrays 17 * Pub: Prentice Hall ISBN 0-13-101908-2 19 * The Slab Allocator: An Object-Caching Kernel Memory Allocator 48 * Each cache has a short per-cpu head array, most allocs 54 * The c_cpuarray may not be read with enabled local interrupts - 61 * The per-cpu arrays are never accessed from the wrong cpu, no locking, 62 * and local interrupts are disabled so slab code is preempt-safe. 63 * The non-constant members are protected with a per-cache irq spinlock. [all …]
|