/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/Documentation/devicetree/bindings/input/ |
H A D | ti,nspire-keypad.yaml | 1 # 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 …]
|
H A D | nvidia,tegra20-kbc.txt | 7 - compatible: "nvidia,tegra20-kbc" 8 - reg: Register base address of KBC. 9 - interrupts: Interrupt number for the KBC. 10 - nvidia,kbc-row-pins: The KBC pins which are configured as row. This is an 12 - nvidia,kbc-col-pins: The KBC pins which are configured as column. This is an 14 - linux,keymap: The keymap for keys as described in the binding document 15 devicetree/bindings/input/matrix-keymap.txt. 16 - clocks: Must contain one entry, for the module clock. 17 See ../clocks/clock-bindings.txt for details. 18 - resets: Must contain an entry for each entry in reset-names. [all …]
|
/linux/drivers/s390/scsi/ |
H A D | zfcp_ccw.c | 1 // SPDX-License-Identifier: GPL-2.0 27 adapter = dev_get_drvdata(&cdev->dev); in zfcp_ccw_adapter_by_cdev() 29 kref_get(&adapter->ref); in zfcp_ccw_adapter_by_cdev() 39 kref_put(&adapter->ref, zfcp_adapter_release); in zfcp_ccw_adapter_put() 44 * zfcp_ccw_activate - activate adapter and wait for it to finish 62 * We want to scan ports here, with some random backoff and without in zfcp_ccw_activate() 63 * rate limit. Recovery has already scheduled a port scan for us, in zfcp_ccw_activate() 64 * but with both random delay and rate limit. Nevertheless we get in zfcp_ccw_activate() 67 * Let the port scan random delay elapse first. If recovery finishes in zfcp_ccw_activate() 69 * and port scan. If not, i.e. recovery takes ages, there was no in zfcp_ccw_activate() [all …]
|
/linux/drivers/input/keyboard/ |
H A D | nspire-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/delay.h> 41 /* Maximum delay estimated assuming 33MHz APB */ 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() [all …]
|
H A D | lpc32xx-keys.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * NXP LPC32xx SoC Key Scan Interface 63 u32 scan_delay; /* Scan delay (based on 32KHz clock) */ 66 unsigned short *keymap; /* Pointer to key map for the scan matrix */ 73 struct input_dev *input = kscandat->input; in lpc32xx_mod_states() 77 key = readl(LPC32XX_KS_DATA(kscandat->kscan_base, col)); in lpc32xx_mod_states() 78 changed = key ^ kscandat->lastkeystates[col]; in lpc32xx_mod_states() 79 kscandat->lastkeystates[col] = key; in lpc32xx_mod_states() 85 kscandat->row_shift); in lpc32xx_mod_states() 86 keycode = kscandat->keymap[scancode]; in lpc32xx_mod_states() [all …]
|
/linux/drivers/platform/x86/intel/ifs/ |
H A D | ifs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 8 * DOC: In-Field Scan 11 * In-Field Scan 15 * ------------ 17 * In Field Scan (IFS) is a hardware feature to run circuit level tests on 20 * with a new platform-device instance-id. 24 * --------- 26 * Intel provides firmware files containing the scan tests via the webpage [#f1]_. 27 * Look under "In-Field Scan Test Images Download" section towards the 29 * family-model-stepping. IFS Images are not applicable for some test types. [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | mcu.c | 1 // SPDX-License-Identifier: ISC 9 #include <linux/delay.h> 16 u8 bw_index, bool scan) in mt76x2_mcu_set_channel() argument 20 u8 scan; in mt76x2_mcu_set_channel() member 30 .scan = scan, in mt76x2_mcu_set_channel() 32 .chainmask = cpu_to_le16(dev->mphy.chainmask), in mt76x2_mcu_set_channel() 36 mt76_mcu_send_msg(&dev->mt76, CMD_SWITCH_CHANNEL_OP, &msg, in mt76x2_mcu_set_channel() 42 return mt76_mcu_send_msg(&dev->mt76, CMD_SWITCH_CHANNEL_OP, &msg, in mt76x2_mcu_set_channel() 70 return mt76_mcu_send_msg(&dev->mt76, CMD_LOAD_CR, &msg, sizeof(msg), in mt76x2_mcu_load_cr() 89 return mt76_mcu_send_msg(&dev->mt76, CMD_INIT_GAIN_OP, &msg, in mt76x2_mcu_init_gain() [all …]
|
/linux/drivers/iio/humidity/ |
H A D | hdc100x.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * hdc100x.c - Support for the TI HDC100x temperature + humidity sensors 17 #include <linux/delay.h> 49 } scan; member 128 .scan_index = -1, 137 int tmp = (~mask & data->config) | val; in hdc100x_update_config() 140 ret = i2c_smbus_write_word_swapped(data->client, in hdc100x_update_config() 143 data->config = tmp; in hdc100x_update_config() 151 int ret = -EINVAL; in hdc100x_set_it_time() 160 data->adc_int_us[chan] = val2; in hdc100x_set_it_time() [all …]
|
/linux/drivers/iio/adc/ |
H A D | max1118.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MAX1117/MAX1118/MAX1119 8-bit, dual-channel ADCs driver 7 * Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX1117-MAX1119.pdf 13 * ------ --------- ----------- 14 * nCS --> CNVST 15 * SCK --> SCLK 16 * MISO <-- DOUT 17 * ------ --------- ----------- 43 } scan; member 79 .delay = { /* > CNVST Low Time 100 ns */ in max1118_read() [all …]
|
H A D | ad4000.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 #include <linux/iio/buffer-dmaengine.h> 57 .shift = (_offl ? 0 : _storage_bits - _real_bits), \ 95 .shift = (_offl ? 0 : _storage_bits - _real_bits), \ 122 /* maps adi,sdi-pin property value to enum */ 167 /* AD7946, AD7686, AD7688, AD7988-5, AD7693 */ 191 /* AD7988-1 */ 475 .dev_name = "ad7988-1", 483 .dev_name = "ad7988-5", 527 } scan __aligned(IIO_DMA_MINALIGN); [all …]
|
H A D | ad7380.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * ad7380/1 : https://www.analog.com/media/en/technical-documentation/data-sheets/AD7380-7381.pdf 10 * ad7383/4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7383-7384.pdf 11 …* ad7386/7/8 : https://www.analog.com/media/en/technical-documentation/data-sheets/AD7386-7387-738… 12 * ad7380-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7380-4.pdf 13 * ad7381-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7381-4.pdf 14 …* ad7383/4-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7383-4-ad7384… 15 …* ad7386/7/8-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7386-4-7387… 16 * ad7389-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7389-4.pdf 17 * adaq4370-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/adaq4370-4.pdf [all …]
|
/linux/drivers/gpu/drm/mgag200/ |
H A D | mgag200_bmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include <linux/delay.h> 18 * 1 - The first step is to inform the BMC of an upcoming mode in mgag200_bmc_stop_scanout() 34 * 2- Second step to mask any further scan request. This is in mgag200_bmc_stop_scanout() 44 * 3a- The third step is to verify if there is an active scan. in mgag200_bmc_stop_scanout() 52 iter_max--; in mgag200_bmc_stop_scanout() 56 * 3b- This step occurs only if the remove is actually in mgag200_bmc_stop_scanout() 66 iter_max--; in mgag200_bmc_stop_scanout() 88 /* Remove mask of scan request */ in mgag200_bmc_start_scanout()
|
/linux/Documentation/translations/zh_CN/scheduler/ |
H A D | sched-debug.rst | 1 .. SPDX-License-Identifier: GPL-2.0 2 .. include:: ../disclaimer-zh_CN.rst 4 :Original: Documentation/scheduler/sched-debug.rst 26 ------------------------------------------------------------------- 29 迁移到任务正在运行的本地内存结点,此时需解映射页面。每个“扫描延迟”(scan delay) 30 时间之后,任务扫描其地址空间中下一批“扫描大小”(scan size)个页面。若抵达
|
/linux/net/mac80211/ |
H A D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 10 * Copyright 2013-2015 Intel Mobile Communications GmbH 11 * Copyright 2016-2017 Intel Deutschland GmbH 12 * Copyright (C) 2018-2025 Intel Corporation 25 #include "driver-ops.h" 37 cfg80211_put_bss(local->h in ieee80211_rx_bss_put() [all...] |
/linux/drivers/video/fbdev/ |
H A D | controlfb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 42 /* Vertical parameters are in units of 1/2 scan line */ 50 struct preg piped; /* pipe delay hardware cursor */ 52 struct preg hperiod; /* horiz period - 2 */ 59 struct preg hserr; /* horiz period - horiz sync len */ 63 struct preg pitch; /* addrs diff between scan lines */ 74 /* Vertical parameters are in units of 1/2 scan line */ 82 unsigned piped; /* pipe delay hardware cursor */ 85 unsigned hperiod; /* horiz period - 2 */ 92 unsigned hserr; /* horiz period - horiz sync len */ [all …]
|
/linux/Documentation/admin-guide/mm/ |
H A D | ksm.rst | 8 KSM is a memory-saving de-duplication feature, enabled by CONFIG_KSM=y, 19 content which can be replaced by a single write-protected page (which 47 may suddenly require more memory than is available - possibly failing 48 with EAGAIN, but more probably arousing the Out-Of-Memory killer. 60 will exceed ``vm.max_map_count`` (see Documentation/admin-guide/sysctl/vm.rst). 80 how many pages to scan before ksmd goes to sleep 84 been set to scan-time. 89 how many milliseconds ksmd should sleep before next scan 158 scan. It's a noop if not a single KSM page hit the 162 Historically KSM checked every candidate page for each scan. It did [all …]
|
/linux/Documentation/driver-api/media/drivers/ |
H A D | vidtv.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 ---------- 18 - A fake tuner driver, which will report a bad signal quality if the chosen 22 - A fake demod driver, which will constantly poll the fake signal quality 26 - A fake bridge driver, which is the module responsible for modprobing the 31 - Code responsible for encoding a valid MPEG Transport Stream, which is then 33 For now, we have a single, audio-only channel containing a single MPEG 34 Elementary Stream, which in turn contains a SMPTE 302m encoded sine-wave. 39 -------------- 45 - Enable **DVB_TEST_DRIVERS**, then [all …]
|
/linux/drivers/comedi/drivers/ |
H A D | addi_apci_3xxx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (C) 2004,2005 ADDI-DATA GmbH for the source code of this module. 7 * ADDI-DATA GmbH 9 * D-77833 Ottersweier 10 * Tel: +19(0)7223/9493-0 11 * Fax: +49(0)7223/9493-92 12 * http://www.addi-data.com 13 * info@addi-data.com 87 .name = "apci3000-16", 96 .name = "apci3000-8", [all …]
|
/linux/drivers/iio/accel/ |
H A D | mma7455_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * IIO accel core driver for Freescale MMA7455L 3-axis 10-bit accelerometer 7 * - 8-bit mode with different scales 8 * - INT1/INT2 interrupts 9 * - Offset calibration 10 * - Events 13 #include <linux/delay.h> 46 * When MMA7455 is used in 10-bit it has a fullscale of -8g 47 * corresponding to raw value -512. The userspace interface 63 } scan; member [all …]
|
/linux/drivers/pci/ |
H A D | probe.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/delay.h> 54 if (r->domain_nr == domain_nr) in get_pci_domain_busn_res() 55 return &r->res; in get_pci_domain_busn_res() 61 r->domain_nr = domain_nr; in get_pci_domain_busn_res() 62 r->res.start = 0; in get_pci_domain_busn_res() 63 r->res.end = 0xff; in get_pci_domain_busn_res() 64 r->res.flags = IORESOURCE_BUS | IORESOURCE_PCI_FIXED; in get_pci_domain_busn_res() 66 list_add_tail(&r->list, &pci_domain_busn_res_list); in get_pci_domain_busn_res() 68 return &r->res; in get_pci_domain_busn_res() [all …]
|
/linux/kernel/irq/ |
H A D | autoprobe.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 1992, 1998-2004 Linus Torvalds, Ingo Molnar 11 #include <linux/delay.h> 24 * probe_irq_on - begin an interrupt autodetect 46 guard(raw_spinlock_irq)(&desc->lock); in probe_irq_on() 47 if (!desc->action && irq_settings_can_probe(desc)) { in probe_irq_on() 52 if (desc->irq_data.chip->irq_set_type) in probe_irq_on() 53 desc->irq_data.chip->irq_set_type(&desc->irq_data, IRQ_TYPE_PROBE); in probe_irq_on() 67 guard(raw_spinlock_irq)(&desc->lock); in probe_irq_on() 68 if (!desc->action && irq_settings_can_probe(desc)) { in probe_irq_on() [all …]
|
/linux/drivers/iio/proximity/ |
H A D | as3935.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * as3935.c - Support for AS3935 Franklin lightning sensor 5 * Copyright (C) 2014, 2017-2018 13 #include <linux/delay.h> 15 #include <linux/devm-helpers.h> 67 } scan; member 94 ret = spi_w8r8(st->spi, cmd); in as3935_read() 106 u8 *buf = st->buf; in as3935_write() 111 return spi_write(st->spi, buf, 2); in as3935_write() 139 return -EINVAL; in as3935_sensor_sensitivity_store() [all …]
|
/linux/drivers/iio/chemical/ |
H A D | ccs811.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ccs811.c - Support for AMS CCS811 VOC Sensor 7 * Datasheet: ams.com/content/download/951091/2269479/CCS811_DS000459_3-00.pdf 19 #include <linux/delay.h> 86 } scan; member 94 .scan_index = -1, 99 .scan_index = -1, 131 * The CCS811 powers-up in boot mode. A setup write to CCS811_APP_START will 147 return -EIO; in ccs811_start_sensor_application() 159 dev_err(&client->dev, "Application failed to start. Sensor is still in boot mode.\n"); in ccs811_start_sensor_application() [all …]
|
/linux/drivers/media/pci/cx88/ |
H A D | cx88-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * cx88-i2c.c -- all the i2c code is here 7 * Copyright (C) 1996,97,98 Ralph Metzler (rjkm@thp.uni-koeln.de) 8 * & Marcus Metzler (mocm@thp.uni-koeln.de) 10 * (c) 1999-2003 Gerd Knorr <kraxel@bytesex.org> 12 * - Multituner support and i2c address binding 21 #include <media/v4l2-common.h> 29 MODULE_PARM_DESC(i2c_scan, "scan i2c bus at insmod time"); 34 …"i2c delay at insmod time, in usecs (should be 5 or higher). Lower value means higher bus speed."); 42 /* ----------------------------------------------------------------------- */ [all …]
|