| /linux/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | azoteq,iqs7211.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control- 14 lers employ projected-capacitance sensing and can track two contacts. 21 - azoteq,iqs7210a 22 - azoteq,iqs7211a 23 - azoteq,iqs7211e 28 irq-gpios: [all …]
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | iqs269a.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 IQS269A Capacitive Touch Controller 10 - Jeff LaBundy <jeff@labundy.com> 13 - $ref: input.yaml# 16 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 17 additional Hall-effect and inductive sensing capabilities. 24 - azoteq,iqs269a 25 - azoteq,iqs269a-00 [all …]
|
| H A D | iqs626a.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 IQS626A Capacitive Touch Controller 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": [all …]
|
| /linux/drivers/hid/intel-thc-hid/intel-quicki2c/ |
| H A D | quicki2c-dev.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 #include <linux/hid-over-i2c.h> 43 /* Max interrupt delay capability is 2.56ms */ 46 /* Default interrupt delay is 1ms, suitable for most devices */ 52 * Default value is 5000ms, that means if no touch event in this time, THC will 72 * struct quicki2c_subip_acpi_parameter - QuickI2C ACPI DSD parameters 88 * struct quicki2c_subip_acpi_config - QuickI2C ACPI DSD parameters 91 * @SMTD: Standard Mode (100 kbit/s) Serial Data Line Transmit Hold Period 92 * @SMRD: Standard Mode (100 kbit/s) Serial Data Receive Hold Period 95 * @FMTD: Fast Mode (400 kbit/s) Serial Data Line Transmit Hold Period [all …]
|
| /linux/drivers/input/misc/ |
| H A D | iqs269a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Azoteq IQS269A Capacitive Touch Controller 8 * inductive keys as well as Hall-effect switches, and one for each of the two 225 .name = "event-prox", 231 .name = "event-prox-alt", 238 .name = "event-touch", 244 .name = "event-touch-alt", 251 .name = "event-deep", 257 .name = "event-deep-alt", 339 * Slider 1 is unavailable if the touch-and-hold option is enabled via in iqs269_slider_type() [all …]
|
| /linux/drivers/input/touchscreen/ |
| H A D | iqs7211.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 52 * The following delay is used during instances that must wait for the open- 124 .name = "event-prox", 131 .name = "event-touch", 138 .name = "event-tap", 145 .name = "event-hold", 152 .name = "event-swipe-x-neg", 159 .name = "event-swipe-x-pos", 166 .name = "event-swipe-y-pos", 173 .name = "event-swipe-y-neg", [all …]
|
| /linux/drivers/input/mouse/ |
| H A D | byd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 38 * Absolute coordinate packets are in the range 0-255 for both X and Y 53 /* Time in jiffies used to timeout various touch events (64 ms) */ 59 * Swipe gesture from off-pad to on-pad 67 * 1 - 8 : least to most delay 107 * 1 : tap and hold to drag 108 * 2 : tap and hold to drag + lock 113 * Touch sensitivity 114 * 1 - 7 : least to most sensitive 135 * 1 - 5 : slowest to fastest [all …]
|
| H A D | cyapa_gen3.c | 9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc. 10 * Copyright (C) 2011-2012 Google, Inc. 60 * Used in register 0x00, bit1-0, DeviceStatus field. 88 * bit 7 - 4: high 4 bits of x position value 89 * bit 3 - 0: high 4 bits of y position value 95 /* id range is 1 - 15. It is incremented with every new touch. */ 101 * bit 0 - 1: device status 102 * bit 3 - 2: power mode 103 * bit 6 - 4: reserved 108 * bit 7 - 4: number of fingers currently touching pad [all …]
|
| /linux/drivers/iio/adc/ |
| H A D | at91_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 40 #define AT91_ADC_TSAMOD_TS_ONLY_MODE (1 << 0) /* Touch Screen Only Mode */ 57 #define AT91_ADC_SHTIM (0xf << 24) /* Sample & Hold Time */ 63 #define AT91_ADC_TSR_SHTIM (0xf << 24) /* Sample & Hold Time */ 103 #define AT91_ADC_ACR_PENDETSENS (0x3 << 0) /* pull-up resistor */ 106 #define AT91_ADC_TSMR_TSMODE (3 << 0) /* Touch Screen Mode */ 137 (st->registers->channel_base + (ch * 4)) 139 (readl_relaxed(st->reg_base + reg)) 141 (writel_relaxed(val, st->reg_base + reg)) 146 #define TOUCH_SAMPLE_PERIOD_US 2000 /* 2ms */ [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | ssm2518.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 141 static const DECLARE_TLV_DB_MINMAX_MUTE(ssm2518_vol_tlv, -7125, 2400); 142 static const DECLARE_TLV_DB_SCALE(ssm2518_compressor_tlv, -3400, 200, 0); 143 static const DECLARE_TLV_DB_SCALE(ssm2518_expander_tlv, -8100, 300, 0); 144 static const DECLARE_TLV_DB_SCALE(ssm2518_noise_gate_tlv, -9600, 300, 0); 145 static const DECLARE_TLV_DB_SCALE(ssm2518_post_drc_tlv, -2400, 300, 0); 148 0, 7, TLV_DB_SCALE_ITEM(-2200, 200, 0), 149 7, 15, TLV_DB_SCALE_ITEM(-800, 100, 0), 153 "0 ms", "0.1 ms", "0.19 ms", "0.37 ms", "0.75 ms", "1.5 ms", "3 ms", [all …]
|
| H A D | da7218.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7218.c - DA7218 ALSA SoC Codec Driver 22 #include <sound/soc-dapm.h> 37 static const DECLARE_TLV_DB_SCALE(da7218_mic_gain_tlv, -600, 600, 0); 38 static const DECLARE_TLV_DB_SCALE(da7218_mixin_gain_tlv, -450, 150, 0); 39 static const DECLARE_TLV_DB_SCALE(da7218_in_dig_gain_tlv, -8325, 75, 0); 40 static const DECLARE_TLV_DB_SCALE(da7218_ags_trigger_tlv, -9000, 600, 0); 42 static const DECLARE_TLV_DB_SCALE(da7218_alc_threshold_tlv, -9450, 150, 0); 47 static const DECLARE_TLV_DB_SCALE(da7218_dmix_gain_tlv, -4200, 150, 0); 50 static const DECLARE_TLV_DB_SCALE(da7218_dgs_trigger_tlv, -9450, 150, 0); [all …]
|
| /linux/include/linux/ |
| H A D | devfreq.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * for Non-CPU Devices. 45 * struct devfreq_dev_status - Data given from devfreq user device to 56 * this is governor-specific, a governor using this 76 * struct devfreq_dev_profile - Devfreq's user device profile 79 * @polling_ms: The polling interval in ms. 0 disables polling. 82 * freq or lowest-upper-than-freq value. If freq is 98 * has registered devfreq->nb at a notifier-head, 104 * @is_cooling_device: A self-explanatory boolean giving the device a 106 * @dev_groups: Optional device-specific sysfs attribute groups that to [all …]
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-apq8060-dragonboard.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 #include <dt-bindings/input/input.h> 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/leds/common.h> 5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 7 #include "qcom-msm8660.dtsi" 12 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660"; 19 stdout-path = "serial0:115200n8"; 23 vph: regulator-fixed { [all …]
|
| /linux/drivers/block/drbd/ |
| H A D | drbd_bitmap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 Copyright (C) 2004-2008, LINBIT Information Technologies GmbH. 8 Copyright (C) 2004-2008, Philipp Reisner <philipp.reisner@linbit.com>. 9 Copyright (C) 2004-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. 39 * 1 << (50 - 12) bits needed 40 * 38 --> we need u64 to index and count bits 41 * 1 << (38 - 3) bitmap bytes needed 42 * 35 --> we still need u64 to index and count bytes 44 * 1 << (35 - 2) 32bit longs needed 45 * 33 --> we'd even need u64 to index and count 32bit long words. [all …]
|
| /linux/fs/dlm/ |
| H A D | lock.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 ** Copyright (C) 2005-2010 Red Hat, Inc. All rights reserved. 52 L: send_xxxx() -> R: receive_xxxx() 54 L: receive_xxxx_reply() <- R: send_xxxx_reply() 89 const struct dlm_message *ms, bool local); 90 static int receive_extralen(const struct dlm_message *ms); 95 * Lock compatibilty matrix - thanks Steve 120 * -1 = nothing happens to the LVB 125 { -1, 1, 1, 1, 1, 1, 1, -1 }, /* UN */ 126 { -1, 1, 1, 1, 1, 1, 1, 0 }, /* NL */ [all …]
|
| /linux/drivers/infiniband/ulp/rtrs/ |
| H A D | rtrs-clt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2014 - 2018 ProfitBricks GmbH. All rights reserved. 6 * Copyright (c) 2018 - 2019 1&1 IONOS Cloud GmbH. All rights reserved. 7 * Copyright (c) 2019 - 2020 1&1 IONOS SE. All rights reserved. 17 #include "rtrs-clt.h" 18 #include "rtrs-log.h" 19 #include "rtrs-clt-trace.h" 49 .name = "rtrs-client", 58 list_for_each_entry_rcu(clt_path, &clt->paths_list, s.entry) in rtrs_clt_is_connected() 59 if (READ_ONCE(clt_path->state) == RTRS_CLT_CONNECTED) { in rtrs_clt_is_connected() [all …]
|
| /linux/drivers/net/thunderbolt/ |
| H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0 28 /* Protocol timeouts in ms */ 42 (TBNET_FRAME_SIZE - sizeof(struct thunderbolt_ip_frame_header)) 43 /* Rx packets need to hold space for skb_shared_info */ 52 * struct thunderbolt_ip_frame_header - Header for each Thunderbolt frame 58 * Each data frame passed to the high-speed DMA ring has this header. If 149 * struct tbnet - ThunderboltIP network driver private data 204 /* Network property directory UUID: c66189ca-1cce-4195-bdb8-49592e5f5a4f */ 209 /* ThunderboltIP protocol UUID: 798f589e-3616-8a47-97c6-5664a920c8dd */ 218 MODULE_PARM_DESC(e2e, "USB4NET full end-to-end flow control (default: true)"); [all …]
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_router.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 2 /* Copyright (c) 2019-2021 Marvell International Ltd. All rights reserved */ 20 #define PRESTERA_NH_PROBE_INTERVAL 5000 /* ms */ 31 /* Hold prepared nh_neigh info if is in_kernel */ 52 } lpm_info; /* hold prepared lpm info */ 100 key->addr.v = PRESTERA_IPV4; in prestera_util_fen_info2fib_cache_key() 101 key->addr.u.ipv4 = cpu_to_be32(fen_info->dst); in prestera_util_fen_info2fib_cache_key() 102 key->prefix_len = fen_info->dst_len; in prestera_util_fen_info2fib_cache_key() 103 key->kern_tb_id = fen_info->tb_id; in prestera_util_fen_info2fib_cache_key() 111 if (nhc->nhc_gw_family == AF_INET) { in prestera_util_nhc2nc_key() [all …]
|
| /linux/drivers/net/bonding/ |
| H A D | bond_main.c | 1 // SPDX-License-Identifier: GPL-1.0+ 98 /*---------------------------- Module parameters ----------------------------*/ 147 MODULE_PARM_DESC(mode, "Mode of operation; 0 for balance-rr, " 148 "1 for active-backup, 2 for balance-xor, " 149 "3 for broadcast, 4 for 802.3ad, 5 for balance-tlb, " 150 "6 for balance-alb"); 172 MODULE_PARM_DESC(xmit_hash_policy, "balance-alb, balance-tlb, balance-xor, 802.3ad hashing method; " 187 MODULE_PARM_DESC(fail_over_mac, "For active-backup, do not set all slaves to " 198 MODULE_PARM_DESC(packets_per_slave, "Packets to send per slave in balance-rr " 206 /*----------------------------- Global variables ----------------------------*/ [all …]
|
| /linux/drivers/cxl/ |
| H A D | pci.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 #include <linux/io-64-nonatomic-lo-hi.h> 31 * - Create the memX device and register on the CXL bus. 32 * - Enumerate device's register interface and map them. 33 * - Registers nvdimm bridge device with cxl_core. 34 * - Registers a CXL mailbox with cxl_core. 38 (readl((cxlds)->regs.mbox + CXLDEV_MBOX_CTRL_OFFSET) & \ 41 /* CXL 2.0 - 8.2.8.4 */ 69 return -ETIMEDOUT; in cxl_pci_mbox_wait_for_doorbell() 74 dev_dbg(cxlds->dev, "Doorbell wait took %dms", in cxl_pci_mbox_wait_for_doorbell() [all …]
|
| /linux/drivers/pci/ |
| H A D | pci.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 1993 -- 1997 Drew Eckhardt, Frederic Potter, 6 * David Mosberger-Tang 8 * Copyright 1997 -- 2000 Martin Mares <mj@ucw.cz> 82 unsigned int delay_ms = max(dev->d3hot_delay, pci_pm_d3hot_delay); in pci_dev_d3_sleep() 86 /* Use a 20% upper bound, 1ms minimum */ in pci_dev_d3_sleep() 95 return dev->reset_methods[0] != 0; in pci_reset_supported() 114 * pci=hpmmiosize=nnM overrides non-prefetchable MMIO size, 125 /* PCIe MPS/MRRS strategy; can be overridden by kernel command-line param */ 142 * measured in 32-bit words, not bytes. [all …]
|
| /linux/net/ipv4/ |
| H A D | devinet.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 73 [IPV4_DEVCONF_ACCEPT_REDIRECTS - 1] = 1, 74 [IPV4_DEVCONF_SEND_REDIRECTS - 1] = 1, 75 [IPV4_DEVCONF_SECURE_REDIRECTS - 1] = 1, 76 [IPV4_DEVCONF_SHARED_MEDIA - 1] = 1, 77 [IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL - 1] = 10000 /*ms*/, 78 [IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL - 1] = 1000 /*ms*/, 79 [IPV4_DEVCONF_ARP_EVICT_NOCARRIER - 1] = 1, 85 [IPV4_DEVCONF_ACCEPT_REDIRECTS - 1] = 1, 86 [IPV4_DEVCONF_SEND_REDIRECTS - 1] = 1, [all …]
|
| /linux/fs/smb/client/ |
| H A D | smb2pdu.c | 1 // SPDX-License-Identifier: LGPL-2.1 13 /* SMB2 PDU handling routines here - except for leftovers (eg session setup) */ 80 if (!tcon || !tcon->ses) in smb3_encryption_required() 82 if ((tcon->ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) || in smb3_encryption_required() 83 (tcon->share_flags & SHI1005_FLAGS_ENCRYPT_DATA)) in smb3_encryption_required() 85 if (tcon->seal && in smb3_encryption_required() 86 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required() 89 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required() 101 shdr->ProtocolId = SMB2_PROTO_NUMBER; in smb2_hdr_assemble() 102 shdr->StructureSize = cpu_to_le16(64); in smb2_hdr_assemble() [all …]
|
| /linux/arch/s390/kvm/ |
| H A D | kvm-s390.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #define KMSG_COMPONENT "kvm-s390" 38 #include <asm/access-regs.h> 39 #include <asm/asm-offsets.h> 54 #include "kvm-s390.h" 60 #include "trace-s390.h" 227 * the feature is opt-in anyway 242 * defines in FACILITIES_KVM and the non-hypervisor managed bits. 283 * -delta to the epoch. in kvm_clock_sync_scb() 285 delta = -delta; in kvm_clock_sync_scb() [all …]
|
| /linux/Documentation/networking/ |
| H A D | timestamping.rst | 1 .. SPDX-License-Identifier: GPL-2.0 43 ------------------------------------------------------------- 59 ------------------------------------------------------------------- 63 timeval of SO_TIMESTAMP (ms). 72 ---------------------------------------------------------------------- 138 over-report measurement, because the timestamp is generated when all 189 is derived from a per-socket u32 counter (that wraps). For datagram 212 cmsg->cmsg_level = SOL_SOCKET; 213 cmsg->cmsg_type = SCM_TS_OPT_ID; 214 cmsg->cmsg_len = CMSG_LEN(sizeof(__u32)); [all …]
|