Home
last modified time | relevance | path

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

12345678910>>...43

/Linux-v6.1/Documentation/sparc/oradax/
Ddax-hv-api.txt3 Publication date 2017-09-25 08:21
5 Extracted via "pdftotext -f 547 -l 572 -layout sun4v_20170925.pdf"
16 live-migration and other system management activities.
20 …high speed processoring of database-centric operations. The coprocessors may support one or more of
28 …e Completion Area and, unless execution order is specifically restricted through the use of serial-
45 …device node in the guest MD (Section 8.24.17, “Database Analytics Accelerators (DAX) virtual-device
51 36.1.1.1. "ORCL,sun4v-dax" Device Compatibility
54 • No-op/Sync
58 • Scan Value
60 • Inverted Scan Value
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/mmc/
Dcdns,sdhci.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Masahiro Yamada <yamada.masahiro@socionext.com>
13 - $ref: mmc-controller.yaml
18 - enum:
19 - microchip,mpfs-sd4hc
20 - socionext,uniphier-sd4hc
21 - const: cdns,sd4hc
32 # PHY DLL input delays:
[all …]
/Linux-v6.1/drivers/platform/x86/
Dclassmate-laptop.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <linux/input.h>
37 * Generic input device code.
50 return -ENOMEM; in cmpc_add_acpi_notify_device()
51 inputdev->name = name; in cmpc_add_acpi_notify_device()
52 inputdev->dev.parent = &acpi->dev; in cmpc_add_acpi_notify_device()
59 dev_set_drvdata(&acpi->dev, inputdev); in cmpc_add_acpi_notify_device()
65 struct input_dev *inputdev = dev_get_drvdata(&acpi->dev); in cmpc_remove_acpi_notify_device()
76 struct acpi_object_list input; in cmpc_start_accel_v4() local
80 param[0].integer.value = 0x3; in cmpc_start_accel_v4()
[all …]
Dsystem76_acpi.c1 // SPDX-License-Identifier: GPL-2.0+
14 #include <linux/hwmon-sysfs.h>
16 #include <linux/input.h>
37 struct input_dev *input; member
57 // Array of keyboard LED colors in 24-bit RGB format
68 // Get a System76 ACPI device value by name
75 handle = acpi_device_handle(data->acpi_dev); in system76_get()
79 return -ENODEV; in system76_get()
82 // Get a System76 ACPI device value by name with index
92 obj.integer.value = index; in system76_get_index()
[all …]
/Linux-v6.1/Documentation/hid/
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-v6.1/drivers/input/keyboard/
Dadc-keys.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Input driver for resistor ladder connected on ADC
11 #include <linux/input.h>
32 static void adc_keys_poll(struct input_dev *input) in adc_keys_poll() argument
34 struct adc_keys_state *st = input_get_drvdata(input); in adc_keys_poll()
35 int i, value, ret; in adc_keys_poll() local
39 ret = iio_read_channel_processed(st->channel, &value); in adc_keys_poll()
42 value = st->keyup_voltage; in adc_keys_poll()
44 for (i = 0; i < st->num_keys; i++) { in adc_keys_poll()
45 diff = abs(st->map[i].voltage - value); in adc_keys_poll()
[all …]
Dgpio_keys_polled.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2007-2010 Gabor Juhos <juhosg@openwrt.org>
8 * This file was based on: /drivers/input/misc/cobalt_btns.c
11 * also was based on: /drivers/input/keyboard/gpio_keys.c
18 #include <linux/input.h>
26 #define DRV_NAME "gpio-keys-polled"
36 struct input_dev *input; member
44 static void gpio_keys_button_event(struct input_dev *input, in gpio_keys_button_event() argument
48 struct gpio_keys_polled_dev *bdev = input_get_drvdata(input); in gpio_keys_button_event()
49 unsigned int type = button->type ?: EV_KEY; in gpio_keys_button_event()
[all …]
Dnomadik-ske-keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2010
5 * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson
6 * Author: Sundar Iyer <sundar.iyer@stericsson.com> for ST-Ericsson
17 #include <linux/input.h>
22 #include <linux/platform_data/keypad-nomadik-ske.h>
54 * struct ske_keypad - data structure used by keypad driver
57 * @input: pointer to input device object
67 struct input_dev *input; member
80 spin_lock(&keypad->ske_keypad_lock); in ske_keypad_set_bits()
[all …]
/Linux-v6.1/Documentation/input/
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 …]
Dinput-programming.rst2 Creating an input device driver
8 Here comes a very simple example of an input device driver. The device has
12 #include <linux/input.h>
34 return -EBUSY;
40 error = -ENOMEM;
44 button_dev->evbit[0] = BIT_MASK(EV_KEY);
45 button_dev->keybit[BIT_WORD(BTN_0)] = BIT_MASK(BTN_0);
74 First it has to include the <linux/input.h> file, which interfaces to the
75 input subsystem. This provides all the definitions needed.
81 Then it allocates a new input device structure with input_allocate_device()
[all …]
/Linux-v6.1/include/linux/
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.
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
46 * struct input_dev - represents an input device
[all …]
/Linux-v6.1/arch/arm/boot/dts/
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-v6.1/Documentation/devicetree/bindings/pinctrl/
Dpinctrl-single.txt1 One-register-per-pin type device tree based pinctrl driver
4 - compatible : "pinctrl-single" or "pinconf-single".
5 "pinctrl-single" means that pinconf isn't supported.
6 "pinconf-single" means that generic pinconf is supported.
8 - reg : offset and length of the register set for the mux registers
10 - #pinctrl-cells : number of cells in addition to the index, set to 1
11 or 2 for pinctrl-single,pins and set to 2 for pinctrl-single,bits
13 - pinctrl-single,register-width : pinmux register access width in bits
15 - pinctrl-single,function-mask : mask of allowed pinmux function bits
19 - pinctrl-single,function-off : function off mode for disabled state if
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/phy/
Dqcom,usb-snps-femto-v2.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/phy/qcom,usb-snps-femto-v2.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Qualcomm Synopsys Femto High-Speed USB PHY V2
10 - Wesley Cheng <quic_wcheng@quicinc.com>
13 Qualcomm High-Speed USB PHY
18 - qcom,usb-snps-hs-5nm-phy
19 - qcom,usb-snps-hs-7nm-phy
20 - qcom,sc7280-usb-hs-phy
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/input/
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#
7 title: Device-Tree bindings for GPIO attached keys
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…
[all …]
/Linux-v6.1/sound/pci/emu10k1/
Dp17v.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (c) by James Courtier-Dutton <James@superbug.demon.co.uk>
9 /* Audigy2Value Tina (P17V) pointer-offset register set,
13 /* 00 - 07: Not used */
17 /* 09 - 12: Not used */
21 /* 14 - 17: Not used */
25 /* 1b - 1f: Not used */
26 /* 20 - 2f: Not used */
27 /* 30 - 3b: Not used */
35 #define I2C_A_ADC_TRANS_MASK 0x00000010 /*Bit mask for I2c address DAC value */
[all …]
/Linux-v6.1/drivers/hid/
Dhid-input.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2000-2001 Vojtech Pavlik
4 * Copyright (c) 2006-2010 Jiri Kosina
6 * HID to Linux Input mapping
12 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail:
21 #include <linux/hid-debug.h>
23 #include "hid-ids.h"
49 } hid_hat_to_axis[] = {{ 0, 0}, { 0,-1}, { 1,-1}, { 1, 0}, { 1, 1}, { 0, 1}, {-1, 1}, {-1, 0}, {-1…
62 * hid-input will convert this list into priorities:
67 * hid-input will then shift the priority by 8 bits to leave some space
[all …]
Dwacom_wac.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * USB Wacom tablet support - Wacom specific code
8 #include <linux/input/mt.h>
25 * 2^14/pi is a good approximation on Intuos5 and 3rd-gen Bamboo
43 struct input_dev *input = wacom_wac->pen_input; in wacom_force_proxout() local
45 wacom_wac->shared->stylus_in_proximity = 0; in wacom_force_proxout()
47 input_report_key(input, BTN_TOUCH, 0); in wacom_force_proxout()
48 input_report_key(input, BTN_STYLUS, 0); in wacom_force_proxout()
49 input_report_key(input, BTN_STYLUS2, 0); in wacom_force_proxout()
50 input_report_key(input, BTN_STYLUS3, 0); in wacom_force_proxout()
[all …]
Dhid-steam.c1 // SPDX-License-Identifier: GPL-2.0+
17 * This driver will disable the lizard mode when the input device is opened
18 * and re-enable it when the input device is closed, so as not to break user
22 * the hidraw interface directly to create input devices (XTest, uinput...).
25 * - it will not send any command to the controller.
26 * - this input device will be removed, to avoid double input of the same
28 * When the client is closed, this input device will be created again.
30 * For additional functions, such as changing the right-pad margin or switching
31 * the led, you can use the user-space tool at:
37 #include <linux/input.h>
[all …]
/Linux-v6.1/drivers/input/misc/
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_state(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-v6.1/drivers/hwmon/
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()
67 struct scpi_thermal_zone *zone = tz->devdata; in scpi_read_temp()
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()
[all …]
/Linux-v6.1/drivers/input/
Dsparse-keymap.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/input.h>
14 #include <linux/input/sparse-keymap.h>
28 for (key = dev->keycode; key->type != KE_END; key++) { in sparse_keymap_get_key_index()
29 if (key->type == KE_KEY) { in sparse_keymap_get_key_index()
45 for (key = dev->keycode; key->type != KE_END; key++) in sparse_keymap_entry_by_index()
46 if (key->type == KE_KEY) in sparse_keymap_entry_by_index()
54 * sparse_keymap_entry_from_scancode - perform sparse keymap lookup
55 * @dev: Input device using sparse keymap
59 * input device using sparse keymap.
[all …]
Dinput.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * The input core
5 * Copyright (c) 1999-2002 Vojtech Pavlik
14 #include <linux/input/mt.h>
26 #include "input-compat.h"
27 #include "input-core-private.h"
28 #include "input-poller.h"
31 MODULE_DESCRIPTION("Input core");
45 * input handlers.
68 static int input_defuzz_abs_event(int value, int old_val, int fuzz) in input_defuzz_abs_event() argument
[all …]
/Linux-v6.1/arch/x86/include/uapi/asm/
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 */
55 __u16 num_args; /* Number of input argument words in message */
[all …]
/Linux-v6.1/Documentation/hwmon/
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 …]

12345678910>>...43