Home
last modified time | relevance | path

Searched +full:abs +full:- +full:fuzz (Results 1 – 19 of 19) sorted by relevance

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/
H A Dadc-joystick.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019-2020 Artur Rojek
4 ---
5 $id: "http://devicetree.org/schemas/input/adc-joystick.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Artur Rojek <contact@artur-rojek.eu>
19 const: adc-joystick
21 io-channels:
27 See Documentation/devicetree/bindings/iio/iio-bindings.txt for details.
29 '#address-cells':
[all …]
/OK3568_Linux_fs/kernel/drivers/input/joystick/
H A Dadc-joystick.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (c) 2019-2020 Artur Rojek <contact@artur-rojek.eu>
19 s32 fuzz; member
39 bytes = joy->chans[0].channel->scan_type.storagebits >> 3; in adc_joystick_handle()
41 for (i = 0; i < joy->num_chans; ++i) { in adc_joystick_handle()
42 idx = joy->chans[i].channel->scan_index; in adc_joystick_handle()
43 endianness = joy->chans[i].channel->scan_type.endianness; in adc_joystick_handle()
44 msb = joy->chans[i].channel->scan_type.realbits - 1; in adc_joystick_handle()
45 sign = tolower(joy->chans[i].channel->scan_type.sign) == 's'; in adc_joystick_handle()
66 return -EINVAL; in adc_joystick_handle()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dinput.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (c) 1999-2002 Vojtech Pavlik
18 #include "input-event-codes.h"
53 * IOCTLs (0x00 - 0x7f)
64 * struct input_absinfo - used by EVIOCGABS/EVIOCSABS ioctls
68 * @fuzz: specifies fuzz value that is used to filter noise from
91 __s32 fuzz; member
97 * struct input_keymap_entry - used by EVIOCGKEYCODE/EVIOCSKEYCODE ioctls
98 * @scancode: scancode represented in machine-endian form.
142 * EVIOCGMTSLOTS(len) - get MT slot values
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dinput.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (c) 1999-2002 Vojtech Pavlik
18 #include "input-event-codes.h"
53 * IOCTLs (0x00 - 0x7f)
64 * struct input_absinfo - used by EVIOCGABS/EVIOCSABS ioctls
68 * @fuzz: specifies fuzz value that is used to filter noise from
91 __s32 fuzz; member
97 * struct input_keymap_entry - used by EVIOCGKEYCODE/EVIOCSKEYCODE ioctls
98 * @scancode: scancode represented in machine-endian form.
142 * EVIOCGMTSLOTS(len) - get MT slot values
[all …]
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dinput.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (c) 1999-2002 Vojtech Pavlik
20 #include "input-event-codes.h"
56 * IOCTLs (0x00 - 0x7f)
67 * struct input_absinfo - used by EVIOCGABS/EVIOCSABS ioctls
71 * @fuzz: specifies fuzz value that is used to filter noise from
94 __s32 fuzz; member
100 * struct input_keymap_entry - used by EVIOCGKEYCODE/EVIOCSKEYCODE ioctls
101 * @scancode: scancode represented in machine-endian form.
145 * EVIOCGMTSLOTS(len) - get MT slot values
[all …]
/OK3568_Linux_fs/kernel/drivers/input/
H A Dinput.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 1999-2002 Vojtech Pavlik
26 #include "input-compat.h"
27 #include "input-poller.h"
67 static int input_defuzz_abs_event(int value, int old_val, int fuzz) in input_defuzz_abs_event() argument
69 if (fuzz) { in input_defuzz_abs_event()
70 if (value > old_val - fuzz / 2 && value < old_val + fuzz / 2) in input_defuzz_abs_event()
73 if (value > old_val - fuzz && value < old_val + fuzz) in input_defuzz_abs_event()
76 if (value > old_val - fuzz * 2 && value < old_val + fuzz * 2) in input_defuzz_abs_event()
85 if (test_bit(EV_REP, dev->evbit) && in input_start_autorepeat()
[all …]
H A Dinput-mt.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2008-2010 Henrik Rydberg
16 if (dev->absinfo && test_bit(src, dev->absbit)) { in copy_abs()
17 dev->absinfo[dst] = dev->absinfo[src]; in copy_abs()
18 dev->absinfo[dst].fuzz = 0; in copy_abs()
19 __set_bit(dst, dev->absbit); in copy_abs()
24 * input_mt_init_slots() - initialize MT input slots
35 * May be called repeatedly. Returns -EINVAL if attempting to
41 struct input_mt *mt = dev->mt; in input_mt_init_slots()
47 return mt->num_slots != num_slots ? -EINVAL : 0; in input_mt_init_slots()
[all …]
/OK3568_Linux_fs/kernel/drivers/misc/lis3lv02d/
H A Dlis3lv02d.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * lis3lv02d.c - ST LIS3LV02DL accelerometer driver
5 * Copyright (C) 2007-2008 Yan Burman
7 * Copyright (C) 2008-2009 Pavel Machek
42 #define SELFTEST_FAIL -1
43 #define SELFTEST_IRQ -2
51 * to keep the interrupt for the free-fall event. The values are updated at
61 * LIS3LV02D spec says 1024 LSBs corresponds 1 G -> 1LSB is 1000/1024 mG
67 /* Sensitivity values for -2G +2G scale */
72 * LIS331DLH spec says 1LSBs corresponds 4G/4096 -> 1LSB is 1000/1024 mG.
[all …]
/OK3568_Linux_fs/kernel/drivers/virtio/
H A Dvirtio_input.c1 // SPDX-License-Identifier: GPL-2.0-only
30 virtqueue_add_inbuf(vi->evt, sg, 1, evtbuf, GFP_ATOMIC); in virtinput_queue_evtbuf()
35 struct virtio_input *vi = vq->vdev->priv; in virtinput_recv_events()
40 spin_lock_irqsave(&vi->lock, flags); in virtinput_recv_events()
41 if (vi->ready) { in virtinput_recv_events()
42 while ((event = virtqueue_get_buf(vi->evt, &len)) != NULL) { in virtinput_recv_events()
43 spin_unlock_irqrestore(&vi->lock, flags); in virtinput_recv_events()
44 input_event(vi->idev, in virtinput_recv_events()
45 le16_to_cpu(event->type), in virtinput_recv_events()
46 le16_to_cpu(event->code), in virtinput_recv_events()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/sensors/angle/
H A Dangle_kxtik.c3 * Copyright (C) 2012-2015 ROCKCHIP.
4 * Author: luowei <lw@rock-chips.com>
32 #include <linux/sensor-dev.h>
85 #define FUZZ 3 macro
93 /* CTRL_REG1: set resolution, g-range, data ready enable */
94 /* Output resolution: 8-bit valid or 12-bit valid */
97 /* Output g-range: +/-2g, 4g, or 8g */
113 #define KXTIK_BOUNDARY (0x1 << (KXTIK_PRECISION - 1))
126 sensor->ops->ctrl_data = sensor_read_reg(client, sensor->ops->ctrl_reg); in sensor_active()
132 sensor->ops->ctrl_data |= status; in sensor_active()
[all …]
/OK3568_Linux_fs/kernel/drivers/hid/
H A Dhid-lg.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
7 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
8 * Copyright (c) 2006-2007 Jiri Kosina
25 #include "hid-ids.h"
26 #include "hid-lg.h"
27 #include "hid-lg4ff.h"
435 if ((drv_data->quirks & LG_RDESC) && *rsize >= 91 && rdesc[83] == 0x26 && in lg_report_fixup()
442 if ((drv_data->quirks & LG_RDESC_REL_ABS) && *rsize >= 51 && in lg_report_fixup()
446 "fixing up rel/abs in Logitech report descriptor\n"); in lg_report_fixup()
[all …]
H A Dwacom_wac.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * USB Wacom tablet support - Wacom specific code
29 * 2^14/pi is a good approximation on Intuos5 and 3rd-gen Bamboo
60 bool changed = battery->bat_status != bat_status || in __wacom_notify_battery()
61 battery->battery_capacity != bat_capacity || in __wacom_notify_battery()
62 battery->bat_charging != bat_charging || in __wacom_notify_battery()
63 battery->bat_connected != bat_connected || in __wacom_notify_battery()
64 battery->ps_connected != ps_connected; in __wacom_notify_battery()
67 battery->bat_status = bat_status; in __wacom_notify_battery()
68 battery->battery_capacity = bat_capacity; in __wacom_notify_battery()
[all …]
H A Dhid-logitech-hidpp.c1 // 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"
42 "Disable Tap-To-Click mode reporting for touchpads (only on the K400 currently).");
83 /* Convenience constant to check for any high-res support. */
123 u8 params[HIDPP_REPORT_VERY_LONG_MAX_LENGTH - 4U];
129 u8 params[HIDPP_REPORT_VERY_LONG_MAX_LENGTH - 4U];
158 * struct hidpp_scroll_counter - Utility class for processing high-resolution
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_edid.c3 * Copyright (c) 2007-2008 Intel Corporation
24 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
48 (((edid)->version > (maj)) || \
49 ((edid)->version == (maj) && (edid)->revision > (min)))
76 /* Force reduced-blanking timings for detailed modes */
115 /* BOE model on HP Pavilion 15-n233sl reports 8 bpc, but is a 6 bpc panel */
121 /* SDC panel of Lenovo B50-80 reports 8 bpc, but is a 6 bpc panel */
131 /* Envision Peripherals, Inc. EN-7100e */
143 /* LG Philips LCD LP154W01-A5 */
149 /* Samsung SyncMaster 22[5-6]BW */
[all …]
/OK3568_Linux_fs/u-boot/common/
H A Dedid.c7 * SPDX-License-Identifier: GPL-2.0+
11 * (C) Copyright 2008-2017 Fuzhou Rockchip Electronics Co., Ltd
33 #define BITMAP_FIRST_WORD_MASK(start) (~0UL << ((start) & (BITS_PER_LONG - 1)))
34 #define BITMAP_LAST_WORD_MASK(nbits) (~0UL >> (-(nbits) & (BITS_PER_LONG - 1)))
35 #define EDID_PRODUCT_ID(e) ((e)->prod_code[0] | ((e)->prod_code[1] << 8))
37 (((edid)->version > (maj)) || \
38 ((edid)->version == (maj) && (edid)->revision > (min)))
63 /* Force reduced-blanking timings for detailed modes */
106 /* Envision Peripherals, Inc. EN-7100e */
118 /* LG Philips LCD LP154W01-A5 */
[all …]
/OK3568_Linux_fs/kernel/kernel/sched/
H A Dfair.c1 // SPDX-License-Identifier: GPL-2.0
30 * Targeted preemption latency for CPU-bound tasks:
33 * 'timeslice length' - timeslices in CFS are of variable length
34 * and have no persistent notion like in traditional, time-slice
38 * run vmstat and monitor the context-switches (cs) field)
47 * The initial- and re-scaling of tunables is configurable
51 * SCHED_TUNABLESCALING_NONE - unscaled, always *1
52 * SCHED_TUNABLESCALING_LOG - scaled logarithmical, *1+ilog(ncpus)
53 * SCHED_TUNABLESCALING_LINEAR - scaled linear, *ncpus
60 * Minimal preemption granularity for CPU-bound tasks:
[all …]
/OK3568_Linux_fs/external/xserver/
H A DChangeLog3 Date: Tue Apr 13 10:01:34 2021 -0400
7 Signed-off-by: Matt Turner <mattst88@gmail.com>
15 CVE-2021-3472 / ZDI-CAN-1259
18 Jan-Niklas Sohn working with Trend Micro Zero Day Initiative
20 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
24 Date: Sun Feb 21 21:49:58 2021 -0800
30 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
35 Date: Sun Feb 21 21:49:14 2021 -0800
39 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
44 Date: Sun Feb 21 20:58:42 2021 -0800
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5webengine-chromium/
HDqtwebengine-chromium-0ad2814370799a2161057d92231fe3ee00e2fe98.tar.bz2 ... pax_global_header qtwebengine-chromium-0ad2814370799a2161057d92231fe3ee00e2fe98/ qtwebengine-chromium-0ad2814370799a2161057d92231fe3ee00e2fe98/chromium/ qtwebengine-chromium- ...
/OK3568_Linux_fs/kernel/android/
H A Dabi_gki_aarch64.xml1 <abi-corpus-group version='2.0' architecture='elf-arm-aarch64'>
2 <abi-corpus version='2.0' path='vmlinux' architecture='elf-arm-aarch64'>
3 <elf-function-symbols>
4 …<elf-symbol name='PDE_DATA' type='func-type' binding='global-binding' visibility='default-visibili…
5 …<elf-symbol name='__ClearPageMovable' type='func-type' binding='global-binding' visibility='defaul…
6 …<elf-symbol name='__SetPageMovable' type='func-type' binding='global-binding' visibility='default-
7 …<elf-symbol name='___pskb_trim' type='func-type' binding='global-binding' visibility='default-visi…
8 …<elf-symbol name='___ratelimit' type='func-type' binding='global-binding' visibility='default-visi…
9 …<elf-symbol name='__alloc_disk_node' type='func-type' binding='global-binding' visibility='default
10 …<elf-symbol name='__alloc_pages_nodemask' type='func-type' binding='global-binding' visibility='de…
[all …]