/openbmc/linux/Documentation/admin-guide/media/ |
H A D | si4713.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 ---------------------------- 16 This chip is a Silicon Labs product. It is a I2C device, currently on 0x63 address. 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 [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": 32 const: 0 34 azoteq,hall-enable: [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 21 0x05, 0x01, // Usage Page (Generic Desktop Ctrls) 22 0x09, 0x04, // Usage (Joystick) 23 0xA1, 0x01, // Collection (Application) 24 0x09, 0x01, // Usage (Pointer) 25 0xA1, 0x00, // Collection (Physical) 26 0x09, 0x30, // Usage (X) [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" 21 #define LG_G15_FEATURE_REPORT 0x02 23 #define LG_G510_FEATURE_M_KEYS_LEDS 0x04 24 #define LG_G510_FEATURE_BACKLIGHT_RGB 0x05 25 #define LG_G510_FEATURE_POWER_ON_RGB 0x06 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() [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 */ 27 HID_USAGE_ANDROID_VOLUMEUP_BTN = 0xe9, 28 HID_USAGE_ANDROID_VOLUMEDOWN_BTN = 0xea, 29 HID_USAGE_ANDROID_SEARCH_BTN = 0x221, /* NVIDIA btn on Thunderstrike */ 30 HID_USAGE_ANDROID_HOME_BTN = 0x223, 31 HID_USAGE_ANDROID_BACK_BTN = 0x224, 35 SHIELD_FW_VERSION_INITIALIZED = 0, [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. 16 #define AD714X_PWR_CTRL 0x0 17 #define AD714X_STG_CAL_EN_REG 0x1 18 #define AD714X_AMB_COMP_CTRL0_REG 0x2 19 #define AD714X_PARTID_REG 0x17 20 #define AD7142_PARTID 0xE620 21 #define AD7143_PARTID 0xE630 22 #define AD7147_PARTID 0x1470 23 #define AD7148_PARTID 0x1480 [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 27 #define IQS269_VER_INFO 0x00 28 #define IQS269_VER_INFO_PROD_NUM 0x4F 30 #define IQS269_SYS_FLAGS 0x02 36 #define IQS269_CHx_COUNTS 0x08 38 #define IQS269_SLIDER_X 0x30 40 #define IQS269_CAL_DATA_A 0x35 46 #define IQS269_SYS_SETTINGS 0x80 60 #define IQS269_SYS_SETTINGS_ACK_RESET BIT(0) [all …]
|
H A D | iqs7222.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 25 #define IQS7222_PROD_NUM 0x00 31 #define IQS7222_SYS_STATUS 0x10 34 #define IQS7222_SYS_STATUS_ATI_ACTIVE BIT(0) 41 #define IQS7222_SLDR_SETUP_0_CHAN_CNT_MASK GENMASK(2, 0) 44 #define IQS7222_SLDR_SETUP_2_TOP_SPEED_MASK GENMASK(7, 0) 46 #define IQS7222_GPIO_SETUP_0_GPIO_EN BIT(0) 48 #define IQS7222_SYS_SETUP 0xD0 55 #define IQS7222_SYS_SETUP_ACK_RESET BIT(0) 61 #define IQS7222_EVENT_MASK_PROX BIT(0) [all …]
|
/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() 48 for (i = 0; i < POWER_SOURCE_MAX; i++) { in amd_pmf_dump_sps_defaults() 49 for (j = 0; j < POWER_MODE_MAX; j++) { 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() [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> 18 #define APMF_FUNC_VERIFY_INTERFACE 0 30 #define SET_SPL 0x03 /* SPL: Sustained Power Limit */ 31 #define SET_SPPT 0x05 /* SPPT: Slow Package Power Tracking */ 32 #define SET_FPPT 0x07 /* FPPT: Fast Package Power Tracking */ 33 #define GET_SPL 0x0B 34 #define GET_SPPT 0x0D 35 #define GET_FPPT 0x0F 36 #define SET_DRAM_ADDR_HIGH 0x14 [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 | 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 */ 21 #define AMD_PMF_REGISTER_MESSAGE 0xA18 22 #define AMD_PMF_REGISTER_RESPONSE 0xA78 23 #define AMD_PMF_REGISTER_ARGUMENT 0xA58 26 #define AMD_PMF_MAPPING_SIZE 0x01000 27 #define AMD_PMF_BASE_ADDR_OFFSET 0x10000 28 #define AMD_PMF_BASE_ADDR_LO 0x13B102E8 29 #define AMD_PMF_BASE_ADDR_HI 0x13B102EC [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 | 10 return time[0]*60 + time[1] + time[2]/60 + time[3]/3600; 35 return [point[0]-150, '10%']; 38 const value = param[0].value[1] 41 const commitLink = `https://git.yoctoproject.org/poky/commit/?id=${sample[0][3]}` 46 …er:</strong> <a href="${commitLink}" target="_blank" rel="noreferrer noopener">${sample[0][0]}</a>` 48 …er:</strong> <a href="${commitLink}" target="_blank" rel="noreferrer noopener">${sample[0][0]}</a>` 58 return Math.round(value.min - 0.5); 66 type: 'slider', 67 xAxisIndex: 0, 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``, 93 this driver. Also note that the ``minimum`` value is not necessarily 0. 99 .. _v4l2-queryctrl: 103 .. flat-table:: struct v4l2_queryctrl [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>; 20 * We use pad 0x4a100116 abe_dmic_din3.gpio_122 as the irq instead 23 slider { 25 interrupts-extended = <&omap4_pmx_core 0xd6>; 27 linux,input-type = <EV_SW>; [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 112 if pbar.currval == 0: 113 return 'ETA: --:--:--' 118 eta = elapsed * pbar.maxval / pbar.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> 24 reg = <0x0 0x10000000>, 25 <0x30000000 0x10000000>; 29 stdout-path = "serial2:57600n8"; 32 vcc: regulator@0 { [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> 28 #define IRDA_IO_BASE 0x180 29 #define GP1_IO_BASE 0x338 30 #define GP2_IO_BASE 0x33a 37 outb(0x87, 0x370); in wb977_open() 38 outb(0x87, 0x370); in wb977_open() 43 outb(0xaa, 0x370); in wb977_close() 48 outb(reg, 0x370); in wb977_wb() [all …]
|
/openbmc/linux/sound/usb/caiaq/ |
H A D | input.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 91 MASCHINE_BUTTON(0), /* control */ 125 #define LOW_PEAK (-7) 130 * from 0 to 999 */ 136 int range = HIGH_PEAK - LOW_PEAK; in decode_erp() 139 weight_b = abs(mid_value - a) - (range / 2 - 100) / 2; in decode_erp() 141 if (weight_b < 0) in decode_erp() 142 weight_b = 0; in decode_erp() 147 weight_a = 100 - weight_b; in decode_erp() 150 /* 0..90 and 270..360 degrees */ in decode_erp() [all …]
|
/openbmc/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 …]
|