/linux/drivers/hid/ |
H A D | hid-waltop.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include "hid-ids.h" 26 * mode tries to be HID-compatible (not very successfully), but cripples the 30 * represents the correct resolution, but is possibly HID-incompatible (i.e. 42 /* Size of the original report descriptor of Slim Tablet 5.8 inch */ 45 /* Fixed Slim Tablet 5.8 inch descriptor */ 74 0x65, 0x13, /* Unit (Inch), */ 75 0x55, 0xFD, /* Unit Exponent (-3), */ 93 /* Size of the original report descriptor of Slim Tablet 12.1 inch */ 96 /* Fixed Slim Tablet 12.1 inch descriptor */ [all …]
|
H A D | hid-uclogic-rdesc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * HID driver for UC-Logic devices not fully compliant with HID standard 4 * - original and fixed report descriptors 6 * Copyright (c) 2010-2017 Nikolai Kondrashov 17 #include "hid-uclogic-rdesc.h" 27 0x85, 0x09, /* Report ID (9), */ 45 0x55, 0xFD, /* Unit Exponent (-3), */ 46 0x65, 0x13, /* Unit (Inch), */ 72 0x85, 0x09, /* Report ID (9), */ 90 0x55, 0xFD, /* Unit Exponent (-3), */ [all …]
|
H A D | hid-logitech-hidpp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2012-2013 Google (c) 7 * Copyright (c) 2013-2014 Red Hat Inc. 25 #include <linux/fixp-arith.h> 28 #include "hid-ids.h" 39 "Disable Tap-To-Click mode reporting for touchpads (only on the K400 currently)."); 41 /* Define a non-zero software ID to identify our own requests */ 83 /* Convenience constant to check for any high-res support. */ 97 #define HIDPP_CAPABILITY_HIDPP10_FAST_SCROLL BIT(9) 127 u8 params[HIDPP_REPORT_VERY_LONG_MAX_LENGTH - 4U]; [all …]
|
/linux/drivers/hid/bpf/progs/ |
H A D | XPPen__ArtistPro16Gen2.bpf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 * - the device reports Eraser instead of using Secondary Barrel Switch 22 * - when the eraser button is pressed and the stylus is touching the tablet, 38 … // Usage (Eraser) 16 /* created over a padding bit at offset 29-33 */ 58 0x55, 0x0d, // Unit Exponent (-3) 61 72 0x15, 0x81, // Logical Minimum (-127) 93 78 0x15, 0x81, // Logical Minimum (-127) 105 98 if (hctx->hid->product == PID_ARTIST_PRO14_GEN2) { in SEC() 130 …* >>> tip_height = 0.055677699 # the center of the pen coil distance from screen in inch (empirica… 136 /* 14" inch screen 11.874" x 7.421" */ [all …]
|
/linux/Documentation/devicetree/bindings/thermal/ |
H A D | thermal-zones.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml# 6 $schema: http://devicetree.org/meta-schemas/base.yaml# 11 - Daniel Lezcano <daniel.lezcano@linaro.org> 20 - thermal-sensor: device that measures temperature, has SoC-specific bindings 21 - cooling-device: device used to dissipate heat either passively or actively 22 - thermal-zones: a container of the following node types used to describe all 25 This binding describes the thermal-zones. 27 The polling-delay properties of a thermal-zone are bound to the maximum dT/dt [all …]
|
/linux/drivers/gpu/drm/panel/ |
H A D | panel-arm-versatile.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * - The IB1 is a passive board where the display connector defines a 19 * - The IB2 is a more complex board intended for GSM phone development 52 #define SYS_CLCD_CLCDID_MASK (BIT(8)|BIT(9)|BIT(10)|BIT(11)|BIT(12)) 66 * struct versatile_panel_type - lookup struct for the supported panels 100 * struct versatile_panel - state container for the Versatile panels 127 * Sanyo TM38QV67A02A - 3.8 inch QVGA (320x240) Color TFT 173 * Epson L2F50113T00 - 2.2 inch QCIF 176x220 Color TFT 232 if (vpanel->ib2_map) { in versatile_panel_disable() 233 dev_dbg(vpanel->dev, "disable IB2 display\n"); in versatile_panel_disable() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 17 Y030XX067A 320x480 3.0" panel as found in the YLM RG-280M, RG-300 18 and RG-99 handheld gaming consoles. 46 as found in the YLM RS-97 handheld gaming console. 49 tristate "Boe BF060Y8M-AJ0 panel" 54 Say Y here if you want to enable support for Boe BF060Y8M-AJ0 66 TFT-LCD modules. The panel has a 1200x1920 resolution and uses 68 the host and has a built-in LED backlight. 71 tristate "Boe TH101MB31UIG002-28A panel" 77 TH101MB31UIG002-28A TFT-LCD modules. The panel has a 800x1280 [all …]
|
H A D | panel-samsung-s6e63j0x03.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MIPI-DSI based S6E63J0X03 AMOLED lcd 1.63 inch panel driver. 5 * Copyright (c) 2014-2017 Samsung Electronics Co., Ltd 30 #define NUM_GAMMA_STEPS 9 122 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in s6e63j0x03_dcs_write_seq() 151 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in s6e63j0x03_power_on() 157 gpiod_set_value(ctx->reset_gpio, 1); in s6e63j0x03_power_on() 159 gpiod_set_value(ctx->reset_gpio, 0); in s6e63j0x03_power_on() 167 return regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in s6e63j0x03_power_off() 177 index = NUM_GAMMA_STEPS - 1; in s6e63j0x03_get_brightness_index() [all …]
|
/linux/drivers/media/i2c/ |
H A D | mt9v011.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mt9v011 -Micron 1/4-Inch VGA Digital Image Sensor 13 #include <media/v4l2-device.h> 14 #include <media/v4l2-ctrls.h> 23 MODULE_PARM_DESC(debug, "Debug level (0-2)"); 169 return analoginit + (analogmult << 7) + (digitalgain << 9); in calc_mt9v011_gain() 180 exposure = core->exposure; in set_balance() 182 green_gain = calc_mt9v011_gain(core->global_gain); in set_balance() 184 bal = core->global_gain; in set_balance() 185 bal += (core->blue_bal * core->global_gain / (1 << 7)); in set_balance() [all …]
|
H A D | mt9v111.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include <linux/v4l2-mediabus.h> 24 #include <media/v4l2-ctrls.h> 25 #include <media/v4l2-device.h> 26 #include <media/v4l2-fwnode.h> 27 #include <media/v4l2-image-sizes.h> 28 #include <media/v4l2-subdev.h> 31 * MT9V111 is a 1/4-Inch CMOS digital image sensor with an integrated 40 * auto-exposure algorithm might modify the programmed frame rate. While the 41 * driver initially programs the sensor with auto-exposure and [all …]
|
/linux/drivers/regulator/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 managed regulators and simple non-configurable regulators. 64 the netlink mechanism. User-space applications can subscribe to these events 65 for real-time updates on various regulator events. 75 They provide two I2C-controlled DC/DC step-down converters with 101 tristate "Active-semi act8865 voltage regulator" 106 This driver controls a active-semi act8865 voltage output 110 tristate "Active-semi ACT8945A voltage regulator" 113 This driver controls a active-semi ACT8945A voltage regulator 114 via I2C bus. The ACT8945A features three step-down DC/DC converters [all …]
|
/linux/Documentation/sound/hd-audio/ |
H A D | models.rst | 2 HD-Audio Codec-Specific Models 8 3-jack in back and a headphone out 9 3stack-digout 10 3-jack in back, a HP out and a SPDIF out 12 5-jack in back, 2-jack in front 13 5stack-digout 14 5-jack in back, 2-jack in front, a SPDIF out 16 6-jack in back, 2-jack in front 17 6stack-digout 18 6-jack with a SPDIF out [all …]
|
/linux/Documentation/input/devices/ |
H A D | atarikbd.rst | 12 provides a convenient connection point for a mouse and switch-type joysticks. 13 The ikbd processor also maintains a time-of-day clock with one second 18 The ikbd communicates with the main processor over a high speed bi-directional 41 0xF8-0xFB relative mouse position records (lsbs determined by 43 0xFC time-of-day 56 approximately 200 counts (phase changes or 'clicks') per inch of travel. The 67 --------------------------- 92 +127...-128 range, the motion is broken into multiple packets. 97 --------------------------- 104 --------------------- [all …]
|
/linux/arch/sh/boards/mach-ecovec24/ |
H A D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0 39 #include <linux/dma-map-ops.h> 41 #include <media/drv-intf/renesas-ceu.h> 52 *----------------------------------------- 62 *------------------------------ 71 * DS2[6-7] = MMC / SD ON-OFF : SD 72 * OFF-ON : MMC 76 * FSI - DA7210 99 .end = 0xA405012E - 1, 105 .id = -1, [all …]
|
/linux/tools/testing/selftests/hid/tests/ |
H A D | test_wacom_generic.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 111 number and tool-type identifier. Values of ``0`` may sometimes be 112 used for the out-of-range condition. 150 range 0 cm - 5 cm) and exact unit comparison (e.g. 1 inch is 151 not within the range 0 cm - 5 cm). 153 phys_size = (field.physical_max - field.physical_min) * 10 ** (field.unit_exp) 173 self.ring = -1 333 Bare-bones opaque tablet with a minimum of features. 340 not any of Wacom's vendor-defined pages. [all …]
|
/linux/sound/pci/hda/ |
H A D | patch_realtek.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 38 /* extra amp-initialization sequence types */ 147 struct alc_spec *spec = codec->spec; in coef_mutex_lock() 150 mutex_lock(&spec->coef_mutex); in coef_mutex_lock() 155 struct alc_spec *spec = codec->spec; in coef_mutex_unlock() 157 mutex_unlock(&spec->coef_mutex); in coef_mutex_unlock() 209 if (val != -1) in __alc_update_coefex_idx() 229 struct alc_spec *spec = codec->spec; in alc_get_coef0() 231 if (!spec->coef0) in alc_get_coef0() 232 spec->coef0 = alc_read_coef_idx(codec, 0); in alc_get_coef0() [all …]
|
/linux/lib/zstd/decompress/ |
H A D | zstd_decompress_block.c | 5 * This source code is licensed under both the BSD-style license (found in the 8 * You may select, at your option, one of the above-listed licenses. 14 /*-******************************************************* 50 /*-************************************************************* 63 bpPtr->lastBlock = cBlockHeader & 1; in ZSTD_getcBlockSize() 64 bpPtr->blockType = (blockType_e)((cBlockHeader >> 1) & 3); in ZSTD_getcBlockSize() 65 bpPtr->origSize = cSize; /* only useful for RLE */ in ZSTD_getcBlockSize() 66 if (bpPtr->blockType == bt_rle) return 1; in ZSTD_getcBlockSize() 67 RETURN_ERROR_IF(bpPtr->blockType == bt_reserved, corruption_detected, ""); in ZSTD_getcBlockSize() 79 dctx->litBuffer = (BYTE*)dst + ZSTD_BLOCKSIZE_MAX + WILDCOPY_OVERLENGTH; in ZSTD_allocateLiteralsBuffer() [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | gfx_v9_0.c | 379 /* TCC (5 sub-ranges)*/ 442 /* EA (3 sub-ranges)*/ 854 mmRLC_SRM_INDEX_CNTL_ADDR_0 - mmRLC_SRM_INDEX_CNTL_ADDR_0, 855 mmRLC_SRM_INDEX_CNTL_ADDR_1 - mmRLC_SRM_INDEX_CNTL_ADDR_0, 856 mmRLC_SRM_INDEX_CNTL_ADDR_2 - mmRLC_SRM_INDEX_CNTL_ADDR_0, 857 mmRLC_SRM_INDEX_CNTL_ADDR_3 - mmRLC_SRM_INDEX_CNTL_ADDR_0, 858 mmRLC_SRM_INDEX_CNTL_ADDR_4 - mmRLC_SRM_INDEX_CNTL_ADDR_0, 859 mmRLC_SRM_INDEX_CNTL_ADDR_5 - mmRLC_SRM_INDEX_CNTL_ADDR_0, 860 mmRLC_SRM_INDEX_CNTL_ADDR_6 - mmRLC_SRM_INDEX_CNTL_ADDR_0, 861 mmRLC_SRM_INDEX_CNTL_ADDR_7 - mmRLC_SRM_INDEX_CNTL_ADDR_0, [all …]
|
/linux/drivers/gpu/drm/display/ |
H A D | drm_dp_helper.c | 76 return link_status[r - DP_LANE0_1_STATUS]; in dp_link_status() 230 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x (max 4)\n", in __8b10b_clock_recovery_delay_us() 231 aux->name, rd_interval); in __8b10b_clock_recovery_delay_us() 242 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x (max 4)\n", in __8b10b_channel_eq_delay_us() 243 aux->name, rd_interval); in __8b10b_channel_eq_delay_us() 255 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x\n", in __128b132b_channel_eq_delay_us() 256 aux->name, rd_interval); in __128b132b_channel_eq_delay_us() 278 * - Clock recovery vs. channel equalization 279 * - DPRX vs. LTTPR 280 * - 128b/132b vs. 8b/10b [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dp.c | 93 #define dp_to_i915(__intel_dp) to_i915(dp_to_dig_port(__intel_dp)->base.base.dev) 122 * intel_dp_is_edp - is the given port attached to an eDP panel (either CPU or PCH) 134 return dig_port->base.type == INTEL_OUTPUT_EDP; in intel_dp_is_edp() 142 return drm_dp_is_uhbr_rate(crtc_state->port_clock); in intel_dp_is_uhbr() 146 * intel_dp_link_symbol_size - get the link symbol size for a given link rate 150 * rate -> channel coding. 158 * intel_dp_link_symbol_clock - convert link rate to link symbol clock 172 return drm_dp_tunnel_max_dprx_rate(intel_dp->tunnel); in max_dprx_rate() 174 return drm_dp_bw_code_to_link_rate(intel_dp->dpcd[DP_MAX_LINK_RATE]); in max_dprx_rate() 180 return drm_dp_tunnel_max_dprx_lane_count(intel_dp->tunnel); in max_dprx_lane_count() [all …]
|
/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 24 nospcr -- disable console in ACPI SPCR table as 41 If set to vendor, prefer vendor-specific driver 73 Documentation/firmware-guide/acpi/debug.rst for more information about [all …]
|