| /linux/Documentation/devicetree/bindings/input/ |
| 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/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/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/input/keyboard/ |
| 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 …]
|
| H A D | ep93xx_keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 28 #define KEY_INIT 0x00 /* Key Scan Initialization register */ 29 #define KEY_DIAG 0x04 /* Key Scan Diagnostic register */ 32 /* Key Scan Initialization Register bit defines */ 42 /* Key Scan Diagnostic Register bit defines */ 82 struct input_dev *input_dev = keypad->input_dev; in ep93xx_keypad_irq_handler() 86 status = __raw_readl(keypad->mmio_base + KEY_REG); in ep93xx_keypad_irq_handler() 89 key1 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler() 92 key2 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler() 95 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) in ep93xx_keypad_irq_handler() [all …]
|
| H A D | tc3589x-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 73 * struct tc3589x_keypad_platform_data - platform specific keypad data 74 * @keymap_data: matrix scan code table for keycodes 95 * struct tc_keypad - data structure used by keypad driver 101 * @keymap: matrix scan code table for keycodes 117 struct tc3589x *tc3589x = keypad->tc3589x; in tc3589x_keypad_init_key_hardware() 118 const struct tc3589x_keypad_platform_data *board = keypad->board; in tc3589x_keypad_init_key_hardware() 121 if (board->kcol > TC3589x_MAX_KPCOL || board->krow > TC3589x_MAX_KPROW) in tc3589x_keypad_init_key_hardware() 122 return -EINVAL; in tc3589x_keypad_init_key_hardware() [all …]
|
| H A D | tegra-kbc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2009-2011, NVIDIA Corporation. 13 #include <linux/delay.h> 33 /* KBC row scan time and delay for beginning the row scan. */ 156 val = readl(kbc->mmio + KBC_KP_ENT0_0 + i); in tegra_kbc_report_keys() 165 keycodes[num_down] = kbc->keycode[scancode]; in tegra_kbc_report_keys() 167 if ((keycodes[num_down] == KEY_FN) && kbc->use_fn_map) in tegra_kbc_report_keys() 178 * Ghosting occurs if there are 3 keys such that - in tegra_kbc_report_keys() 182 if (kbc->use_ghost_filter && num_down >= 3) { in tegra_kbc_report_keys() 190 * and the other is in the same column as the i-th key. in tegra_kbc_report_keys() [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/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/input/touchscreen/ |
| H A D | stmpe-ts.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #include <linux/delay.h> 46 #define STMPE_TS_NAME "stmpe-ts" 50 * struct stmpe_touch - stmpe811 touch screen controller state 53 * @work: a work item used to scan the device 57 * (0 -> 1 sample, 1 -> 2 samples, 2 -> 4 samples, 3 -> 8 samples) 58 * @touch_det_delay: Touch detect interrupt delay 59 * (0 -> 10 us, 1 -> 50 us, 2 -> 100 us, 3 -> 500 us, 60 * 4-> 1 ms, 5 -> 5 ms, 6 -> 10 ms, 7 -> 50 ms) 63 * (0 -> 10 us, 1 -> 100 us, 2 -> 500 us, 3 -> 1 ms, [all …]
|
| H A D | auo-pixcir-ts.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for AUO in-cell touchscreens 7 * loosely based on auo_touch.c from Dell Streak vendor-kernel 22 #include <linux/delay.h> 86 * active: scan speed 60Hz 87 * sleep: scan speed 10Hz can be auto-activated, wakeup on 1st touch 88 * deep sleep: scan speed 1Hz can only be entered or left manually. 96 #define AUO_PIXCIR_POWER_IDLE_TIME(ms) ((ms & 0xf) << 4) argument 141 struct i2c_client *client = ts->client; in auo_pixcir_collect_data() 150 dev_err(&client->dev, "failed to read coordinate, %d\n", ret); in auo_pixcir_collect_data() [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/arch/arm/boot/dts/nxp/lpc/ |
| H A D | lpc3250-phy3250.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * PHYTEC phyCORE-LPC3250 board 5 * Copyright (C) 2015-2019 Vladimir Zapolskiy <vz@mleia.com> 9 /dts-v1/; 13 model = "PHYTEC phyCORE-LPC3250 board based on NXP LPC3250"; 22 compatible = "gpio-leds"; 26 default-state = "off"; 31 linux,default-trigger = "heartbeat"; 37 power-supply = <®_lcd>; 41 remote-endpoint = <&cldc_output>; [all …]
|
| /linux/Documentation/wmi/devices/ |
| H A D | lenovo-wmi-gamezone.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 4 Lenovo WMI Interface Gamezone Driver (lenovo-wmi-gamezone) 15 ------------- 17 WMI GUID ``887B54E3-DDDC-4B2C-8B88-68A26A8835D0`` 19 The Gamezone Data WMI interface provides platform-profile and fan curve 25 - low-power 26 - balanced 27 - balanced-performance 28 - performance 29 - custom [all …]
|
| /linux/drivers/staging/fbtft/ |
| H A D | fb_ili9325.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <linux/delay.h> 27 MODULE_PARM_DESC(bt, "Sets the factor used in the step-up circuits"); 51 * ---------- 55 * VCL = -Vci1 = -2.64 60 * VGL = -Vci * 4 = -13.2 63 * -------- 71 * -3.0 < VCL < -2.0 => -3.0 < -2.64 < -2.0 72 * VCI - VCL < 6.0 => 5.94 < 6.0 76 * -15 < VGL < -5 => -15 < -13.2 < -5 [all …]
|
| /linux/arch/powerpc/boot/dts/ |
| H A D | ac14xx.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #address-cells = <1>; 15 #size-cells = <1>; 26 timebase-frequency = <40000000>; /* 40 MHz (csb/4) */ 27 bus-frequency = <160000000>; /* 160 MHz csb bus */ 28 clock-frequency = <400000000>; /* 400 MHz ppc core */ 49 compatible = "cfi-flash"; 51 #address-cells = <1>; 52 #size-cells = <1>; 53 bank-width = <2>; [all …]
|
| /linux/drivers/media/rc/ |
| H A D | rc-main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // rc-main.c - Remote Controller core module 4 // Copyright (C) 2009-2010 by Mauro Carvalho Chehab 8 #include <media/rc-core.h> 11 #include <linux/delay.h> 18 #include "rc-core-priv.h" 31 [RC_PROTO_RC5] = { .name = "rc-5", 33 [RC_PROTO_RC5X_20] = { .name = "rc-5x-20", 35 [RC_PROTO_RC5_SZ] = { .name = "rc-5-sz", 39 [RC_PROTO_SONY12] = { .name = "sony-12", [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | rtas.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #include <linux/delay.h> 36 #include <asm/delay.h> 42 #include <asm/rtas-work-area.h> 49 /* Indexes into the args buffer, -1 if not used */ 62 * struct rtas_function - Descriptor for RTAS functions. 66 * @filter: If non-NULL, invoking this function via the rtas syscall is 75 * @lock: Pointer to an optional dedicated per-function mutex. This 92 * Per-function locks for sequence-based RTAS functions. 106 .name = "check-exception", [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/light/ |
| H A D | as73211.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * Color light sensor with 16-bit channels for x, y, z and temperature); 11 * 7-bit I2C slave address 0x74 .. 0x77. 14 * AS73211: https://ams.com/documents/20143/36005/AS73211_DS000556_3-01.pdf 15 * AS7331: https://ams.com/documents/20143/9106314/AS7331_DS001047_4-00.pdf 21 #include <linux/delay.h> 77 #define AS73211_SAMPLE_TIME_MAX_MS BIT(AS73211_SAMPLE_TIME_NUM - 1) 94 * struct as73211_spec_dev_data - device-specific data 106 * struct as73211_data - Instance data for one AS73211 115 * @spec_dev: device-specific configuration. [all …]
|
| /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/nvme/host/ |
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2011-2014, Intel Corporation. 9 #include <linux/blk-mq.h> 10 #include <linux/blk-integrity.h> 12 #include <linux/delay.h> 17 #include <linux/backing-dev.h> 29 #include <linux/nvme-auth.h> 81 "primary APST timeout in ms"); 86 "secondary APST timeout in ms"); 110 * nvme_wq - hosts nvme related works that are not reset or delete [all …]
|
| /linux/drivers/iio/magnetometer/ |
| H A D | mag3110.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * mag3110.c - Support for Freescale MAG3110 magnetometer sensor 7 * (7-bit I2C slave address 0x0e) 20 #include <linux/delay.h> 47 #define MAG3110_CTRL_AUTO_MRST_EN BIT(7) /* magnetic auto-reset */ 48 #define MAG3110_CTRL_RAW BIT(5) /* measurements not user-offset corrected */ 65 } scan; member 72 if ((data->ctrl_reg1 & MAG3110_CTRL_AC) == 0) { in mag3110_request() 74 ret = i2c_smbus_write_byte_data(data->client, MAG3110_CTRL_REG1, in mag3110_request() 75 data->ctrl_reg1 | MAG3110_CTRL_TM); in mag3110_request() [all …]
|
| /linux/drivers/w1/masters/ |
| H A D | ds2490.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 92 #define ST_SPUA 0x01 /* Strong Pull-up is active */ 101 /* 1-wire data i/o fifo size, 128 bytes */ 174 err = usb_control_msg(dev->udev, usb_sndctrlpipe(dev->udev, dev->ep[EP_CONTROL]), in ds_send_control_cmd() 177 dev_err(&dev->udev->dev, in ds_send_control_cmd() 190 err = usb_control_msg(dev->udev, usb_sndctrlpipe(dev->udev, dev->ep[EP_CONTROL]), in ds_send_control_mode() 193 dev_err(&dev->udev->dev, in ds_send_control_mode() 206 err = usb_control_msg(dev->udev, usb_sndctrlpipe(dev->udev, dev->ep[EP_CONTROL]), in ds_send_control() 209 dev_err(&dev->udev->dev, in ds_send_control() 220 struct device *dev = &ds_dev->udev->dev; in ds_dump_status() [all …]
|
| /linux/drivers/s390/scsi/ |
| H A D | zfcp_fc.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <linux/bsg-lib.h> 40 "upper limit of port scan random backoff in msecs (default 500)"); 59 adapter->next_port_scan = jiffies + interval + backoff; in zfcp_fc_port_scan_time() 65 unsigned long next = adapter->next_port_scan; in zfcp_fc_port_scan() 66 unsigned long delay = 0, max; in zfcp_fc_port_scan() local 68 /* delay only needed within waiting period */ in zfcp_fc_port_scan() 70 delay = next - now; in zfcp_fc_port_scan() 71 /* paranoia: never ever delay scans longer than specified */ in zfcp_fc_port_scan() 73 delay = min(delay, max); in zfcp_fc_port_scan() [all …]
|