| /linux/Documentation/devicetree/bindings/iio/ |
| H A D | mount-matrix.txt | 2 * is the definition of +/- values practical or counterintuitive? 13 that produce three-dimensional data in relation to the world where it is 23 relative to some specific device frame of reference. 29 screen and (z) being depth, the axis perpendicular to the screen. 36 A sensor can be mounted in any angle along the axes relative to the frame of 37 reference. This means that the sensor may be flipped upside-down, left-right, 38 or tilted at any angle relative to the frame of reference. 47 Device-to-world examples for some three-dimensional sensor types: 49 - Accelerometers have their world frame of reference toward the center of 52 device relative to the center of the planet, i.e. relative to its surface at [all …]
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | rotary-encoder.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/rotary-encoder.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Frank Li <Frank.Li@nxp.com> 13 See Documentation/input/devices/rotary-encoder.rst for more information. 17 const: rotary-encoder 22 linux,axis: 25 the input subsystem axis to map to this rotary encoder. 28 rotary-encoder,steps: [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 60 report relative motion, absolute motion in a coordinate system maintained 66 Relative Position Reporting 67 --------------------------- 69 In relative position mode, the ikbd will return relative mouse position 71 button being pressed or released, or motion in either axis exceeding a [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-devices-platform-trackpoint | 4 Contact: linux-input@vger.kernel.org 11 Contact: linux-input@vger.kernel.org 19 Contact: linux-input@vger.kernel.org 21 (RW) Backup range for z-axis press. 26 Contact: linux-input@vger.kernel.org 29 z-axis pressed. 34 Contact: linux-input@vger.kernel.org 41 Contact: linux-input@vger.kernel.org 48 Contact: linux-input@vger.kernel.org 50 (RW) Minimum value for z-axis force required to trigger a press [all …]
|
| /linux/Documentation/admin-guide/mm/damon/ |
| H A D | start.rst | 1 .. SPDX-License-Identifier: GPL-2.0 18 ------ 25 --------------- 44 $ sudo damo start "./masim ./configs/stairs.cfg --quiet" 47 # min/max temperatures: -1,840,000,000, 370,010,000, column size: 3.925 MiB 71 The first line of the output shows the relative access temperature (hotness) of 75 relative location and access temperature of the region. ``[...]`` means 96 $ sudo damo record -o damon.data $(pidof masim) 109 (x-axis) got accessed when (y-axis) and how frequently (number).:: 127 # x-axis: space (139728247021568-139728453431248: 196.848 MiB) [all …]
|
| /linux/drivers/input/misc/ |
| H A D | rotary_encoder.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * See file:Documentation/input/devices/rotary-encoder.rst for more information 26 #define DRV_NAME "rotary-encoder" 39 u32 axis; member 51 signed char dir; /* 1 - clockwise, -1 - CCW */ 61 for (i = 0; i < encoder->gpios->ndescs; ++i) { in rotary_encoder_get_state() 62 int val = gpiod_get_value_cansleep(encoder->gpios->desc[i]); in rotary_encoder_get_state() 65 if (encoder->encoding == ROTENC_GRAY && ret & 1) in rotary_encoder_get_state() 76 if (encoder->relative_axis) { in rotary_encoder_report_event() 77 input_report_rel(encoder->input, in rotary_encoder_report_event() [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8mn-dimonoff-gateway-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/usb/pd.h> 9 #include "imx8mn-var-som-symphony.dts" 13 compatible = "dimonoff,gateway-evk", "variscite,var-som-mx8mn", 20 reg_disp_3v3: regulator-disp-3v3 { 21 compatible = "regulator-fixed"; 22 regulator-name = "Display 3V3"; 23 regulator-min-microvolt = <3300000>; 24 regulator-max-microvolt = <3300000>; [all …]
|
| H A D | imx8mn-rve-gateway.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/usb/pd.h> 9 #include "imx8mn-var-som.dtsi" 13 compatible = "rve,gateway", "variscite,var-som-mx8mn", "fsl,imx8mn"; 15 crystal_duart_24m: crystal-duart-24m { 16 compatible = "fixed-clock"; 17 #clock-cells = <0>; 18 clock-frequency = <24000000>; 21 gpio-keys { [all …]
|
| /linux/include/xen/interface/io/ |
| H A D | kbdif.h | 1 /* SPDX-License-Identifier: MIT */ 3 * kbdif.h -- Xen virtual keyboard/mouse 17 * The two halves of a para-virtual driver utilize nodes within 31 *---------------------------- Features supported ---------------------------- 37 * feature-disable-keyboard 43 * feature-disable-pointer 49 * feature-abs-pointer 55 * feature-multi-touch 58 * Backends, which support reporting of multi-touch events 61 * feature-raw-pointer [all …]
|
| /linux/drivers/input/mouse/ |
| H A D | elantech.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2007-2009 Arjan Opmeer <arjan@opmeer.net> 59 * One hard to find application note states that X axis range is 0 to 576 60 * and Y axis range is 0 to 384 for harware version 1. 66 #define ETP_XMAX_V1 (576 - ETP_EDGE_FUZZ_V1) 68 #define ETP_YMAX_V1 (384 - ETP_EDGE_FUZZ_V1) 121 * - bit 0..3: IC BODY 123 * - bit 4: HiddenButton 124 * - bit 5: PS2_SMBUS_NOTIFY 125 * - bit 6: PS2CRCCheck [all …]
|
| H A D | bcm5974.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Scott Shawcroft as part of the touchd user-space driver project: 13 * Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com) 16 * Copyright (C) 2005 Frank Arnold (frank@scirocco-5v-turbo.de) 18 * Copyright (C) 2005 Michael Hanselmann (linux-kernel@hansmi.ch) 170 u8 rel_x; /* relative x coordinate */ 171 u8 rel_y; /* relative y coordinate */ 182 /* trackpad finger data offsets, le16-aligned */ 219 /* trackpad finger structure, le16-aligned */ 224 __le16 rel_x; /* relative x coodinate */ [all …]
|
| /linux/include/linux/ |
| H A D | rmi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2011-2016 Synaptics Incorporated 21 * struct rmi_2d_axis_alignment - target axis alignment 22 * @swap_axes: set to TRUE if desired to swap x- and y-axis 23 * @flip_x: set to TRUE if desired to flip direction on x-axis 24 * @flip_y: set to TRUE if desired to flip direction on y-axis 25 * @clip_x_low - reported X coordinates below this setting will be clipped to 27 * @clip_x_high - reported X coordinates above this setting will be clipped to 29 * @clip_y_low - reported Y coordinates below this setting will be clipped to 31 * @clip_y_high - reported Y coordinates above this setting will be clipped to [all …]
|
| H A D | hil.h | 5 * Hewlett Packard Human Interface Loop (HP-HIL) Protocol -- header. 33 * HP-HIL Technical Reference Manual. Hewlett Packard Product No. 45918A 57 * implementing a software MLC to run HIL devices on a non-parisc machine. 109 HIL_ERR_OB = 0x00000800, /* MLC is busy sending an auto-poll, 131 /* This gives us a 32-bit "packet" 140 HIL_CMD_EPT = 0x01, /* Enter Pass-Thru Mode */ 141 HIL_CMD_ELB = 0x02, /* Enter Loop-Back Mode */ 181 /* 0x80 to 0xEF device-specific commands */ 217 #define HIL_IDD_DID_TYPE_REL 0x60 /* Relative Positioners */ 248 #define HIL_IDD_HEADER_AXSET_MASK 0x03 /* Number of axis in a set */ [all …]
|
| /linux/Documentation/iio/ |
| H A D | adis16475.rst | 1 .. SPDX-License-Identifier: GPL-2.0 43 monitoring relative changes in the thermal environment. 62 +-------------------------------------------+------------------------------------------------------… 63 | 3-Axis Accelerometer related device files | Description … 64 +-------------------------------------------+------------------------------------------------------… 66 +-------------------------------------------+------------------------------------------------------… 67 | in_accel_x_calibbias | Calibration offset for the X-axis accelerometer chann… 68 +-------------------------------------------+------------------------------------------------------… 69 | in_accel_x_raw | Raw X-axis accelerometer channel value. … 70 +-------------------------------------------+------------------------------------------------------… [all …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6dl-victgo.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 /dts-v1/; 9 #include "imx6qdl-vicut1.dtsi" 15 gpio-keys { 16 compatible = "gpio-keys"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_gpiokeys>; 21 key-power { 25 wakeup-source; 28 key-enter { [all …]
|
| /linux/drivers/comedi/drivers/ |
| H A D | jr3_pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 31 * two-byte words. 42 * Channels 1-6 contain the coupled force data Fx through Mz. Channel 43 * 7 contains the sensor's calibration data. The use of channels 8-15 85 * selection of a single axis. The V1x axis bit corresponds to a hex 116 * The xx_near_sat bits signify that the indicated axis has reached or 137 * xx_sat bits signify that the indicated axis has reached or exceeded 139 * was detected in the on-board RAM during the power-up 249 * 0 - end transform packet 250 * 1 - translate along X axis (TX) [all …]
|
| /linux/arch/arm/boot/dts/nxp/mxs/ |
| H A D | imx28-cfa10049.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * The CFA-10049 is an expansion board for the CFA-10036 module, thus we 8 * need to include the CFA-10036 DTS. 10 #include "imx28-cfa10036.dts" 13 model = "Crystalfontz CFA-10049 Board"; 17 compatible = "i2c-mux-gpio"; 18 #address-cells = <1>; 19 #size-cells = <0>; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&i2cmux_pins_cfa10049>; [all …]
|
| /linux/arch/arm/boot/dts/intel/pxa/ |
| H A D | pxa300-raumfeld-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 10 hw-revision = <0>; 14 stdout-path = &ffuart; 22 reg_3v3: regulator-3v3 { 23 compatible = "regulator-fixed"; 24 regulator-name = "3v3-fixed-supply"; 25 regulator-min-microvolt = <3300000>; [all …]
|
| /linux/drivers/platform/chrome/ |
| H A D | cros_ec_sensorhub_ring.c | 1 // SPDX-License-Identifier: GPL-2.0-only 43 int id = sample->sensor_id; in cros_sensorhub_send_sample() 46 if (id >= sensorhub->sensor_num) in cros_sensorhub_send_sample() 47 return -EINVAL; in cros_sensorhub_send_sample() 49 cb = sensorhub->push_data[id].push_data_cb; in cros_sensorhub_send_sample() 53 indio_dev = sensorhub->push_data[id].indio_dev; in cros_sensorhub_send_sample() 55 if (sample->flag & MOTIONSENSE_SENSOR_FLAG_FLUSH) in cros_sensorhub_send_sample() 58 return cb(indio_dev, sample->vector, sample->timestamp); in cros_sensorhub_send_sample() 62 * cros_ec_sensorhub_register_push_data() - register the callback to the hub. 80 if (sensor_num >= sensorhub->sensor_num) in cros_ec_sensorhub_register_push_data() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dce120/ |
| H A D | dce120_timing_generator.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 43 generic_reg_update_soc15(tg110->base.ctx, tg110->offsets.crtc, reg_name, n, __VA_ARGS__) 46 generic_reg_set_soc15(tg110->base.ctx, tg110->offsets.crtc, reg_name, n, __VA_ARGS__) 91 tg->ctx, in dce120_timing_generator_is_in_vertical_blank() 93 tg110->offsets.crtc); in dce120_timing_generator_is_in_vertical_blank() 106 uint32_t interlace_factor = timing->flags.INTERLACE ? 2 : 1; in dce120_timing_generator_validate_timing() 108 (timing->v_total - timing->v_addressable - in dce120_timing_generator_validate_timing() 109 timing->v_border_top - timing->v_border_bottom) * in dce120_timing_generator_validate_timing() 120 if (v_blank < tg110->min_v_blank || in dce120_timing_generator_validate_timing() 121 timing->h_sync_width < tg110->min_h_sync_width || in dce120_timing_generator_validate_timing() [all …]
|
| /linux/include/uapi/drm/ |
| H A D | drm_mode.h | 5 * Copyright (c) 2007-2008 Tungsten Graphics, Inc., Cedar Park, TX., USA 6 * Copyright (c) 2007-2008 Intel Corporation 62 /* bit compatible with the xrandr RR_ definitions (bits 0-13) 176 * using the name->prop id lookup is the preferred method. 195 * DRM_MODE_REFLECT_<axis> 197 * Signals that the contents of a drm plane is reflected along the <axis> axis, 202 * using the name->prop id lookup is the preferred method. 222 * struct drm_mode_modeinfo - Display mode information. 239 * This is the user-spac [all...] |
| /linux/Documentation/input/ |
| H A D | uinput.rst | 12 that will be delivered to userspace and in-kernel consumers. 28 create uinput devices and send events. libevdev is less error-prone than 38 --------------- 44 .. code-block:: c 113 --------------- 118 .. code-block:: c 131 /* enable mouse button left and relative events */ 157 /* Move the mouse diagonally, 5 units per axis */ 158 while (i--) { 179 -------------------- [all …]
|
| /linux/include/uapi/linux/ |
| H A D | input-event-codes.h | 1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ 6 * This file is not only included from C-code but also from devicetree source 9 * Copyright (c) 1999-2002 Vojtech Pavlik 71 * AC - Application Control 72 * AL - Applicatio [all...] |
| /linux/include/dt-bindings/input/ |
| H A D | linux-event-codes.h | 1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ 6 * This file is not only included from C-code but also from devicetree source 9 * Copyright (c) 1999-2002 Vojtech Pavlik 71 * AC - Application Control 72 * AL - Applicatio [all...] |
| /linux/drivers/input/rmi4/ |
| H A D | rmi_f11.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2011-2015 Synaptics Incorporated 181 * struct f11_2d_sensor_queries - describes sensor capabilities 185 * @nr_fingers: describes the maximum number of fingers the 2-D sensor 187 * @has_rel: the sensor supports relative motion reporting. 193 * @nr_x_electrodes: the maximum number of electrodes the 2-D sensor 194 * supports on the X axis. 195 * @nr_y_electrodes: the maximum number of electrodes the 2-D sensor 196 * supports on the Y axis. 205 * @has_anchored_finger: then the sensor supports the high-precision second [all …]
|