Home
last modified time | relevance | path

Searched +full:delta +full:- +full:y +full:- +full:threshold (Results 1 – 25 of 51) sorted by relevance

123

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/rmi4/
Drmi_2d_sensor.txt12 http://www.synaptics.com/sites/default/files/511-000136-01-Rev-E-RMI4-Interfacing-Guide.pdf
16 - touchscreen-inverted-x
17 - touchscreen-inverted-y
18 - touchscreen-swapped-x-y
19 - touchscreen-x-mm
20 - touchscreen-y-mm
23 - syna,clip-x-low: Sets a minimum value for X.
24 - syna,clip-y-low: Sets a minimum value for Y.
25 - syna,clip-x-high: Sets a maximum value for X.
26 - syna,clip-y-high: Sets a maximum value for Y.
[all …]
/kernel/linux/linux-5.10/Documentation/input/devices/
Datarikbd.rst12 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
67 ---------------------------
72 settable threshold of motion. Regardless of the threshold, all bits of
75 significantly more than the threshold delta x or y. This may happen since no
84 ; where y is the right button state
86 X ; delta x as twos complement integer
[all …]
/kernel/linux/linux-6.6/Documentation/input/devices/
Datarikbd.rst12 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
67 ---------------------------
72 settable threshold of motion. Regardless of the threshold, all bits of
75 significantly more than the threshold delta x or y. This may happen since no
84 ; where y is the right button state
86 X ; delta x as twos complement integer
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/
Dsyna,rmi4.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jason A. Donenfeld <Jason@zx2c4.com>
11 - Matthias Schiffer <matthias.schiffer@ew.tq-group.com
12 - Vincent Huang <vincent.huang@tw.synaptics.com>
22 - syna,rmi4-i2c
23 - syna,rmi4-spi
28 '#address-cells':
31 '#size-cells':
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/
Dimx8mq-zii-ultra-rmb3.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
8 #include "imx8mq-zii-ultra.dtsi"
12 compatible = "zii,imx8mq-ultra-rmb3", "zii,imx8mq-ultra", "fsl,imx8mq";
15 compatible = "simple-audio-card";
16 simple-audio-card,name = "front";
17 simple-audio-card,format = "i2s";
18 simple-audio-card,bitclock-master = <&sound1_codec>;
19 simple-audio-card,frame-master = <&sound1_codec>;
20 simple-audio-card,widgets =
[all …]
/kernel/linux/linux-6.6/drivers/input/rmi4/
Drmi_2d_sensor.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2011-2016 Synaptics Incorporated
16 #define RMI_2D_REL_POS_MIN -128
26 struct rmi_2d_axis_alignment *axis_align = &sensor->axis_align; in rmi_2d_sensor_abs_process()
29 if (obj->type == RMI_2D_OBJECT_NONE) in rmi_2d_sensor_abs_process()
32 if (axis_align->flip_x) in rmi_2d_sensor_abs_process()
33 obj->x = sensor->max_x - obj->x; in rmi_2d_sensor_abs_process()
35 if (axis_align->flip_y) in rmi_2d_sensor_abs_process()
36 obj->y = sensor->max_y - obj->y; in rmi_2d_sensor_abs_process()
38 if (axis_align->swap_axes) in rmi_2d_sensor_abs_process()
[all …]
/kernel/linux/linux-5.10/drivers/input/rmi4/
Drmi_2d_sensor.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2011-2016 Synaptics Incorporated
16 #define RMI_2D_REL_POS_MIN -128
26 struct rmi_2d_axis_alignment *axis_align = &sensor->axis_align; in rmi_2d_sensor_abs_process()
29 if (obj->type == RMI_2D_OBJECT_NONE) in rmi_2d_sensor_abs_process()
32 if (axis_align->flip_x) in rmi_2d_sensor_abs_process()
33 obj->x = sensor->max_x - obj->x; in rmi_2d_sensor_abs_process()
35 if (axis_align->flip_y) in rmi_2d_sensor_abs_process()
36 obj->y = sensor->max_y - obj->y; in rmi_2d_sensor_abs_process()
38 if (axis_align->swap_axes) in rmi_2d_sensor_abs_process()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h1 /* SPDX-License-Identifier: GPL-2.0 */
69 syn_fastopen_ch:1, /* Active TFO re-enabling probe */
70 syn_data_acked:1,/* data in SYN is acked by SYN-ACK */
87 return (void *)inet_csk(sk)->icsk_ca_priv; in inet_csk_ca()
97 return (__s32)(seq1-seq2) < 0; in before()
131 __u32 prior_delivered; /* tp->delivered at "prior_mstamp" */
133 long interval_us; /* time for tp->delivered to incr "delivered" */
136 long rtt_us; /* RTT of last (S)ACKed packet (or -1) */
157 /* return slow start threshold (required) */
183 #define min_not_zero(x, y) ({ \ argument
[all …]
/kernel/linux/linux-6.6/drivers/staging/media/ipu3/include/uapi/
Dintel-ipu3.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* Copyright (C) 2017 - 2018 Intel Corporation */
11 /* Vendor specific - used for IPU3 camera sub-system */
17 /* from include/uapi/linux/v4l2-controls.h */
26 #define IPU3_UAPI_GRID_START_MASK ((1 << 12) - 1)
34 * struct ipu3_uapi_grid_config - Grid plane config
51 * @y_start: Y value of top left corner of ROI
53 * @y_end: Y value of bottom right corner of ROI
56 * create a grid-based output, and the data is then divided into "slices".
71 * struct ipu3_uapi_awb_set_item - Memory layout for each cell in AWB
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/include/
Dintel-ipu3.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2017 - 2018 Intel Corporation */
11 /* Vendor specific - used for IPU3 camera sub-system */
15 /* from include/uapi/linux/v4l2-controls.h */
24 #define IPU3_UAPI_GRID_START_MASK ((1 << 12) - 1)
32 * struct ipu3_uapi_grid_config - Grid plane config
43 * @y_start: Y value of top left corner of ROI
45 * @y_end: Y value of bottom right corner of ROI
48 * create a grid-based output, and the data is then divided into "slices".
79 * struct ipu3_uapi_awb_raw_buffer - AWB raw buffer
[all …]
/kernel/linux/linux-6.6/drivers/iio/adc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 bool "ST-Ericsson AB8500 GPADC driver"
12 default y
33 Say yes here to build support for Analog Devices AD4130-8 SPI analog
44 Say yes here to build support for Analog Devices AD7091R-5 ADC.
47 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
51 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8
64 If unsure, say N (but it's safe to say "Y").
126 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD and TI"
152 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
[all …]
/kernel/linux/linux-5.10/drivers/iio/adc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 bool "ST-Ericsson AB8500 GPADC driver"
12 default y
29 Say yes here to build support for Analog Devices AD7091R-5 ADC.
32 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
36 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8
49 If unsure, say N (but it's safe to say "Y").
100 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD an TI"
126 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
137 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c48 * X[i] = 2 * X[i-NUM_PTS_IN_REGION] for i>=16
66 /* one-time setup of X points */
78 for (segment = 6; segment > (6 - NUM_REGIONS); segment--) { in setup_x_points_distribution()
82 seg_offset = (segment + (NUM_REGIONS - 7)) * NUM_PTS_IN_REGION; in setup_x_points_distribution()
89 (coordinates_x[index-1].x, increment); in setup_x_points_distribution()
174 /* de gamma, non-linear to linear */
182 struct fixed31_32 threshold; in compute_hlg_eotf() local
190 threshold = dc_fixpt_from_fraction(1, 2); in compute_hlg_eotf()
192 if (dc_fixpt_lt(in_x, threshold)) { in compute_hlg_eotf()
206 /* re gamma, linear to non-linear */
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c43 * X[i] = 2 * X[i-NUM_PTS_IN_REGION] for i>=16
56 /* one-time setup of X points */
68 for (segment = 6; segment > (6 - NUM_REGIONS); segment--) { in setup_x_points_distribution()
72 seg_offset = (segment + (NUM_REGIONS - 7)) * NUM_PTS_IN_REGION; in setup_x_points_distribution()
79 (coordinates_x[index-1].x, increment); in setup_x_points_distribution()
172 struct fixed31_32 threshold; in compute_hlg_eotf() local
180 threshold = dc_fixpt_from_fraction(1, 2); in compute_hlg_eotf()
182 if (dc_fixpt_lt(in_x, threshold)) { in compute_hlg_eotf()
203 struct fixed31_32 threshold; in compute_hlg_oetf() local
211 threshold = dc_fixpt_from_fraction(1, 12); in compute_hlg_oetf()
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/
Dimx6qdl-zii-rdu2.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright (C) 2016-2017 Zodiac Inflight Innovations
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/sound/fsl-imx-audmux.h>
11 stdout-path = &uart1;
15 mdio-gpio0 = &mdio1;
20 compatible = "virtual,mdio-gpio";
21 #address-cells = <1>;
22 #size-cells = <0>;
23 pinctrl-names = "default";
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dext-ctrls-codec.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _mpeg-controls:
24 .. _mpeg-control-id:
27 -----------------
35 .. _v4l2-mpeg-stream-type:
40 enum v4l2_mpeg_stream_type -
41 The MPEG-1, -2 or -4 output stream type. One cannot assume anything
48 .. flat-table::
49 :header-rows: 0
50 :stub-columns: 0
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
Dphy.c2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org>
3 * Copyright (c) 2006-2009 Nick Kossifidis <mickflemm@gmail.com>
4 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com>
5 * Copyright (c) 2008-2009 Felix Fietkau <nbd@openwrt.org>
41 * Here we handle the low-level functions related to baseband
47 * - Channel setting/switching
49 * - Automatic Gain Control (AGC) calibration
51 * - Noise Floor calibration
53 * - I/Q imbalance calibration (QAM correction)
55 * - Calibration due to thermal changes (gain_F)
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath5k/
Dphy.c2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org>
3 * Copyright (c) 2006-2009 Nick Kossifidis <mickflemm@gmail.com>
4 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com>
5 * Copyright (c) 2008-2009 Felix Fietkau <nbd@openwrt.org>
42 * Here we handle the low-level functions related to baseband
48 * - Channel setting/switching
50 * - Automatic Gain Control (AGC) calibration
52 * - Noise Floor calibration
54 * - I/Q imbalance calibration (QAM correction)
56 * - Calibration due to thermal changes (gain_F)
[all …]
/kernel/linux/linux-6.6/kernel/sched/
Dfair.c1 // SPDX-License-Identifier: GPL-2.0
43 #include <linux/memory-tiers.h>
93 * Targeted preemption latency for CPU-bound tasks:
96 * 'timeslice length' - timeslices in CFS are of variable length
97 * and have no persistent notion like in traditional, time-slice
101 * run vmstat and monitor the context-switches (cs) field)
109 * The initial- and re-scaling of tunables is configurable
113 * SCHED_TUNABLESCALING_NONE - unscaled, always *1
114 * SCHED_TUNABLESCALING_LOG - scaled logarithmical, *1+ilog(ncpus)
115 * SCHED_TUNABLESCALING_LINEAR - scaled linear, *ncpus
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org>
5 * Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org>
6 * Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com>
12 #include <linux/dma-mapping.h>
55 #define NEXT_DESP_IDX(X, Y) (((X) + 1) & ((Y) - 1)) argument
60 #define MTK_PP_MAX_BUF_SIZE (PAGE_SIZE - MTK_PP_PAD)
134 /* Unicast Filter MAC Address Register - Low */
138 /* Unicast Filter MAC Address Register - High */
163 #define PSE_IQ_REV(x) (0x140 + (((x) - 1) << 2))
[all …]
/kernel/linux/linux-6.6/drivers/iio/accel/
Dkionix-kx022a.c1 // SPDX-License-Identifier: GPL-2.0-only
27 #include "kionix-kx022a.h"
87 * The HW does not set WHO_AM_I reg as read-only but we don't want to write it
88 * so we still include it in the read-only ranges.
192 return &data->orientation; in kx022a_get_mount_matrix()
235 KX022A_ACCEL_CHAN(Y, 1),
271 * range is typically +-2G/4G/8G/16G, distributed over the amount of bits.
274 * => KX022A uses 16 bit (HiRes mode - assume the low 8 bits are zeroed
275 * in low-power mode(?) )
276 * => +/-2G => 4 / 2^16 * 9,80665
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
Duvc_video.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * uvc_video.c -- USB Video Class driver - Video handling
5 * Copyright (C) 2005-2010
20 #include <media/v4l2-common.h>
24 /* ------------------------------------------------------------------------
35 pipe = (query & 0x80) ? usb_rcvctrlpipe(dev->udev, 0) in __uvc_query_ctrl()
36 : usb_sndctrlpipe(dev->udev, 0); in __uvc_query_ctrl()
39 return usb_control_msg(dev->udev, pipe, query, type, cs << 8, in __uvc_query_ctrl()
83 if (ret != -EPIPE) in uvc_query_ctrl()
96 return ret < 0 ? ret : -EPIPE; in uvc_query_ctrl()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org>
5 * Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org>
6 * Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com>
12 #include <linux/dma-mapping.h>
44 #define NEXT_DESP_IDX(X, Y) (((X) + 1) & ((Y) - 1)) argument
90 /* Unicast Filter MAC Address Register - Low */
93 /* Unicast Filter MAC Address Register - High */
148 /* PDMA HW LRO Alter Flow Delta Register */
416 #define SYSCFG0_GE_MODE(x, y) (x << (12 + (y * 2))) argument
[all …]
/kernel/linux/linux-5.10/kernel/sched/
Dfair.c1 // SPDX-License-Identifier: GPL-2.0
55 * Targeted preemption latency for CPU-bound tasks:
58 * 'timeslice length' - timeslices in CFS are of variable length
59 * and have no persistent notion like in traditional, time-slice
63 * run vmstat and monitor the context-switches (cs) field)
71 * The initial- and re-scaling of tunables is configurable
75 * SCHED_TUNABLESCALING_NONE - unscaled, always *1
76 * SCHED_TUNABLESCALING_LOG - scaled logarithmical, *1+ilog(ncpus)
77 * SCHED_TUNABLESCALING_LINEAR - scaled linear, *ncpus
84 * Minimal preemption granularity for CPU-bound tasks:
[all …]
/kernel/linux/linux-6.6/drivers/media/usb/uvc/
Duvc_video.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * uvc_video.c -- USB Video Class driver - Video handling
5 * Copyright (C) 2005-2010
9 #include <linux/dma-mapping.h>
24 #include <media/v4l2-common.h>
28 /* ------------------------------------------------------------------------
39 pipe = (query & 0x80) ? usb_rcvctrlpipe(dev->udev, 0) in __uvc_query_ctrl()
40 : usb_sndctrlpipe(dev->udev, 0); in __uvc_query_ctrl()
43 return usb_control_msg(dev->udev, pipe, query, type, cs << 8, in __uvc_query_ctrl()
89 * Most controls are little-endian integers, in which case the missing in uvc_query_ctrl()
[all …]

123