Home
last modified time | relevance | path

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

12345678910>>...43

/linux/drivers/input/keyboard/
H A 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() local
[all …]
H A 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()
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()
48 keycode = st->map[i].keycode; in adc_keys_poll()
[all …]
/linux/Documentation/devicetree/bindings/iio/addac/
H A Dadi,ad74115.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Cosmin Tanislav <cosmin.tanislav@analog.com>
13 The AD74115H is a single-channel software configurable input/output
15 analog output, analog input, digital output, digital input, resistance
17 chip solution with an SPI interface. The device features a 16-bit ADC and a
18 14-bit DAC.
25 - adi,ad74115h
30 spi-max-frequency:
[all …]
/linux/Documentation/netlink/specs/
H A Dovpn.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 # Copyright (c) 2024-2025, OpenVPN Inc.
7 ---
15 -
16 type: const
17 name: nonce-tail-size
19 -
20 type: enum
21 name: cipher-alg
22 entries: [none, aes-gcm, chacha20-poly1305]
[all …]
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dpincfg-node.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/pincfg-node.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
21 bias-disable:
22 type: boolean
25 bias-high-impedance:
26 type: boolean
27 description: high impedance mode ("third-state", "floating")
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-enuminput.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_ENUMINPUT - Enumerate video inputs
29 Pointer to struct :c:type:`v4l2_input`.
34 To query the attributes of a video input applications initialize the
35 ``index`` field of struct :c:type:`v4l2_input` and call the
43 .. c:type:: v4l2_input
45 .. flat-table:: struct v4l2_input
46 :header-rows: 0
47 :stub-columns: 0
50 * - __u32
[all …]
H A Daudio.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
20 more than one video input or output. Assumed two composite video inputs
24 :c:type:`v4l2_input` or struct
25 :c:type:`v4l2_output`, where each bit represents the index
26 number, starting at zero, of one audio input or output.
32 The struct :c:type:`v4l2_audio` returned by the
34 status information applicable when the current audio input is queried.
38 audio input and output, respectively.
47 To select an audio input and change its properties applications call the
52 Drivers must implement all audio input ioctls when the device has
[all …]
H A Dstandard.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
10 variations of standards. Each video input and output may support another
12 :c:type:`v4l2_input` and struct
13 :c:type:`v4l2_output` returned by the
34 band. Enumeration gives a "PAL-B/G" or "PAL-I" choice. Similar a
35 Composite input may collapse standards, enumerating "PAL-B/G/H/I",
36 "NTSC-M" and "SECAM-D/K". [#f1]_
38 To query and select the standard used by the current video input or
47 :ref:`v4l2_std_id <v4l2-std-id>` type (a standard set), *not* an
55 - incapable of capturing fields or frames at the nominal rate of the
[all …]
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h700-anbernic-rg35xx-2024.dts1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
6 /dts-v1/;
8 #include "sun50i-h616.dtsi"
9 #include "sun50i-h616-cpu-opp.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/linux-event-codes.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/leds/common.h>
17 chassis-type = "handset";
18 compatible = "anbernic,rg35xx-2024", "allwinner,sun50i-h700";
[all …]
/linux/drivers/hid/
H A 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 …]
H A 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 …]
/linux/drivers/media/pci/cx88/
H A Dcx88-cards.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * card-specific stuff.
19 static unsigned int tuner[] = {[0 ... (CX88_MAXBOARDS - 1)] = UNSET };
20 static unsigned int radio[] = {[0 ... (CX88_MAXBOARDS - 1)] = UNSET };
21 static unsigned int card[] = {[0 ... (CX88_MAXBOARDS - 1)] = UNSET };
27 MODULE_PARM_DESC(tuner, "tuner type");
28 MODULE_PARM_DESC(radio, "radio tuner type");
29 MODULE_PARM_DESC(card, "card type");
45 /* ------------------------------------------------------------------ */
58 .input = { {
[all …]
/linux/drivers/hv/
H A Dmshv_root_hv_call.c1 // SPDX-License-Identifier: GPL-2.0-only
22 #define HV_PAGE_COUNT_2M_ALIGNED(pg_count) (!((pg_count) & (0x200 - 1)))
26 ((HV_HYP_PAGE_SIZE - sizeof(struct hv_input_map_gpa_pages)) \
29 ((HV_HYP_PAGE_SIZE - sizeof(struct hv_input_get_vp_state)) \
32 ((HV_HYP_PAGE_SIZE - sizeof(struct hv_input_set_vp_state)) \
35 ((HV_HYP_PAGE_SIZE - sizeof(union hv_gpa_page_access_state)) \
38 ((HV_HYP_PAGE_SIZE - \
55 return -ENOMEM; in hv_call_withdraw_memory()
64 input_page->partition_id = partition_id; in hv_call_withdraw_memory()
74 __free_page(pfn_to_page(output_page->gpa_page_list[i])); in hv_call_withdraw_memory()
[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/drivers/media/pci/ddbridge/
H A Dddbridge-core.c1 // SPDX-License-Identifier: GPL-2.0
3 * ddbridge-core.c: Digital Devices bridge core functions
5 * Copyright (C) 2010-2017 Digital Devices GmbH
25 #include "ddbridge-i2c.h"
26 #include "ddbridge-regs.h"
27 #include "ddbridge-max.h"
28 #include "ddbridge-ci.h"
29 #include "ddbridge-io.h"
44 #include "ddbridge-dummy-fe.h"
57 "0-one adapter per io, 1-one per tab with io, 2-one per tab, 3-one for all");
[all …]
/linux/tools/testing/selftests/damon/
H A Dsysfs.sh2 # SPDX-License-Identifier: GPL-2.0
6 # Kselftest frmework requirement - SKIP code is 4.
41 if [ "$to_ensure" = "exist" ] && [ ! -d "$dir" ]
45 elif [ "$to_ensure" = "not_exist" ] && [ -d "$dir" ]
59 if [ ! -f "$file" ]
64 perm=$(stat -c "%a" "$file")
70 elif [ "$to_ensure" = "not_exist" ] && [ -f "$dir" ]
105 ensure_file "$filter_dir/type" "exis
[all...]
/linux/drivers/acpi/
H A Dbutton.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * button.c - ACPI Button Driver
18 #include <linux/input.h>
73 /* GP-electronic T701, _LID method points to a floating GPIO */
172 unsigned int type; member
173 struct input_dev *input; member
174 char phys[32]; /* for input device */
183 static long lid_init_state = -1;
198 status = acpi_evaluate_integer(device->handle, "_LID", NULL, &lid_state); in acpi_lid_evaluate_state()
200 return -ENODEV; in acpi_lid_evaluate_state()
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dcirrus,cs48l32.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
13 The CS48L32 is a high-performance low-power audio DSP for smartphones and
15 DSP with a variety of power-efficient fixed-function audio processors.
19 include/dt-bindings/sound/cs48l32.yaml
22 - $ref: /schemas/spi/spi-peripheral-props.yaml#
23 - $ref: dai-common.yaml#
28 - cirrus,cs48l32
[all …]
H A Dti,tlv320adcx140.yaml1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter
11 - Andrew Davis <afd@ti.com>
14 The TLV320ADCX140 are multichannel (4-ch analog recording or 8-ch digital
15 PDM microphones recording), high-performance audio, analog-to-digital
28 - ti,tlv320adc3140
29 - ti,tlv320adc5140
30 - ti,tlv320adc6140
[all …]
/linux/drivers/input/misc/
H A Dmax77650-onkey.c1 // SPDX-License-Identifier: GPL-2.0
6 // ONKEY driver for MAXIM 77650/77651 charger/power-supply.
9 #include <linux/input.h>
21 struct input_dev *input; member
29 input_report_key(onkey->input, onkey->code, 0); in max77650_onkey_falling()
30 input_sync(onkey->input); in max77650_onkey_falling()
39 input_report_key(onkey->input, onkey->code, 1); in max77650_onkey_rising()
40 input_sync(onkey->input); in max77650_onkey_rising()
51 unsigned int type; in max77650_onkey_probe() local
53 dev = &pdev->dev; in max77650_onkey_probe()
[all …]
H A Dcs40l50-vibra.c1 // SPDX-License-Identifier: GPL-2.0
4 * integrated DSP, and closed-loop algorithms
12 #include <linux/input.h>
52 enum cs40l50_bank_type type; member
58 enum cs40l50_bank_type type; member
82 struct input_dev *input; member
100 .type = CS40L50_WVFRM_BANK_RAM,
105 .type = CS40L50_WVFRM_BANK_ROM,
110 .type = CS40L50_WVFRM_BANK_OWT,
133 if (effect->id == id) in cs40l50_find_effect()
[all …]
/linux/Documentation/arch/sparc/oradax/
H A 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
77 …See Section 36.2.1, “Query CCB Command Formats” for the corresponding CCB input and output formats.
81 36.1.1.2. "ORCL,sun4v-dax-fc" Device Compatibility
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_model.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
12 int (*val)(struct ixgbe_fdir_filter *input,
15 unsigned int type; member
20 struct ixgbe_fdir_filter *input; member
28 static inline int ixgbe_mat_prgm_sip(struct ixgbe_fdir_filter *input, in ixgbe_mat_prgm_sip() argument
32 input->filter.formatted.src_ip[0] = (__force __be32)val; in ixgbe_mat_prgm_sip()
33 mask->formatted.src_ip[0] = (__force __be32)m; in ixgbe_mat_prgm_sip()
37 static inline int ixgbe_mat_prgm_dip(struct ixgbe_fdir_filter *input, in ixgbe_mat_prgm_dip() argument
41 input->filter.formatted.dst_ip[0] = (__force __be32)val; in ixgbe_mat_prgm_dip()
[all …]
/linux/drivers/media/usb/em28xx/
H A Dem28xx-cards.c1 // SPDX-License-Identifier: GPL-2.0+
3 // em28xx-cards.c - driver for Empia EM2800/EM2820/2840 USB
21 #include <media/drv-intf/msp3400.h>
23 #include <dt-bindings/media/tvp5150.h>
26 #include <media/v4l2-common.h>
31 static int tuner = -1;
33 MODULE_PARM_DESC(tuner, "tuner type");
44 static unsigned int card[] = {[0 ... (EM28XX_MAXBOARDS - 1)] = -1U };
46 MODULE_PARM_DESC(card, "card type");
48 static int usb_xfer_mode = -1;
[all …]
/linux/arch/riscv/boot/dts/sophgo/
H A Dsg2042-milkv-pioneer.dts1 // SPDX-License-Identifier: GPL-2.0 OR MIT
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
12 model = "Milk-V Pioneer";
16 stdout-path = "serial0";
19 gpio-power {
20 compatible = "gpio-keys";
22 key-power {
26 linux,input-type = <EV_KEY>;
27 debounce-interval = <100>;
[all …]

12345678910>>...43