/openbmc/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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
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 …]
|
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 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: 37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes [all …]
|
/openbmc/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 …]
|
H A D | hid-nvidia-shield.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #include <linux/input-event-codes.h> 20 #include "hid-ids.h" 26 HID_USAGE_ANDROID_PLAYPAUSE_BTN = 0xcd, /* Double-tap volume slider */ 201 * Non-trivial to uniquely identify Thunderstrike controllers at initialization 211 /* Sub-devices */ 232 report->report_id = THUNDERSTRIKE_HOSTCMD_REQ_REPORT_ID; in thunderstrike_hostcmd_req_report_init() 233 report->cmd_id = cmd_id; in thunderstrike_hostcmd_req_report_init() 238 dest[0] = ('A' - 1) + (rev >> 8); in shield_strrev() 239 snprintf(&dest[1], len - 1, "%02X", 0xff & rev); in shield_strrev() [all …]
|
/openbmc/linux/drivers/input/misc/ |
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 | 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 193 .name = "event-prox", 199 .name = "event-prox-alt", 206 .name = "event-touch", 212 .name = "event-touch-alt", 219 .name = "event-deep", 225 .name = "event-deep-alt", 291 struct input_dev *slider[IQS269_NUM_SL]; member 301 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_mode_set() [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 …]
|
/openbmc/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
|
/openbmc/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> 26 return "Unknown Slider State"; in slider_as_str() 46 pr_debug("Static Slider Data - BEGIN\n"); in amd_pmf_dump_sps_defaults() 50 pr_debug("--- Source:%s Mode:%s ---\n", source_as_str(i), slider_as_str(j)); in amd_pmf_dump_sps_defaults() 51 pr_debug("SPL: %u mW\n", data->prop[i][j].spl); in amd_pmf_dump_sps_defaults() 52 pr_debug("SPPT: %u mW\n", data->prop[i][j].sppt); in amd_pmf_dump_sps_defaults() 53 pr_debug("SPPT_ApuOnly: %u mW\n", data->prop[i][j].sppt_apu_only); in amd_pmf_dump_sps_defaults() 54 pr_debug("FPPT: %u mW\n", data->prop[i][j].fppt); in amd_pmf_dump_sps_defaults() 55 pr_debug("STTMinLimit: %u mW\n", data->prop[i][j].stt_min); in amd_pmf_dump_sps_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> 48 /* OS slider update notification */ 113 u16 core_temp[8]; /* in centi-Celsius */ 115 u16 l3_temp; /* in centi-Celsius */ 116 u16 gfx_temp; /* in centi-Celsius */ 117 u16 soc_temp; /* in centi-Celsius */ 130 u16 skin_temp; /* in centi-Celsius */ 194 /* Static Slider */
|
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 | 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 */ 71 if ((pmf->amt_enabled || pmf->cnqf_enabled) && is_pprof_balanced(pmf)) in amd_pmf_pwr_src_notify_call() 86 struct amd_pmf_dev *dev = seq->private; in current_power_limits_show() 110 debugfs_remove_recursive(dev->dbgfs_dir); in amd_pmf_dbgfs_unregister() 115 dev->dbgfs_dir = debugfs_create_dir("amd_pmf", NULL); in amd_pmf_dbgfs_register() 116 debugfs_create_file("current_power_limits", 0644, dev->dbgfs_dir, dev, in amd_pmf_dbgfs_register() 134 mutex_lock(&dev->update_mutex); in amd_pmf_get_metrics() 136 memset(dev->buf, 0, sizeof(dev->m_table)); in amd_pmf_get_metrics() [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/manual/ |
H A D | bsp-hw.json | 4 "@alias": "bsps-hw.bsps-hw.boot_and_install_from_USB", 38 "@alias": "bsps-hw.bsps-hw.live_boot_from_USB", 64 "@alias": "bsps-hw.bsps-hw.switch_among_multi_applications_and_desktop", 94 "@alias": "bsps-hw.bsps-hw.connman_offline_mode_in_connman-gnome", 103 "action": "Launch connman-properties after system booting \n\n", 111 "summary": "connman_offline_mode_in_connman-gnome" 116 "@alias": "bsps-hw.bsps-hw.check_CPU_utilization_after_standby", 146 "@alias": "bsps-hw.bsps-hw.Add_multiple_files_in_media_player", 172 "@alias": "bsps-hw.bsps-hw.video_-_libva_check_(ogg_video_play)", 193 "summary": "video_-_libva_check_(ogg_video_play)" [all …]
|
/openbmc/openbmc/poky/scripts/lib/build_perf/html/ |
H A D | measurement_chart.html | 35 return [point[0]-150, '10%']; 58 return Math.round(value.min - 0.5); 66 type: 'slider', 86 if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
/openbmc/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 …]
|
/openbmc/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-common.dtsi" 8 compatible = "gpio-keys"; 14 linux,can-disable; 16 debounce-interval = <10>; 23 slider { 25 interrupts-extended = <&omap4_pmx_core 0xd6>; 27 linux,input-type = <EV_SW>; 29 linux,can-disable; [all …]
|
/openbmc/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. 28 USB MCU such as the X51 and X51-R2. 40 See <file:Documentation/driver-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. 120 communicated over ACPI-WMI. 148 be called dell-smo8800. 161 Say Y here if you want to support WMI-based hotkeys on Dell laptops. [all …]
|
/openbmc/openbmc/poky/bitbake/lib/progressbar/ |
H A D | widgets.py | 1 # -*- coding: utf-8 -*- 3 # progressbar - Text progress bar library for Python. 6 # SPDX-License-Identifier: LGPL-2.1-or-later OR BSD-3-Clause-Clear 20 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 61 pbar - a reference to the calling ProgressBar 77 pbar - a reference to the calling ProgressBar 78 width - The total width the widget must fill 113 return 'ETA: --:--:--' 118 eta = elapsed * pbar.maxval / pbar.currval - elapsed 146 return elapsed * maxval / float(currval) - elapsed [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|