/linux/Documentation/admin-guide/media/ |
H A D | si4713.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 ---------------------------- 29 ------------------------- 34 The I2C device driver exports a v4l2-subdev interface to the kernel. 36 using the v4l2-subdev calls (g_ext_ctrls, s_ext_ctrls). 48 ---------------------- 51 Here is an output from v4l2-ctl util: 53 .. code-block:: none 55 / # v4l2-ctl -d /dev/radio0 --all -L 57 Driver name : radio-si4713 [all …]
|
/linux/Documentation/devicetree/bindings/input/ |
H A D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 - $ref: input.yaml# 16 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 17 additional Hall-effect and inductive sensing capabilities. 24 - azoteq,iqs269a 25 - azoteq,iqs269a-00 26 - azoteq,iqs269a-d0 [all …]
|
H A D | azoteq,iqs7222.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 21 - azoteq,iqs7222a 22 - azoteq,iqs7222b 23 - azoteq,iqs7222c 24 - azoteq,iqs7222d 29 irq-gpios: 32 Specifies the GPIO connected to the device's active-low RDY output. [all …]
|
/linux/drivers/input/misc/ |
H A D | iqs269a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * inductive keys as well as Hall-effect switches, and one for each of the two 225 .name = "event-prox", 231 .name = "event-prox-alt", 238 .name = "event-touch", 244 .name = "event-touch-alt", 251 .name = "event-deep", 257 .name = "event-deep-alt", 324 struct input_dev *slider[IQS269_NUM_SL]; member 339 * Slider 1 is unavailable if the touch-and-hold option is enabled via in iqs269_slider_type() [all …]
|
H A D | ad714x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2009-2011 Analog Devices Inc. 108 * Unlike slider/wheel/touchpad, all buttons point to 115 struct ad714x_slider_drv *slider; member 132 mask = ((1 << (end_stage + 1)) - 1) - ((1 << start_stage) - 1); in ad714x_use_com_int() 134 ad714x->read(ad714x, STG_COM_INT_EN_REG, &data, 1); in ad714x_use_com_int() 136 ad714x->write(ad714x, STG_COM_INT_EN_REG, data); in ad714x_use_com_int() 138 ad714x->read(ad714x, STG_HIGH_INT_EN_REG, &data, 1); in ad714x_use_com_int() 140 ad714x->write(ad714x, STG_HIGH_INT_EN_REG, data); in ad714x_use_com_int() 149 mask = ((1 << (end_stage + 1)) - 1) - ((1 << start_stage) - 1); in ad714x_use_thr_int() [all …]
|
H A D | iqs7222.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 116 [IQS7222_REG_GRP_CYCLE] = "cycle-%d", 117 [IQS7222_REG_GRP_CHAN] = "channel-%d", 118 [IQS7222_REG_GRP_SLDR] = "slider-%d", 120 [IQS7222_REG_GRP_GPIO] = "gpio-%d", 150 .name = "event-prox", 155 .name = "event-touch", 162 { .name = "event-press", }, 164 .name = "event-tap", 171 .name = "event-swipe-pos", [all …]
|
/linux/drivers/hid/ |
H A D | hid-pxrc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * HID driver for PhoenixRC 8-axis flight controller 12 #include "hid-ids.h" 15 u8 slider; member 27 0x09, 0x36, // Usage (Slider) 58 if (priv->alternate) in pxrc_raw_event() 59 priv->slider = data[7]; in pxrc_raw_event() 61 priv->dial = data[7]; in pxrc_raw_event() 63 data[1] = priv->slider; in pxrc_raw_event() 64 data[7] = priv->dial; in pxrc_raw_event() [all …]
|
H A D | hid-holtek-mouse.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #include "hid-ids.h" 24 * - USB ID 04d9:a067, sold as Sharkoon Drakonia and Perixx MX-2000 25 * - USB ID 04d9:a04a, sold as Tracer Sniper TRM-503, NOVA Gaming Slider X200 26 * and Zalman ZM-GM1 27 * - USB ID 04d9:a081, sold as SHARKOON DarkGlider Gaming mouse 28 * - USB ID 04d9:a072, sold as LEETGION Hellion Gaming Mouse 29 * - USB ID 04d9:a0c2, sold as ETEKCITY Scroll T-140 Gaming Mouse 35 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in holtek_mouse_report_fixup() 37 if (intf->cur_altsetting->desc.bInterfaceNumber == 1) { in holtek_mouse_report_fixup() [all …]
|
H A D | hid-lg-g15.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 #include "hid-ids.h" 72 ret = hid_hw_raw_request(g15->hdev, LG_G15_FEATURE_REPORT, in lg_g15_update_led_brightness() 73 g15->transfer_buf, 4, in lg_g15_update_led_brightness() 76 hid_err(g15->hdev, "Error getting LED brightness: %d\n", ret); in lg_g15_update_led_brightness() 77 return (ret < 0) ? ret : -EIO; in lg_g15_update_led_brightness() 80 g15->leds[LG_G15_KBD_BRIGHTNESS].brightness = g15->transfer_buf[1]; in lg_g15_update_led_brightness() 81 g15->leds[LG_G15_LCD_BRIGHTNESS].brightness = g15->transfer_buf[2]; in lg_g15_update_led_brightness() 83 g15->leds[LG_G15_MACRO_PRESET1].brightness = in lg_g15_update_led_brightness() 84 !(g15->transfer_buf[3] & 0x01); in lg_g15_update_led_brightness() [all …]
|
/linux/drivers/platform/x86/amd/pmf/ |
H A D | sps.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Author: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> 44 return "Unknown Slider State"; in slider_as_str() 64 pr_debug("Static Slider Data - BEGIN\n"); in amd_pmf_dump_sps_defaults() 68 pr_debug("--- Source:%s Mode:%s ---\n", amd_pmf_source_as_str(i), in amd_pmf_dump_sps_defaults() 70 pr_debug("SPL: %u mW\n", data->prop[i][j].spl); in amd_pmf_dump_sps_defaults() 71 pr_debug("SPPT: %u mW\n", data->prop[i][j].sppt); in amd_pmf_dump_sps_defaults() 72 pr_debug("SPPT_ApuOnly: %u mW\n", data->prop[i][j].sppt_apu_only); in amd_pmf_dump_sps_defaults() 73 pr_debug("FPPT: %u mW\n", data->prop[i][j].fppt); in amd_pmf_dump_sps_defaults() 74 pr_debug("STTMinLimit: %u mW\n", data->prop[i][j].stt_min); in amd_pmf_dump_sps_defaults() [all …]
|
H A D | spc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * AMD Platform Management Framework Driver - Smart PC Capabilities 8 * Authors: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> 13 #include <linux/amd-pmf-io.h> 29 return "Unknown TA Slider State"; in ta_slider_as_str() 35 dev_dbg(dev->dev, "==== TA inputs START ====\n"); in amd_pmf_dump_ta_inputs() 36 dev_dbg(dev->dev, "Slider State: %s\n", ta_slider_as_str(in->ev_info.power_slider)); in amd_pmf_dump_ta_inputs() 37 dev_dbg(dev->dev, "Power Source: %s\n", amd_pmf_source_as_str(in->ev_info.power_source)); in amd_pmf_dump_ta_inputs() 38 dev_dbg(dev->dev, "Battery Percentage: %u\n", in->ev_info.bat_percentage); in amd_pmf_dump_ta_inputs() 39 dev_dbg(dev->dev, "Designed Battery Capacity: %u\n", in->ev_info.bat_design); in amd_pmf_dump_ta_inputs() [all …]
|
H A D | cnqf.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Author: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> 38 pr_debug("Dynamic Slider %s Defaults - BEGIN\n", idx ? "DC" : "AC"); in amd_pmf_cnqf_dump_defaults() 39 pr_debug("size: %u\n", data->size); in amd_pmf_cnqf_dump_defaults() 40 pr_debug("flags: 0x%x\n", data->flags); in amd_pmf_cnqf_dump_defaults() 43 pr_debug("t_perf_to_turbo: %u ms\n", data->t_perf_to_turbo); in amd_pmf_cnqf_dump_defaults() 44 pr_debug("t_balanced_to_perf: %u ms\n", data->t_balanced_to_perf); in amd_pmf_cnqf_dump_defaults() 45 pr_debug("t_quiet_to_balanced: %u ms\n", data->t_quiet_to_balanced); in amd_pmf_cnqf_dump_defaults() 46 pr_debug("t_balanced_to_quiet: %u ms\n", data->t_balanced_to_quiet); in amd_pmf_cnqf_dump_defaults() 47 pr_debug("t_perf_to_balanced: %u ms\n", data->t_perf_to_balanced); in amd_pmf_cnqf_dump_defaults() [all …]
|
H A D | auto-mode.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Author: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> 23 pr_debug("Auto Mode Data - BEGIN\n"); in amd_pmf_dump_auto_mode_defaults() 27 data->transition[AUTO_TRANSITION_TO_PERFORMANCE].time_constant); in amd_pmf_dump_auto_mode_defaults() 29 data->transition[AUTO_TRANSITION_FROM_PERFORMANCE_TO_BALANCE].time_constant); in amd_pmf_dump_auto_mode_defaults() 31 data->transition[AUTO_TRANSITION_FROM_QUIET_TO_BALANCE].time_constant); in amd_pmf_dump_auto_mode_defaults() 33 data->transition[AUTO_TRANSITION_TO_QUIET].time_constant); in amd_pmf_dump_auto_mode_defaults() 36 pr_debug("pfloor_perf: %u mW\n", data->mode_set[AUTO_PERFORMANCE].power_floor); in amd_pmf_dump_auto_mode_defaults() 37 pr_debug("pfloor_balanced: %u mW\n", data->mode_set[AUTO_BALANCE].power_floor); in amd_pmf_dump_auto_mode_defaults() 38 pr_debug("pfloor_quiet: %u mW\n", data->mode_set[AUTO_QUIET].power_floor); in amd_pmf_dump_auto_mode_defaults() [all …]
|
H A D | pmf.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * Author: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> 70 /* OS slider update notification */ 205 u16 core_temp[16]; /* centi-C */ 206 u16 gfx_temp; /* centi-C */ 207 u16 soc_temp; /* centi-C */ 212 u16 skin_temp; /* centi-C */ 215 u16 gfx_activity; /* GFX busy % [0-100] */ 218 u16 vcn_activity; /* VCN busy % [0-100] */ 221 u16 ipu_busy[8]; /* NPU busy % [0-100] */ [all …]
|
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Author: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> 20 /* PMF-SMU communication registers */ 66 if ((pmf->amt_enabled || pmf->cnqf_enabled) && is_pprof_balanced(pmf)) in amd_pmf_pwr_src_notify_call() 81 struct amd_pmf_dev *dev = seq->private; in current_power_limits_show() 105 debugfs_remove_recursive(dev->dbgfs_dir); in amd_pmf_dbgfs_unregister() 110 dev->dbgfs_dir = debugfs_create_dir("amd_pmf", NULL); in amd_pmf_dbgfs_register() 111 if (dev->pmf_if_version == PMF_IF_V1) in amd_pmf_dbgfs_register() 112 debugfs_create_file("current_power_limits", 0644, dev->dbgfs_dir, dev, in amd_pmf_dbgfs_register() 130 mutex_lock(&dev->update_mutex); in amd_pmf_get_metrics() [all …]
|
H A D | tee-if.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * AMD Platform Management Framework Driver - TEE Interface 8 * Author: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> 54 arg->func = cmd; in amd_pmf_prepare_args() 55 arg->session = dev->session_id; in amd_pmf_prepare_args() 56 arg->num_params = MAX_TEE_PARAM; in amd_pmf_prepare_args() 61 param[0].u.memref.shm = dev->fw_shm_pool; in amd_pmf_prepare_args() 67 input_report_key(dev->pmf_idev, event, 1); /* key press */ in amd_pmf_update_uevents() 68 input_sync(dev->pmf_idev); in amd_pmf_update_uevents() 69 input_report_key(dev->pmf_idev, event, 0); /* key release */ in amd_pmf_update_uevents() [all …]
|
/linux/include/linux/input/ |
H A D | ad714x.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * slider, touchpad at the same time. That depends on the boards. 10 * Copyright 2009-2011 Analog Devices Inc. 54 struct ad714x_slider_plat *slider; member
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-queryctrl.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls and menu control i… 42 of a struct :ref:`v4l2_queryctrl <v4l2-queryctrl>` and call the 60 driver returns the next supported non-compound control, or ``EINVAL`` if 72 :ref:`v4l2_queryctrl <v4l2-queryctrl>` since that structure is full. 80 fields of struct :ref:`v4l2_querymenu <v4l2-querymenu>` and call the 85 :ref:`v4l2_queryctrl <v4l2-queryctrl>` ``minimum`` to ``maximum``, 99 .. _v4l2-queryctrl: 103 .. flat-table:: struct v4l2_queryctrl 104 :header-rows: 0 [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap4-droid4-xt894.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "motorola-mapphone-xt8xx.dtsi" 11 stdout-path = &uart3; 20 compatible = "gpio-keys"; 26 linux,can-disable; 28 debounce-interval = <10>; 35 slider { 37 interrupts-extended = <&omap4_pmx_core 0xd6>; 39 linux,input-type = <EV_SW>; [all …]
|
/linux/drivers/platform/x86/dell/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 Dell x86 platforms, including vendor-specific laptop extension drivers. 29 USB MCU such as the X51 and X51-R2. 41 See <file:Documentation/userspace-api/dcdbas.rst> for more details on the driver 77 See <file:Documentation/admin-guide/dell_rbu.rst> for more details on the driver. 89 on hardware type (hw switch slider or keyboard toggle button). For 94 be called dell-rbtn. 133 communicated over ACPI-WMI. 161 be called dell-smo8800. 190 Say Y here if you want to support WMI-based hotkeys on Dell laptops. [all …]
|
/linux/drivers/hid/bpf/progs/ |
H A D | FR-TEC__Raptor-Mach-2.bpf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 83 * 0x09, 0x36, // Usage (Slider) 138 131 * - the joystick sends its hat_switch data between 0 and 239 but 179 ctx->retval = ctx->rdesc_size != 232; in probe() 180 if (ctx->retval) in probe() 181 ctx->retval = -EINVAL; in probe() 184 if (ctx->rdesc[177] != 0xef) /* Logical Max of 239 */ in probe() 185 ctx->retval = -EINVAL; in probe()
|
/linux/arch/mips/boot/dts/ingenic/ |
H A D | gcw0.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 5 #include <dt-bindings/clock/ingenic,tcu.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/iio/adc/ingenic,adc.h> 9 #include <dt-bindings/input/input.h> 29 stdout-path = "serial2:57600n8"; 33 compatible = "regulator-fixed"; 34 regulator-name = "vcc"; 36 regulator-min-microvolt = <3300000>; [all …]
|
/linux/sound/usb/usx2y/ |
H A D | usbusx2y.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * usbusx2y.c - ALSA USB US-428 Driver 5 2005-04-14 Karsten Wiese 8 Tested ok with kernel 2.6.12-rc2. 10 2004-12-14 Karsten Wiese 12 …snd_pcm_open for rawusb pcm-devices now returns -EBUSY if called without rawusb's hwdep device bei… 14 2004-12-02 Karsten Wiese 18 2004-10-26 Karsten Wiese 22 2004-10-21 Karsten Wiese 26 2004-10-03 Karsten Wiese [all …]
|
/linux/arch/arm/mach-footbridge/ |
H A D | netwinder-hw.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * linux/arch/arm/mach-footbridge/netwinder-hw.c 20 #include <asm/mach-types.h> 219 * Initialise the Winbond W83977F Infra-Red device 237 * RX DMA - ISA DMA 0 in wb977_init_irda() 242 * TX DMA - Disable Tx DMA in wb977_init_irda() 267 current_gpio_io = -1; in wb977_init_gpio() 268 __gpio_modify_io(-1, GPIO_DONE | GPIO_WDTIMER); in wb977_init_gpio() 304 * - timer disable in wb977_init_gpio() 309 * - disable LED, no mouse nor keyboard IRQ in wb977_init_gpio() [all …]
|
/linux/Documentation/admin-guide/laptops/ |
H A D | thinkpad-acpi.rst | 9 - Borislav Deianov <borislav@users.sf.net> 10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br> 12 http://ibm-acpi.sf.net/ 19 This driver used to be named ibm-acpi until kernel 2.6.21 and release 20 0.13-20070314. It used to be in the drivers/acpi tree, but it was 21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel 25 The driver is named "thinkpad-acpi". In some places, like module 29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too 33 ------ 38 - Fn key combinations [all …]
|