Home
last modified time | relevance | path

Searched +full:max +full:- +full:fingers (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/linux/drivers/platform/x86/
H A Dtouchscreen_dmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 /* The EFI embedded-fw code expects this to be the first member! */
30 PROPERTY_ENTRY_U32("touchscreen-size-x", 1850),
31 PROPERTY_ENTRY_U32("touchscreen-size-y", 1280),
32 PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"),
33 PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
34 PROPERTY_ENTRY_U32("silead,max-fingers", 10),
35 PROPERTY_ENTRY_BOOL("silead,home-button"),
36 PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-archos-101-cesium-educ.fw"),
46 PROPERTY_ENTRY_U32("touchscreen-size-x", 1850),
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dsilead,gsl1680.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
13 - $ref: touchscreen.yaml#
18 - silead,gsl1680
19 - silead,gsl1688
20 - silead,gsl3670
21 - silead,gsl3675
22 - silead,gsl3692
[all …]
/openbmc/linux/drivers/input/mouse/
H A Dappletouch.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Apple USB Touchpad (for post-February 2005 PowerBooks and MacBooks) driver
5 * Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com)
6 * Copyright (C) 2005-2008 Johannes Berg (johannes@sipsolutions.net)
7 * Copyright (C) 2005-2008 Stelian Pop (stelian@popies.net)
8 * Copyright (C) 2005 Frank Arnold (frank@scirocco-5v-turbo.de)
10 * Copyright (C) 2005 Michael Hanselmann (linux-kernel@hansmi.ch)
12 * Copyright (C) 2007-2008 Sven Anders (anders@anduras.de)
26 * 0 <= x <= (xsensors - 1) * xfact
27 * 0 <= y <= (ysensors - 1) * yfact
[all …]
H A Dalps.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (c) 2003-2005 Peter Osterlund <petero2@telia.com>
94 #define ALPS_PASS 0x04 /* device has a pass-through port */
100 #define ALPS_PS2_INTERLEAVED 0x80 /* 3-byte PS/2 packet interleaved with
101 6-byte ALPS packet */
117 { { 0x33, 0x02, 0x0a }, { ALPS_PROTO_V1, 0x88, 0xf8, 0 } }, /* UMAX-530T */
119 ALPS_PASS | ALPS_DUALPOINT | ALPS_PS2_INTERLEAVED } }, /* Toshiba Tecra A11-11L */
128 …{ { 0x63, 0x02, 0x3c }, { ALPS_PROTO_V2, 0x8f, 0x8f, ALPS_WHEEL } }, /* Toshiba Satellite S2400-
132 …{ { 0x73, 0x00, 0x0a }, { ALPS_PROTO_V2, 0xf8, 0xf8, ALPS_DUALPOINT } }, /* ThinkPad R61 8918-5QG…
180 /* Reported-by: Hans de Bruin <jmdebruin@xmsnet.nl> */
[all …]
H A Dsynaptics.h1 /* SPDX-License-Identifier: GPL-2.0-only */
61 * ---- ---- ------- ------------
64 * 1 0x02 report max query 0x0d gives max coord reported
67 * 1 0x10 clickpad bit 0 1-button ClickPad
72 * 2 0x01 clickpad bit 1 2-button ClickPad
78 * 2 0x08 image sensor image sensor tracks 5 fingers, but only
84 #define SYN_CAP_CLICKPAD(ex0c) ((ex0c) & BIT(20)) /* 1-button ClickPad */
85 #define SYN_CAP_CLICKPAD2BTN(ex0c) ((ex0c) & BIT(8)) /* 2-button ClickPad */
97 * ---- ---- ------- ------------
100 * by the tracktick (pass-through).
[all …]
H A Dbcm5974.c1 // 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)
182 /* trackpad finger data offsets, le16-aligned */
219 /* trackpad finger structure, le16-aligned */
233 __le16 multi; /* one finger: varies, more fingers: constant */
236 /* trackpad finger data size, empirically at least ten fingers */
240 /* device-specific parameters */
[all …]
H A Dcyapa_gen3.c9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc.
10 * Copyright (C) 2011-2012 Google, Inc.
60 * Used in register 0x00, bit1-0, DeviceStatus field.
88 * bit 7 - 4: high 4 bits of x position value
89 * bit 3 - 0: high 4 bits of y position value
95 /* id range is 1 - 15. It is incremented with every new touch. */
101 * bit 0 - 1: device status
102 * bit 3 - 2: power mode
103 * bit 6 - 4: reserved
108 * bit 7 - 4: number of fingers currently touching pad
[all …]
/openbmc/linux/Documentation/input/
H A Dmulti-touch-protocol.rst4 Multi-touch (MT) Protocol
7 :Copyright: |copy| 2009-2010 Henrik Rydberg <rydberg@euromail.se>
11 ------------
13 In order to utilize the full power of the new multi-touch and multi-user
16 document describes the multi-touch (MT) protocol which allows kernel
30 --------------
34 packet. Since these events are ignored by current single-touch (ST)
48 All drivers mark the end of a multi-touch transfer by calling the usual
67 the ABS_MT_TRACKING_ID of the associated slot. A non-negative tracking id
68 is interpreted as a contact, and the value -1 denotes an unused slot. A
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A Dcy8ctma140.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Inspired by the tma140_skomer.c driver in the Samsung GT-S7710 code
9 * drop. The GT-S7710 is codenamed "Skomer", the code also indicates
12 * The code drop for GT-S7710 also contains a firmware downloader and
15 * just use it to read the fingers. The shipped vendor driver does the
73 id = i % 2 ? buf[-1] & 0x0f : buf[5] >> 4; in cy8ctma140_report()
74 slot = input_mt_get_slot_by_key(ts->input, id); in cy8ctma140_report()
82 dev_dbg(ts->dev, "finger %d: ID %02x (%d, %d) w: %d\n", in cy8ctma140_report()
85 input_mt_slot(ts->input, slot); in cy8ctma140_report()
86 input_mt_report_slot_state(ts->input, MT_TOOL_FINGER, true); in cy8ctma140_report()
[all …]
H A Dauo-pixcir-ts.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for AUO in-cell touchscreens
7 * loosely based on auo_touch.c from Dell Streak vendor-kernel
87 * sleep: scan speed 10Hz can be auto-activated, wakeup on 1st touch
141 struct i2c_client *client = ts->client; in auo_pixcir_collect_data()
150 dev_err(&client->dev, "failed to read coordinate, %d\n", ret); in auo_pixcir_collect_data()
158 dev_err(&client->dev, "could not read touch area, %d\n", ret); in auo_pixcir_collect_data()
168 if (point[i].coord_x > ts->x_max || in auo_pixcir_collect_data()
169 point[i].coord_y > ts->y_max) { in auo_pixcir_collect_data()
170 dev_warn(&client->dev, "coordinates (%d,%d) invalid\n", in auo_pixcir_collect_data()
[all …]
H A Dpixcir_i2c_ts.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2010-2011 Pixcir, Inc.
20 #define PIXCIR_MAX_SLOTS 5 /* Max fingers supported by driver */
30 * active: max scan speed
65 * struct pixcir_i2c_chip_data - chip related data
66 * @max_fingers: Max number of fingers reported simultaneously by h/w
102 const struct pixcir_i2c_chip_data *chip = tsdata->chip; in pixcir_ts_parse()
106 i = chip->has_hw_ids ? 1 : 0; in pixcir_ts_parse()
107 readsize = 2 + tsdata->chip->max_fingers * (4 + i); in pixcir_ts_parse()
111 ret = i2c_master_send(tsdata->client, wrbuf, sizeof(wrbuf)); in pixcir_ts_parse()
[all …]
/openbmc/linux/drivers/input/keyboard/
H A Dapplespi.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2015-2018 Federico Lorenzi
6 * Copyright (c) 2017-2018 Ronald Tschalär
26 * SPI-based Protocol
27 * ------------------
40 * fixed, 256-byte size). In that case it will be split over multiple,
85 ((KBD_BL_LEVEL_MAX - KBD_BL_LEVEL_MIN) * KBD_BL_LEVEL_SCALE / 255U)
102 …emap Fn key ([0] = no-remap; 1 = left-ctrl, 2 = left-shift, 3 = left-alt, 4 = left-meta, 6 = right
106 MODULE_PARM_DESC(iso_layout, "Enable/Disable hardcoded ISO-layout of the keyboard. ([0] = disabled,…
114 * struct keyboard_protocol - keyboard message.
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-udraw-ps3.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include "hid-ids.h"
21 * https://vvvv.org/contribution/udraw-hid
26 * - the touch area which works as a touchpad
27 * - the tablet area which works as a touchpad/drawing tablet
28 * - a joypad with a d-pad, and 7 buttons
29 * - an accelerometer device
46 * Accelerometer min/max values
51 int max; member
66 #define MAX_PRESSURE (255 - PRESSURE_OFFSET)
[all …]
H A Dhid-multitouch.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2010-2012 Stephane Chatty <chatty@enac.fr>
6 * Copyright (c) 2010-2013 Benjamin Tissoires <benjamin.tissoires@gmail.com>
7 * Copyright (c) 2010-2012 Ecole Nationale de l'Aviation Civile, France
8 * Copyright (c) 2012-2013 Red Hat, Inc
10 * This code is partly based on hid-egala
718 mt_touch_input_mapping(struct hid_device * hdev,struct hid_input * hi,struct hid_field * field,struct hid_usage * usage,unsigned long ** bit,int * max,struct mt_application * app) mt_touch_input_mapping() argument
1344 mt_input_mapping(struct hid_device * hdev,struct hid_input * hi,struct hid_field * field,struct hid_usage * usage,unsigned long ** bit,int * max) mt_input_mapping() argument
1417 mt_input_mapped(struct hid_device * hdev,struct hid_input * hi,struct hid_field * field,struct hid_usage * usage,unsigned long ** bit,int * max) mt_input_mapped() argument
1501 int max; mt_need_to_apply_feature() local
[all...]
H A Dhid-elan.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 #include "hid-ids.h"
54 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in is_not_elan_touchpad()
56 return (intf->altsetting->desc.bInterfaceNumber != in is_not_elan_touchpad()
65 unsigned long **bit, int *max) in elan_input_mapping() argument
70 if (field->report->id == ELAN_SINGLE_FINGER || in elan_input_mapping()
71 field->report->id == ELAN_MT_FIRST_FINGER || in elan_input_mapping()
72 field->report->id == ELAN_MT_SECOND_FINGER || in elan_input_mapping()
73 field->report->id == ELAN_MT_I2C) in elan_input_mapping()
74 return -1; in elan_input_mapping()
[all …]
H A Dhid-ntrig.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * HID driver for N-Trig touchscreens
5 * Copyright (c) 2008-2010 Rafi Rubin
6 * Copyright (c) 2009-2010 Stephane Chatty
19 #include "hid-ids.h"
111 struct hid_report *report = hdev->report_enum[HID_FEATURE_REPORT]. in ntrig_get_mode()
114 if (!report || report->maxfield < 1 || in ntrig_get_mode()
115 report->field[0]->report_count < 1) in ntrig_get_mode()
116 return -EINVAL; in ntrig_get_mode()
120 return (int)report->field[0]->value[0]; in ntrig_get_mode()
[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"
38 "Disable Tap-To-Click mode reporting for touchpads (only on the K400 currently).");
40 /* Define a non-zero software ID to identify our own requests */
83 /* Convenience constant to check for any high-res support. */
100 #define lg_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c))
127 u8 params[HIDPP_REPORT_VERY_LONG_MAX_LENGTH - 4U];
[all …]
H A Dhid-alps.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 #include "hid-ids.h"
28 #define U1_ABSOLUTE_REPORT_ID_SECD 0x02 /* FW-PTP Absolute data ReportID */
84 * @max_fingers: total number of fingers
147 length -= tlen; in t4_calc_check_sum()
153 } while (--tlen > 0); in t4_calc_check_sum()
175 return -ENOMEM; in t4_read_write_register()
200 dev_err(&hdev->dev, "failed to read command (%d)\n", ret); in t4_read_write_register()
207 ret = -ENOMEM; in t4_read_write_register()
215 dev_err(&hdev->dev, "failed read register (%d)\n", ret); in t4_read_write_register()
[all …]
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3368-px5-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
12 compatible = "rockchip,px5-evb", "rockchip,px5", "rockchip,rk3368";
20 stdout-path = "serial4:115200n8";
28 keys: gpio-keys {
29 compatible = "gpio-keys";
30 pinctrl-names = "default";
31 pinctrl-0 = <&pwr_key>;
33 key-power {
[all …]
/openbmc/linux/arch/arm/boot/dts/rockchip/
H A Drk3188-px3-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016 Andy Yan <andy.yan@rock-chips.com>
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
11 model = "Rockchip PX3-EVB";
12 compatible = "rockchip,px3-evb", "rockchip,px3", "rockchip,rk3188";
20 stdout-path = "serial2:115200n8";
28 gpio-keys {
29 compatible = "gpio-keys";
32 key-power {
[all …]
/openbmc/u-boot/include/dt-bindings/input/
H A Dlinux-event-codes.h5 * This file is not only included from C-code but also from devicetree source
8 * Copyright (c) 1999-2002 Vojtech Pavlik
69 * AC - Application Control
70 * AL - Application Launch Button
71 * SC - System Control
305 outputs (Monitor/LCD/TV-out/etc) */
326 #define KEY_BRIGHTNESS_CYCLE 243 /* brightness up, after max is min */
408 #define BTN_TOOL_QUINTTAP 0x148 /* Five fingers on trackpad */
414 #define BTN_TOOL_QUADTAP 0x14f /* Four fingers on trackpad */
507 #define KEY_FRAMEBACK 0x1b4 /* Consumer - transport controls */
[all …]
/openbmc/linux/include/uapi/linux/
H A Dinput-event-codes.h1 /* 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
70 * AC - Application Control
71 * AL - Application Launch Button
72 * SC - System Control
307 outputs (Monitor/LCD/TV-out/etc) */
328 #define KEY_BRIGHTNESS_CYCLE 243 /* brightness up, after max is min */
410 #define BTN_TOOL_QUINTTAP 0x148 /* Five fingers on trackpad */
417 #define BTN_TOOL_QUADTAP 0x14f /* Four fingers on trackpad */
[all …]
/openbmc/qemu/include/standard-headers/linux/
H A Dinput-event-codes.h1 /* 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
70 * AC - Application Control
71 * AL - Application Launch Button
72 * SC - System Control
307 outputs (Monitor/LCD/TV-out/etc) */
328 #define KEY_BRIGHTNESS_CYCLE 243 /* brightness up, after max is min */
410 #define BTN_TOOL_QUINTTAP 0x148 /* Five fingers on trackpad */
417 #define BTN_TOOL_QUADTAP 0x14f /* Four fingers on trackpad */
[all …]
/openbmc/linux/include/dt-bindings/input/
H A Dlinux-event-codes.h1 /* 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
70 * AC - Application Control
71 * AL - Application Launch Button
72 * SC - System Control
307 outputs (Monitor/LCD/TV-out/etc) */
328 #define KEY_BRIGHTNESS_CYCLE 243 /* brightness up, after max is min */
410 #define BTN_TOOL_QUINTTAP 0x148 /* Five fingers on trackpad */
417 #define BTN_TOOL_QUADTAP 0x14f /* Four fingers on trackpad */
[all …]
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/
H A Dparsing.py39 self.max = None
64 self.max = max(self.end.keys())
74 self.duration = self.end_time - self.start_time
76 max(self.end.keys()))
162 # re-parent any stray orphans if we can
173 # count on fingers variously
183 k = min(k, len(util)-1)
188 avgload = sum(u[1] for u in util[j:k+1]) / (k-j+1)
230 and self.cpu_stats[-1].time > crop_at:
233 and self.disk_stats[-1].time > crop_at:
[all …]

12