/linux/Documentation/devicetree/bindings/input/ |
H A D | gpio-mouse.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/gpio-mouse.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 to 5-7 GPIO lines. 14 - Anshul Dalal <anshulusr@gmail.com> 18 const: gpio-mouse 20 scan-interval-ms: 23 up-gpios: 26 down-gpios: [all …]
|
H A D | gpio-matrix-keypad.txt | 6 keypad can sense a key-press and key-release by means of GPIO lines and 10 - compatible: Should be "gpio-matrix-keypad" 11 - row-gpios: List of gpios used as row lines. The gpio specifier 14 - col-gpios: List of gpios used as column lines. The gpio specifier 17 - linux,keymap: The definition can be found at 18 bindings/input/matrix-keymap.txt 21 - linux,no-autorepeat: do no enable autorepeat feature. 22 - wakeup-source: use any event on keypad as wakeup event. 24 - debounce-delay-ms: debounce interval in milliseconds 25 - col-scan-delay-us: delay, measured in microseconds, that is needed [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | pno.c | 1 // SPDX-License-Identifier: ISC 38 #define ifp_to_pno(_ifp) ((_ifp)->drvr->config->pno) 43 if (WARN(pi->n_reqs == BRCMF_PNO_MAX_BUCKETS, in brcmf_pno_store_request() 45 return -ENOSPC; in brcmf_pno_store_request() 47 brcmf_dbg(SCAN, "reqid=%llu\n", req->reqid); in brcmf_pno_store_request() 48 mutex_lock(&pi->req_lock); in brcmf_pno_store_request() 49 pi->reqs[pi->n_reqs++] = req; in brcmf_pno_store_request() 50 mutex_unlock(&pi->req_lock); in brcmf_pno_store_request() 58 mutex_lock(&pi->req_lock); in brcmf_pno_remove_request() 61 if (pi->n_reqs == 0) in brcmf_pno_remove_request() [all …]
|
H A D | fwil_types.h | 1 // SPDX-License-Identifier: ISC 60 /* scan type definitions */ 79 #define BRCMF_OBSS_COEX_AUTO (-1) 88 /* Wakeup on loss-of-link due to Disassoc/Deauth: */ 98 /* Wakeup after receipt of EAP-Identity Req: */ 116 /* If the bit is set, scan offload is enabled: */ 255 * struct tdls_iovar - common structure for tdls iovars. 375 __le32 nprobes; /* -1 use default, number of probes per channel */ 376 __le32 active_time; /* -1 use default, dwell time per channel for 379 __le32 passive_time; /* -1 use default, dwell time per channel [all …]
|
/linux/drivers/input/mouse/ |
H A D | gpio_mouse.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 * @scan_ms: the scan interval in milliseconds. 43 * Timer function which is run every scan_ms ms when the device is opened. 51 if (gpio->bleft) in gpio_mouse_scan() 53 gpiod_get_value(gpio->bleft)); in gpio_mouse_scan() 54 if (gpio->bmiddle) in gpio_mouse_scan() 56 gpiod_get_value(gpio->bmiddle)); in gpio_mouse_scan() 57 if (gpio->bright) in gpio_mouse_scan() 59 gpiod_get_value(gpio->bright)); in gpio_mouse_scan() 61 x = gpiod_get_value(gpio->right) - gpiod_get_value(gpio->left); in gpio_mouse_scan() [all …]
|
/linux/drivers/net/wireless/ti/wlcore/ |
H A D | conf.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 117 * Range: 0 - 0xFFFFFFFF 130 * after a PS-poll has been transmitted. 132 * Range: 0 - 200000 139 * Range: 0 - 200000 147 * Range: 0 - 4096 161 * Occupied Rx mem-blocks number which requires interrupting the host 177 * Max time in msec the FW may delay RX-Complete interrupt. 179 * Range: 1 - 100 273 * Range: bit 0: Truncate - when set, FW attempts to send a frame stop [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved. 15 /* For active scan, listen ACTIVE_DWELL_TIME (msec) on each channel after 24 /* For passive scan, listen PASSIVE_DWELL_TIME (msec) on each channel. 26 * For the most reliable scan, set > AP beacon interval (typically 100msec). */ 46 * to receive scan abort command or it does not perform in iwl_send_scan_abort() 47 * hardware scan currently */ in iwl_send_scan_abort() 48 if (!test_bit(STATUS_READY, &priv->status) || in iwl_send_scan_abort() 49 !test_bit(STATUS_SCAN_HW, &priv->status) || in iwl_send_scan_abort() 50 test_bit(STATUS_FW_ERROR, &priv->status)) in iwl_send_scan_abort() [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | st,stmpe.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Linus Walleij <linus.walleij@linaro.org> 18 - $ref: /schemas/spi/spi-peripheral-props.yaml# 23 - st,stmpe601 24 - st,stmpe801 25 - st,stmpe811 26 - st,stmpe1600 27 - st,stmpe1601 [all …]
|
/linux/Documentation/ABI/stable/ |
H A D | sysfs-bus-w1 | 4 Description: Bus scanning interval, microseconds component. 5 Some of 1-Wire devices commonly associated with physical access 7 100 ms - hence the tens-to-hundreds milliseconds scan intervals 10 see Documentation/w1/w1-generic.rst for detailed information. 12 interval
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | scan.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2024 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 10 /* Scan Commands, Responses, Notifications */ 13 * enum iwl_scan_subcmd_ids - scan commands 33 * struct iwl_ssid_ie - directed scan network information element 50 /* scan offload */ 59 /* Default watchdog (in MS) for scheduled scan iteration */ 78 * struct iwl_scan_offload_blocklist - SCAN_OFFLOAD_BLACKLIST_S [all …]
|
/linux/drivers/staging/rtl8723bs/include/ |
H A D | rtw_mlme.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 59 /* Scan type including active and passive scan. */ 77 like ISR/Call-Back functions, the OID handlers, and even timer functions. 131 u8 roam_rssi_diff_th; /* rssi difference threshold for active scan candidate selection */ 132 u32 roam_scan_int_ms; /* scan interval for active roam */ 133 u32 roam_scanr_exp_ms; /* scan result expire time in ms for roam */ 167 /* Number of non-HT AP/stations */ 188 /* Number of associated Non-ERP stations (i.e., stations using 802.11b 203 /* Number of associated non-HT stations */ [all …]
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 19 #include <linux/dma-mapping.h> 29 const int interval = 10; /* microseconds */ in _il_poll_bit() local 35 udelay(interval); in _il_poll_bit() 36 t += interval; in _il_poll_bit() 39 return -ETIMEDOUT; in _il_poll_bit() 48 spin_lock_irqsave(&p->reg_lock, reg_flags); in il_set_bit() 50 spin_unlock_irqrestore(&p->reg_lock, reg_flags); in il_set_bit() [all …]
|
/linux/Documentation/input/devices/ |
H A D | atarikbd.rst | 12 provides a convenient connection point for a mouse and switch-type joysticks. 13 The ikbd processor also maintains a time-of-day clock with one second 18 The ikbd communicates with the main processor over a high speed bi-directional 27 The keyboard always returns key make/break scan codes. The ikbd generates 28 keyboard scan codes for each key press and release. The key scan make (key 30 ISO key position in the scan code table should exist even if no keyswitch 41 0xF8-0xFB relative mouse position records (lsbs determined by 43 0xFC time-of-day 49 The two shift keys return different scan codes in this mode. The ENTER key 67 --------------------------- [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | wmi.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved. 29 * 1. Add new WMI commands ONLY within the specified range - 0x9000 - 0x9fff 45 * variable is already 4-byte aligned by virtue of being a u32 527 * for wmi_services is 64 as target is using only 4-bits of each 32-bit 533 __le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 28]) & \ 534 BIT(((((svc_id) - (len)) % 28) & 0x1f) + 4)) [all …]
|
/linux/Documentation/admin-guide/mm/ |
H A D | multigen_lru.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Multi-Gen LRU 6 The multi-gen LRU is an alternative LRU implementation that optimizes 26 ----------- 38 0x0001 The main switch for the multi-gen LRU. 42 disabled, the multi-gen LRU will suffer a minor performance 46 0x0004 Clearing the accessed bit in non-leaf page table entries as 49 disabled, the multi-gen LRU will suffer a negligible 65 -------------------- 68 experience. The multi-gen LRU offers thrashing prevention to the [all …]
|
/linux/drivers/comedi/drivers/ |
H A D | usbduxsigma.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (C) 2011-2015 Bernd Porr, mail@berndporr.me.uk 10 * Devices: [ITL] USB-DUX-SIGMA (usbduxsigma) 18 * wrote the driver for AT-MIO-16d. I used some parts of this 33 * 0.7: rewrite code that urb->interval is always 1 45 /* timeout for the USB-transfer in ms*/ 71 * Size of the async input-buffer IN BYTES, the DIO state is transmitted 86 * Size of the output-buffer in bytes 98 /* Number of in-URBs which receive the data: min=2 */ 101 /* Number of out-URBs which send the data: min=2 */ [all …]
|
H A D | usbdux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (C) 2003-2014 Bernd Porr, mail@berndporr.me.uk 10 * Devices: [ITL] USB-DUX (usbdux) 26 * wrote the driver for AT-MIO-16d. I used some parts of this 46 * | kernel | registration | usbdux-usb | usbdux-comedi | comedi | 66 * Thanks to Jan-Matthias Braun and Ian to spot the bug and fix it. 97 /* timeout for the USB-transfer in ms */ 110 * Size of the input-buffer IN BYTES 122 * Size of the output-buffer in bytes 134 /* Number of in-URBs which receive the data: min=2 */ [all …]
|
/linux/drivers/iio/magnetometer/ |
H A D | yamaha-yas530.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * YAS530 MS-3E (2011 Samsung Galaxy S Advance) 8 * YAS532 MS-3R (2011 Samsung Galaxy S4) 9 * YAS533 MS-3F (Vivo 1633, 1707, V3, Y21L) 11 * YAS535 MS-6C 12 * YAS536 MS-3W 13 * YAS537 MS-3T (2015 Samsung Galaxy S6, Note 5, Galaxy S7) 14 * YAS539 MS-3S (2018 Samsung Galaxy A7 SM-A750FN) 57 #define YAS530_OFFSET_X 0x85 /* [-31 .. 31] */ 58 #define YAS530_OFFSET_Y1 0x86 /* [-31 .. 31] */ [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | channel.c | 25 struct ath_hw *ah = sc->sc_ah; in ath_set_channel() 27 struct ieee80211_hw *hw = sc->hw; in ath_set_channel() 29 struct cfg80211_chan_def *chandef = &sc->cur_chan->chandef; in ath_set_channel() 30 struct ieee80211_channel *chan = chandef->chan; in ath_set_channel() 31 int pos = chan->hw_value; in ath_set_channel() 33 int old_pos = -1; in ath_set_channel() 36 if (test_bit(ATH_OP_INVALID, &common->op_flags)) in ath_set_channel() 37 return -EIO; in ath_set_channel() 39 if (ah->curchan) in ath_set_channel() 40 old_pos = ah->curchan - &ah->channels[0]; in ath_set_channel() [all …]
|
H A D | hw.h | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 70 #define ATH_AMPDU_LIMIT_MAX (64 * 1024 - 1) 72 #define ATH_DEFAULT_NOISE_FLOOR -95 74 #define ATH9K_RSSI_BAD -128 80 (_ah)->reg_ops.write((_ah), (_val), (_reg)) 83 (_ah)->reg_ops.read((_ah), (_reg)) 86 (_ah)->reg_ops.multi_read((_ah), (_addr), (_val), (_cnt)) 89 (_ah)->reg_ops.rmw((_ah), (_reg), (_set), (_clr)) 93 if ((_ah)->reg_ops.enable_write_buffer) \ 94 (_ah)->reg_ops.enable_write_buffer((_ah)); \ [all …]
|
/linux/include/uapi/linux/ |
H A D | nl80211.h | 6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 13 * Copyright 2015-2017 Intel Deutschland GmbH 14 * Copyright (C) 2018-2024 Intel Corporation 32 * be careful not to break things - i.e. don't move anything around or so 48 #define NL80211_MULTICAST_GROUP_SCAN "scan" 74 * - a setup station entry is added, not yet authorized, without any rate 76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid 79 * - %NL80211_TDLS_ENABLE_LINK is then used 80 * - after this, the only valid operation is to remove it by tearing down 95 * Frame registration is done on a per-interface basis and registrations [all …]
|
/linux/drivers/net/wireless/ath/wcn36xx/ |
H A D | hal.h | 20 /*--------------------------------------------------------------------------- 32 All values are in the range 0..255 (ie they are 8-bit values) 33 ---------------------------------------------------------------------------*/ 91 /* How many frames until we start a-mpdu TX session */ 99 /* Init/De-Init */ 105 /* Scan */ 357 /* Scan Offload(hw) APIs */ 438 /* 20/40MHZ offset-HIGH 40/80MHZ offset HIGH */ 493 /* Added for BT-AMP support */ 496 /* Added for BT-AMP support */ [all …]
|
/linux/drivers/gpu/drm/panel/ |
H A D | panel-ilitek-ili9341.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * - 16-bit parallel RGB interface 7 * - 18-bit parallel RGB interface 8 * - 4-line serial spi interface 13 * Derived from drivers/drm/gpu/panel/panel-ilitek-ili9322.c 17 * For only-dbi part, copy from David's code (drm/tiny/ili9341.c) 117 /* struct ili9341_config - the system specific ILI9341 configuration */ 190 * The Stm32f429-disco board has a panel ili9341 connected to ltdc controller 219 * 0x0a Interval scan, AGND AGND AGND AGND 220 * 0xa2 Normally white, G1 -> G320, S720 -> S1, [all …]
|
/linux/drivers/input/keyboard/ |
H A D | matrix_keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 /* key debounce interval in milli-second */ 52 * HiZ when de-activated to cause minmal side effect when scanning other 59 gpiod_direction_output(keypad->col_gpios[col], 1); in __activate_col() 61 gpiod_set_value_cansleep(keypad->col_gpios[col], 0); in __activate_col() 62 if (!keypad->drive_inactive_cols) in __activate_col() 63 gpiod_direction_input(keypad->col_gpios[col]); in __activate_col() 71 if (on && keypad->col_scan_delay_us) in activate_col() 72 udelay(keypad->col_scan_delay_us); in activate_col() 79 for (col = 0; col < keypad->num_col_gpios; col++) in activate_all_cols() [all …]
|
/linux/include/net/ |
H A D | cfg80211.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 8 * Copyright 2013-2014 Intel Mobile Communications GmbH 9 * Copyright 2015-2017 Intel Deutschland GmbH 10 * Copyright (C) 2018-2024 Intel Corporation 72 * enum ieee80211_channel_flags - channel flags 167 * struct ieee80211_channel - channel definition 174 * @hw_value: hardware-specific value for the channel 212 * enum ieee80211_rate_flags - rate flags 245 * enum ieee80211_bss_type - BSS type filter [all …]
|