| /kernel/linux/linux-6.6/drivers/input/keyboard/ |
| D | gpio_keys.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 #include <linux/input.h> 31 #include <dt-bindings/input/gpio-keys.h> 35 struct input_dev *input; member 41 unsigned int release_delay; /* in msecs, for IRQ-only buttons */ 45 unsigned int software_debounce; /* in msecs, for GPIO-driven buttons */ 58 struct input_dev *input; member 67 * There are 4 attributes under /sys/devices/platform/gpio-keys/ 68 * keys [ro] - bitmap of keys (EV_KEY) which can be 70 * switches [ro] - bitmap of switches (EV_SW) which can be [all …]
|
| D | gpio_keys_polled.c | 1 // 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 …]
|
| D | tca6416-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <linux/input.h> 30 { "tca6416-keys", 16, }, 31 { "tca6408-keys", 8, }, 37 struct input_dev *input; member 47 struct input_dev *input; member 59 error = chip->io_size > 8 ? in tca6416_write_reg() 60 i2c_smbus_write_word_data(chip->client, reg << 1, val) : in tca6416_write_reg() 61 i2c_smbus_write_byte_data(chip->client, reg, val); in tca6416_write_reg() 63 dev_err(&chip->client->dev, in tca6416_write_reg() [all …]
|
| /kernel/linux/linux-5.10/drivers/input/keyboard/ |
| D | gpio_keys.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 #include <linux/input.h> 30 #include <dt-bindings/input/gpio-keys.h> 34 struct input_dev *input; member 40 unsigned int release_delay; /* in msecs, for IRQ-only buttons */ 43 unsigned int software_debounce; /* in msecs, for GPIO-driven buttons */ 55 struct input_dev *input; member 64 * There are 4 attributes under /sys/devices/platform/gpio-keys/ 65 * keys [ro] - bitmap of keys (EV_KEY) which can be 67 * switches [ro] - bitmap of switches (EV_SW) which can be [all …]
|
| D | gpio_keys_polled.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/pci/ivtv/ |
| D | ivtv-routing.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Audio/video-routing-related ivtv functions. 4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> 9 #include "ivtv-driver.h" 10 #include "ivtv-i2c.h" 11 #include "ivtv-cards.h" 12 #include "ivtv-gpio.h" 13 #include "ivtv-routing.h" 15 #include <media/drv-intf/msp3400.h> [all …]
|
| /kernel/linux/linux-6.6/drivers/media/pci/ivtv/ |
| D | ivtv-routing.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Audio/video-routing-related ivtv functions. 4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> 9 #include "ivtv-driver.h" 10 #include "ivtv-i2c.h" 11 #include "ivtv-cards.h" 12 #include "ivtv-gpio.h" 13 #include "ivtv-routing.h" 15 #include <media/drv-intf/msp3400.h> [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/addac/ |
| D | adi,ad74115.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/ |
| D | videodev2.h.rst.exceptions | 1 # SPDX-License-Identifier: GPL-2.0 14 # Those symbols should not be used by uAPI - don't document them 20 replace symbol V4L2_FIELD_ALTERNATE :c:type:`v4l2_field` 21 replace symbol V4L2_FIELD_ANY :c:type:`v4l2_field` 22 replace symbol V4L2_FIELD_BOTTOM :c:type:`v4l2_field` 23 replace symbol V4L2_FIELD_INTERLACED :c:type:`v4l2_field` 24 replace symbol V4L2_FIELD_INTERLACED_BT :c:type:`v4l2_field` 25 replace symbol V4L2_FIELD_INTERLACED_TB :c:type:`v4l2_field` 26 replace symbol V4L2_FIELD_NONE :c:type:`v4l2_field` 27 replace symbol V4L2_FIELD_SEQ_BT :c:type:`v4l2_field` [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/ |
| D | videodev2.h.rst.exceptions | 1 # SPDX-License-Identifier: GPL-2.0 14 # Those symbols should not be used by uAPI - don't document them 20 replace symbol V4L2_FIELD_ALTERNATE :c:type:`v4l2_field` 21 replace symbol V4L2_FIELD_ANY :c:type:`v4l2_field` 22 replace symbol V4L2_FIELD_BOTTOM :c:type:`v4l2_field` 23 replace symbol V4L2_FIELD_INTERLACED :c:type:`v4l2_field` 24 replace symbol V4L2_FIELD_INTERLACED_BT :c:type:`v4l2_field` 25 replace symbol V4L2_FIELD_INTERLACED_TB :c:type:`v4l2_field` 26 replace symbol V4L2_FIELD_NONE :c:type:`v4l2_field` 27 replace symbol V4L2_FIELD_SEQ_BT :c:type:`v4l2_field` [all …]
|
| /kernel/linux/linux-5.10/drivers/platform/x86/ |
| D | classmate-laptop.c | 1 // 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 79 param[0].type = ACPI_TYPE_INTEGER; in cmpc_start_accel_v4() [all …]
|
| /kernel/linux/linux-6.6/drivers/platform/x86/ |
| D | classmate-laptop.c | 1 // 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 79 param[0].type = ACPI_TYPE_INTEGER; in cmpc_start_accel_v4() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | pincfg-node.yaml | 1 # 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | pincfg-node.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | vidioc-enuminput.rst | 1 .. 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 …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/ |
| D | vidioc-enuminput.rst | 1 .. 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 …]
|
| /kernel/linux/linux-5.10/drivers/hid/ |
| D | wacom_wac.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drivers/input/tablet/wacom_wac.c 5 * USB Wacom tablet support - Wacom specific code 13 #include <linux/input/mt.h> 30 * 2^14/pi is a good approximation on Intuos5 and 3rd-gen Bamboo 48 struct input_dev *input = wacom_wac->pen_input; in wacom_force_proxout() local 50 wacom_wac->shared->stylus_in_proximity = 0; in wacom_force_proxout() 52 input_report_key(input, BTN_TOUCH, 0); in wacom_force_proxout() 53 input_report_key(input, BTN_STYLUS, 0); in wacom_force_proxout() 54 input_report_key(input, BTN_STYLUS2, 0); in wacom_force_proxout() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/pci/cx88/ |
| D | cx88-cards.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/pci/cx88/ |
| D | cx88-cards.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/hid/ |
| D | wacom_wac.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/allwinner/ |
| D | sun4i-a10-inet9f-rev03.dts | 4 * 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | sun4i-a10-inet9f-rev03.dts | 4 * 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 …]
|
| /kernel/linux/linux-5.10/drivers/input/ |
| D | sparse-keymap.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/input/ |
| D | sparse-keymap.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/damon/ |
| D | sysfs.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Kselftest frmework requirement - SKIP code is 4. 39 if [ "$to_ensure" = "exist" ] && [ ! -d "$dir" ] 43 elif [ "$to_ensure" = "not_exist" ] && [ -d "$dir" ] 57 if [ ! -f "$file" ] 62 perm=$(stat -c "%a" "$file") 68 elif [ "$to_ensure" = "not_exist" ] && [ -f "$dir" ] 103 ensure_file "$filter_dir/type" "exist" "600" 104 ensure_write_succ "$filter_dir/type" "anon" "valid input" 105 ensure_write_succ "$filter_dir/type" "memcg" "valid input" [all …]
|