Home
last modified time | relevance | path

Searched +full:input +full:- +full:value (Results 1 – 25 of 1041) sorted by relevance

12345678910>>...42

/linux/lib/kunit/
H A Dattributes.c1 // SPDX-License-Identifier: GPL-2.0
13 * PRINT_ALWAYS - attribute is printed for every test case and suite if set
14 * PRINT_SUITE - attribute is printed for every suite if set but not for test cases
15 * PRINT_NEVER - attribute is never printed
24 * struct kunit_attr - represents a test attribute and holds flexible
28 * @get_attr: function to return attribute value given a test
30 * attribute value
31 * @filter: function to indicate whether a given attribute value passes a
33 * @attr_default: default attribute value used during filtering
34 * @print: value of enum print_ops to indicate when to print attribute
[all …]
/linux/Documentation/hid/
H A Dhid-sensor.rst20 INPUT(1)[INPUT]
26 Logical Minimum(-32767)
35 The report is indicating "sensor page (0x20)" contains an accelerometer-3D (0x73).
36 This accelerometer-3D has some fields. Here for example field 2 is motion intensity
37 (0x045f) with a logical minimum value of -32767 and logical maximum of 32767. The
38 order of fields and length of each field is important as the input event raw
46 data fields. It is difficult to have a common input event to user space applications,
51 - Core HID driver
52 - Individual sensor processing part (sensor drivers)
55 -----------
[all …]
/linux/Documentation/input/
H A Devent-codes.rst1 .. _input-event-codes:
4 Input event codes
8 The input protocol uses a map of types and codes to express input device values
12 A single hardware event generates multiple input events. Each input event
13 contains the new value of a single data item. A special event type, EV_SYN, is
14 used to separate input events into packets of input data changes occurring at
16 input event encompassing a type, code, and value.
18 The input protocol is a stateful protocol. Events are emitted only when values
20 input subsystem; drivers do not need to maintain the state and may attempt to
22 event code values using the EVIOCG* ioctls defined in linux/input.h. The event
[all …]
/linux/include/linux/
H A Dinput.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 1999-2002 Vojtech Pavlik
10 #include <uapi/linux/input.h>
16 * In-kernel definitions.
22 #include <linux/device-id/input.h>
27 * struct input_value - input value representation
28 * @type: type of value (EV_KEY, EV_ABS, etc)
29 * @code: the value code
30 * @value: the value
35 __s32 value; member
[all …]
/linux/arch/arm/boot/dts/allwinner/
H A Dsun4i-a10-inet9f-rev03.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun4i-a10.dtsi"
45 #include "sunxi-common-regulators.dtsi"
46 #include <dt-bindings/gpio/gpio.h>
47 #include <dt-bindings/input/input.h>
48 #include <dt-bindings/interrupt-controller/irq.h>
51 model = "iNet-9F Rev 03";
52 compatible = "inet-tek,inet9f-rev03", "allwinner,sun4i-a10";
59 stdout-path = "serial0:115200n8";
[all …]
/linux/rust/pin-init/internal/src/
H A Dinit.rs1 // SPDX-License-Identifier: Apache-2.0 OR MIT
38 Value { enumerator
40 value: Option<(Token![:], Expr)>,
44 _left_arrow_token: Token![<-],
45 value: Expr,
55 fn ident(&self) -> Option<&Ident> {
57 Self::Value { ident, .. } | Self::Init { ident, .. } => Some(ident),
84 ) -> Resul
[all...]
/linux/drivers/hid/
H A Dhid-steam.c1 // SPDX-License-Identifier: GPL-2.0+
18 * This driver will disable the lizard mode when the input device is opened
19 * and re-enable it when the input device is closed, so as not to break user
23 * the hidraw interface directly to create input devices (XTest, uinput...).
26 * - it will not send any command to the controller.
27 * - this input device will be removed, to avoid double input of the same
29 * When the client is closed, this input device will be created again.
31 * For additional functions, such as changing the right-pad margin or switching
32 * the led, you can use the user-space tool at:
38 #include <linux/input.h>
[all …]
/linux/sound/pci/emu10k1/
H A Dp17v.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (c) by James Courtier-Dutton <James@superbug.demon.co.uk>
8 /* Audigy2Value Tina (P17V) pointer-offset register set, */
12 /* 00 - 07: Not used */
16 /* 09 - 12: Not used */
20 /* 14 - 17: Not used */
24 /* 1b - 1f: Not used */
25 /* 20 - 2f: Not used */
26 /* 30 - 3b: Not used */
34 #define I2C_A_ADC_TRANS_MASK 0x00000010 /*Bit mask for I2c address DAC value */
[all …]
/linux/drivers/hwmon/
H A Dscpi-hwmon.c1 // SPDX-License-Identifier: GPL-2.0
23 char input[20]; member
57 static void scpi_scale_reading(u64 *value, struct sensor_data *sensor) in scpi_scale_reading() argument
59 if (scpi_scale[sensor->info.class] != sensor->scale) { in scpi_scale_reading()
60 *value *= scpi_scale[sensor->info.class]; in scpi_scale_reading()
61 do_div(*value, sensor->scale); in scpi_scale_reading()
68 struct scpi_sensors *scpi_sensors = zone->scpi_sensors; in scpi_read_temp()
69 struct scpi_ops *scpi_ops = scpi_sensors->scpi_ops; in scpi_read_temp()
70 struct sensor_data *sensor = &scpi_sensors->data[zone->sensor_id]; in scpi_read_temp()
71 u64 value; in scpi_read_temp() local
[all …]
/linux/drivers/input/misc/
H A Dpwm-beeper.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
7 #include <linux/input.h>
19 struct input_dev *input; member
36 pwm_get_state(beeper->pwm, &state); in pwm_beeper_on()
42 error = pwm_apply_might_sleep(beeper->pwm, &state); in pwm_beeper_on()
46 if (!beeper->amplifier_on) { in pwm_beeper_on()
47 error = regulator_enable(beeper->amplifier); in pwm_beeper_on()
49 pwm_disable(beeper->pwm); in pwm_beeper_on()
53 beeper->amplifier_on = true; in pwm_beeper_on()
[all …]
/linux/tools/testing/selftests/hid/tests/
H A Dtest_apple_keyboard.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
16 logger = logging.getLogger("hidtools.test.apple-keyboard")
18 KERNEL_MODULE = base.KernelModule("apple", "hid-apple")
39 0x81, 0x02, # .Input (Data,Var,Abs)
42 0x81, 0x01, # .Input (Cnst,Arr,Abs)
59 0x81, 0x00, # .Input (Data,Arr,Abs)
74 0x81, 0x02, # ..Input (Data,Var,Abs)
85 0x81, 0x01, # .Input (Cnst,Arr,Abs)
90 0x81, 0x02, # .Input (Data,Var,Abs)
[all …]
/linux/Documentation/netlink/specs/
H A Ddpll.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
8 -
16 -
18 doc: input can be only selected by sending a request to dpll
19 value: 1
20 -
22 doc: highest prio input pin auto selected by dpll
23 render-max: true
24 -
[all …]
/linux/drivers/platform/x86/
H A Dsystem76_acpi.c1 // SPDX-License-Identifier: GPL-2.0+
14 #include <linux/hwmon-sysfs.h>
16 #include <linux/input.h>
44 struct input_dev *input; member
65 // Array of keyboard LED colors in 24-bit RGB format
76 // Get a System76 ACPI device value by name
83 handle = acpi_device_handle(data->acpi_dev); in system76_get()
87 return -ENODEV; in system76_get()
90 // Get a System76 ACPI device value by name with index
100 obj.integer.value = index; in system76_get_index()
[all …]
/linux/Documentation/devicetree/bindings/input/
H A Dgpio-keys.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/input/gpio-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
15 - gpio-keys
16 - gpio-keys-polled
23 poll-interval: true
26 …"^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switc…
27 $ref: input.yaml#
[all …]
/linux/rust/syn/
H A Dpat.rs1 // SPDX-License-Identifier: Apache-2.0 OR MIT
25 /// [syntax tree enum]: crate::expr::Expr#syntax-tree-enums
48 /// self-type.
83 /// A pattern that matches any value: `_`.
218 /// A pattern that matches any value: `_`.
283 /// error: top-level or-patterns are not allowed in function parameters
284 /// --> src/main.rs:1:6
289 pub fn parse_single(input: ParseStream) -> Result<Self> { in parse_single()
290 let begin = input.fork(); in parse_single()
291 let lookahead = input.lookahead1(); in parse_single()
[all …]
/linux/Documentation/hwmon/
H A Dbel-pfe.rst1 Kernel driver bel-pfe
10 Addresses scanned: -
12 … Datasheet: https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-pfe1100-12-054xa.pdf
18 Addresses scanned: -
20 Datasheet: https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-pfe3000-series.pdf
26 -----------
33 1100 Watt AC to DC power-factor-corrected (PFC) power supply.
38 3000 Watt AC/DC power-factor-corrected (PFC) and DC-DC power supply.
46 -----------
48 This driver does not auto-detect devices. You will have to instantiate the
[all …]
/linux/drivers/input/
H A Dinput.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * The input core
5 * Copyright (c) 1999-2002 Vojtech Pavlik
15 #include <linux/input/mt.h>
29 #include "input-compat.h"
30 #include "input-core-private.h"
31 #include "input-poller.h"
34 MODULE_DESCRIPTION("Input core");
48 * input handlers.
71 static int input_defuzz_abs_event(int value, int old_val, int fuzz) in input_defuzz_abs_event() argument
[all …]
/linux/Documentation/devicetree/bindings/hwmon/
H A Dti,ina3221.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jean Delvare <jdelvare@suse.com>
11 - Guenter Roeck <linux@roeck-us.net>
20 ti,single-shot:
22 This chip has two power modes: single-shot (chip takes one measurement
25 hardware monitor type device, but the single-shot mode is more power-
26 friendly and useful for battery-powered device which cares power
29 If this property is present, the single-shot mode will be used, instead
[all …]
/linux/arch/x86/include/uapi/asm/
H A Damd_hsmp.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
16 HSMP_TEST = 1, /* 01h Increments input value by 1 */
22 HSMP_GET_SOCKET_POWER_LIMIT_MAX,/* 07h Get maximum socket power value */
29 HSMP_SET_AUTO_DF_PSTATE, /* 0Eh Enable DF P-State Performance Boost algorithm */
37 HSMP_GET_DIMM_TEMP_RANGE, /* 16h Get per-DIMM temperature range and refresh rate */
38 HSMP_GET_DIMM_POWER, /* 17h Get per-DIMM power consumption */
39 HSMP_GET_DIMM_THERMAL, /* 18h Get per-DIMM thermal sensors */
42 HSMP_GET_RAILS_SVI, /* 1Bh Get SVI-based Telemetry for all rails */
49 HSMP_SET_PSTATE_MAX_MIN, /* 22h Set the max and min DF P-State */
53 HSMP_SET_XGMI_PSTATE_RANGE, /* 26h Set xGMI P-state range */
[all …]
/linux/drivers/input/mouse/
H A Dgpio_mouse.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/input.h>
19 * @up: GPIO line for up value.
20 * @down: GPIO line for down value.
21 * @left: GPIO line for left value.
22 * @right: GPIO line for right value.
44 * The dev input variable is set to the input_dev pointer.
46 static void gpio_mouse_scan(struct input_dev *input) in gpio_mouse_scan() argument
48 struct gpio_mouse *gpio = input_get_drvdata(input); in gpio_mouse_scan()
51 if (gpio->bleft) in gpio_mouse_scan()
[all …]
/linux/tools/testing/selftests/powerpc/vphn/
H A Dtest-vphn.c1 // SPDX-License-Identifier: GPL-2.0
23 long input[VPHN_REGISTER_COUNT]; member
41 "vphn: 1 x 16-bit value",
56 "vphn: 2 x 16-bit values",
72 "vphn: 3 x 16-bit values",
89 "vphn: 4 x 16-bit values",
107 /* Parsing the next 16-bi
[all...]
/linux/tools/wmi/
H A Ddell-smbios-example.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * - Simple cmd_class/cmd_select lookup for TPM information
6 * - Simple query of known tokens and their values
7 * - Simple activation of a token
28 static const char *ioctl_devfs = "/dev/wmi/dell-smbios";
30 "/sys/bus/platform/devices/dell-smbios.0/tokens";
35 buffer->std.cmd_class, buffer->std.cmd_select, in show_buffer()
36 buffer->std.input[0], buffer->std.input[1], in show_buffer()
37 buffer->std.input[2], buffer->std.input[3], in show_buffer()
38 buffer->std.output[0], buffer->std.output[1], in show_buffer()
[all …]
/linux/scripts/kconfig/tests/warn_changed_input/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
8 It intentionally stays unset in the input fragment.
9 The test checks how dependent user input is adjusted.
15 Test bool symbol for changed-input diagnostics.
16 The input fragment requests this symbol as built-in.
17 The unmet dependency on DEP forces the final value to n.
24 Test integer symbol for changed-input diagnostics.
25 The input fragment requests a value outside the allowed range.
26 Kconfig resolves it to the constrained in-range value.
33 Test duplicate-definition handling for changed-input diagnostics.
[all …]
/linux/drivers/input/keyboard/
H A Dsh_keysc.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <linux/input.h>
17 #include <linux/input/sh_keysc.h>
37 struct input_dev *input; member
51 return ioread16(p->iomem_base + (reg_nr << 2)); in sh_keysc_read()
55 unsigned long value) in sh_keysc_write() argument
57 iowrite16(value, p->iomem_base + (reg_nr << 2)); in sh_keysc_write()
63 struct sh_keysc_info *pdata = &p->pdata; in sh_keysc_level_mode()
68 if (pdata->kycr2_delay) in sh_keysc_level_mode()
69 udelay(pdata->kycr2_delay); in sh_keysc_level_mode()
[all …]
/linux/include/uapi/linux/
H A Dpsp-dbc.h1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
24 * struct dbc_user_nonce - Nonce exchange structure (input/output).
25 * @auth_needed: Whether the PSP should authenticate this request (input).
27 * 1: authentication: PSP will return multi-use nonce.
28 * @nonce: 8 byte value used for future authentication (output).
30 * previous nonce (input).
39 * struct dbc_user_setuid - UID exchange structure (input).
40 * @uid: 16 byte value representing software identity
49 * struct dbc_user_param - Parameter exchange structure (input/output).
50 * @msg_index: Message indicating what parameter to set or get (input)
[all …]

12345678910>>...42