Home
last modified time | relevance | path

Searched +full:scan +full:- +full:interval (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/dvm/
Dscan.c1 // 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-6.12.1/Documentation/devicetree/bindings/input/
Dti,nspire-keypad.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/ti,nspire-keypad.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI-NSPIRE Keypad
10 - Andrew Davis <afd@ti.com>
13 - $ref: input.yaml#
14 - $ref: matrix-keymap.yaml#
19 - ti,nspire-keypad
30 scan-interval:
[all …]
Dgpio-mouse.yaml1 # 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 …]
Dgpio-matrix-keypad.txt6 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-6.12.1/tools/testing/selftests/drivers/platform/x86/intel/ifs/
Dtest_ifs.sh2 # SPDX-License-Identifier: GPL-2.0
4 # Test the functionality of the Intel IFS(In Field Scan) driver.
34 # Matches arch/x86/include/asm/intel-family.h and
61 echo -e "$1" | tee -a "$IFS_LOG"
73 if [[ -n "$target_cpus" ]]; then
75 if [[ "$cpu" == *"-"* ]]; then
79 cpu_start=$(echo "$cpu" | cut -d "-" -f 1)
80 cpu_end=$(echo "$cpu" | cut -d "-" -f 2)
97 if [[ -e "$IFS_LOG" ]]; then
99 fail_num=$(grep -c ^"\[${FAIL}\]" "$IFS_LOG")
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/fw/api/
Dscan.h1 /* 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-6.12.1/drivers/net/wireless/ti/wl18xx/
Dscan.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include "scan.h"
15 memcpy(cmd->passive, cmd_channels->passive, sizeof(cmd->passive)); in wl18xx_adjust_channels()
16 memcpy(cmd->active, cmd_channels->active, sizeof(cmd->active)); in wl18xx_adjust_channels()
17 cmd->dfs = cmd_channels->dfs; in wl18xx_adjust_channels()
18 cmd->passive_active = cmd_channels->passive_active; in wl18xx_adjust_channels()
20 memcpy(cmd->channels_2, cmd_channels->channels_2, in wl18xx_adjust_channels()
21 sizeof(cmd->channels_2)); in wl18xx_adjust_channels()
22 memcpy(cmd->channels_5, cmd_channels->channels_5, in wl18xx_adjust_channels()
23 sizeof(cmd->channels_5)); in wl18xx_adjust_channels()
[all …]
/linux-6.12.1/drivers/net/wireless/ti/wlcore/
Dconf.h1 /* 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-6.12.1/drivers/watchdog/
Dwdrtas.c1 // SPDX-License-Identifier: GPL-2.0-or-later
62 * wdrtas_set_interval - sets the watchdog interval
63 * @interval: new interval
67 * wdrtas_set_interval sets the watchdog keepalive interval by calling the
68 * RTAS function set-indicator (surveillance). The unit of interval is
72 static int wdrtas_set_interval(int interval) in wdrtas_set_interval() argument
78 interval = (interval + 59) / 60; in wdrtas_set_interval()
81 WDRTAS_SURVEILLANCE_IND, 0, interval); in wdrtas_set_interval()
84 interval, result); in wdrtas_set_interval()
85 print_msg--; in wdrtas_set_interval()
[all …]
/linux-6.12.1/drivers/input/mouse/
Dgpio_mouse.c1 // SPDX-License-Identifier: GPL-2.0-only
18 * @scan_ms: the scan interval in milliseconds.
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()
62 y = gpiod_get_value(gpio->down) - gpiod_get_value(gpio->up); in gpio_mouse_scan()
[all …]
/linux-6.12.1/Documentation/ABI/stable/
Dsysfs-bus-w14 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-6.12.1/drivers/net/wireless/ti/wl12xx/
Dscan.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include "scan.h"
18 struct conf_scan_settings *c = &wl->conf.scan; in wl1271_get_scan_channels()
23 i < req->n_channels && j < WL1271_SCAN_MAX_CHANNELS; in wl1271_get_scan_channels()
25 flags = req->channels[i]->flags; in wl1271_get_scan_channels()
27 if (!test_bit(i, wl->scan.scanned_ch) && in wl1271_get_scan_channels()
29 (req->channels[i]->band == band) && in wl1271_get_scan_channels()
31 * In passive scans, we scan all remaining in wl1271_get_scan_channels()
33 * In active scans, we only scan channels not in wl1271_get_scan_channels()
38 req->channels[i]->band, in wl1271_get_scan_channels()
[all …]
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dpno.c1 // 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 …]
Dfwil_types.h1 // 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-6.12.1/include/net/
Dcfg802154.h1 /* SPDX-License-Identifier: GPL-2.0-only */
6 * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
170 if (a->mode != b->mode) in wpan_phy_cca_cmp()
173 if (a->mode == NL802154_CCA_ENERGY_CARRIER) in wpan_phy_cca_cmp()
174 return a->opt == b->opt; in wpan_phy_cca_cmp()
180 * enum wpan_phy_flags - WPAN PHY state flags
212 * This is a PIB according to 802.15.4-2011.
213 * We do not provide timing-related variables, as they
257 return read_pnet(&wpan_phy->_net); in wpan_phy_net()
262 write_pnet(&wpan_phy->_net, net); in wpan_phy_net_set()
[all …]
/linux-6.12.1/net/mac802154/
Dscan.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * - David Girault <david.girault@qorvo.com>
8 * - Miquel Raynal <miquel.raynal@bootlin.com>
16 #include "driver-ops.h"
28 /* mac802154_scan_cleanup_locked() must be called upon scan completion or abort.
29 * - Completions are asynchronous, not locked by the rtnl and decided by the
30 * scan worker.
31 * - Aborts are decided by userspace, and locked by the rtnl.
37 * However, the scan worker get's triggered without anybody noticing and thus we
39 * - The sub-interface and device driver module get both their reference
[all …]
/linux-6.12.1/drivers/net/wireless/ath/wcn36xx/
Dhal.h20 /*---------------------------------------------------------------------------
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-6.12.1/drivers/net/wireless/intel/iwlegacy/
Dcommon.c1 // 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-6.12.1/drivers/input/keyboard/
Dnspire-keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
53 struct input_dev *input = keypad->input; in nspire_keypad_irq()
54 unsigned short *keymap = input->keycode; in nspire_keypad_irq()
61 int_sts = readl(keypad->reg_base + KEYPAD_INT) & keypad->int_mask; in nspire_keypad_irq()
65 memcpy_fromio(state, keypad->reg_base + KEYPAD_DATA, sizeof(state)); in nspire_keypad_irq()
69 if (keypad->active_low) in nspire_keypad_irq()
72 changed = bits ^ keypad->state[row]; in nspire_keypad_irq()
76 keypad->state[row] = bits; in nspire_keypad_irq()
82 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in nspire_keypad_irq()
91 writel(0x3, keypad->reg_base + KEYPAD_INT); in nspire_keypad_irq()
[all …]
Dpxa27x_keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
29 #include <linux/platform_data/keypad-pxa27x.h>
37 #define KPAS 0x0020 /* Keypad Automatic Scan register */
39 /* Keypad Automatic Scan Multiple Key Presser register 0-3 */
47 #define KPC_MKRN(n) ((((n) - 1) & 0x7) << 26) /* matrix key row number */
48 #define KPC_MKCN(n) ((((n) - 1) & 0x7) << 23) /* matrix key column number */
49 #define KPC_DKN(n) ((((n) - 1) & 0x7) << 6) /* direct key number */
51 #define KPC_AS (0x1 << 30) /* Automatic Scan bit */
52 #define KPC_ASACT (0x1 << 29) /* Automatic Scan on Activity */
56 #define KPC_MS(n) (0x1 << (13 + (n))) /* Matrix scan line 'n' */
[all …]
/linux-6.12.1/include/media/
Dv4l2-jpeg.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * For reference, see JPEG ITU-T.81 (ISO/IEC 10918-1)
13 #include <linux/v4l2-controls.h>
35 /* Length of reference huffman tables as provided in Table K.3 of ITU-T.81 */
43 * struct v4l2_jpeg_reference - reference into the JPEG buffer
58 * struct v4l2_jpeg_frame_component_spec - frame component-specification
72 * struct v4l2_jpeg_frame_header - JPEG frame header
77 * @component: component-specification, see v4l2_jpeg_frame_component_spec
78 * @subsampling: decoded subsampling from component-specification
89 /* B.2.3 Scan header syntax */
[all …]
/linux-6.12.1/include/uapi/linux/
Dnl80211.h6 * 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-6.12.1/Documentation/devicetree/bindings/mfd/
Dst,stmpe.yaml1 # 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-6.12.1/net/bluetooth/
Dhci_sync.c1 // SPDX-License-Identifier: GPL-2.0
3 * BlueZ - Bluetooth protocol stack for Linux
28 if (hdev->req_status != HCI_REQ_PEND) in hci_cmd_sync_complete()
31 hdev->req_result = result; in hci_cmd_sync_complete()
32 hdev->req_status = HCI_REQ_DONE; in hci_cmd_sync_complete()
35 kfree_skb(hdev->req_skb); in hci_cmd_sync_complete()
36 hdev->req_skb = NULL; in hci_cmd_sync_complete()
45 hdev->req_rsp = skb_get(skb); in hci_cmd_sync_complete()
48 wake_up_interruptible(&hdev->req_wait_q); in hci_cmd_sync_complete()
63 hdr->opcode = cpu_to_le16(opcode); in hci_cmd_sync_alloc()
[all …]
/linux-6.12.1/drivers/net/wireless/ath/ath9k/
Dar9002_phy.h2 * Copyright (c) 2008-2011 Atheros Communications Inc.
29 /* For 25 MHz channel spacing -- not used but supported by hw */
168 #define AR_PHY_SPECTRAL_SCAN 0x9910 /* AR9280 spectral scan configuration register */
170 #define AR_PHY_SPECTRAL_SCAN_ENA 0x00000001 /* Enable spectral scan, reg 68, bit 0 */
171 #define AR_PHY_SPECTRAL_SCAN_ENA_S 0 /* Enable spectral scan, reg 68, bit 0 */
172 #define AR_PHY_SPECTRAL_SCAN_ACTIVE 0x00000002 /* Activate spectral scan reg 68, bit 1*/
173 #define AR_PHY_SPECTRAL_SCAN_ACTIVE_S 1 /* Activate spectral scan reg 68, bit 1*/
174 #define AR_PHY_SPECTRAL_SCAN_FFT_PERIOD 0x000000F0 /* Interval for FFT reports, reg 68, bits 4-7*/
176 #define AR_PHY_SPECTRAL_SCAN_PERIOD 0x0000FF00 /* Interval for FFT reports, reg 68, bits 8-15*/
178 #define AR_PHY_SPECTRAL_SCAN_COUNT 0x00FF0000 /* Number of reports, reg 68, bits 16-23*/
[all …]

12345678910>>...12