OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-197
/
include
/
linux
/
input
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
11/17/2022 06:42:23 AM
rwxr-xr-x
📄
ad714x.h
1.34 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
adp5589.h
5.64 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
adxl34x.h
11.3 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
as5011.h
545 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
auo-pixcir-ts.h
1.38 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
bu21013.h
741 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
cma3000.h
1.56 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
cy8ctmg110_pdata.h
262 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
cyttsp.h
1.56 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
elan-i2c-ids.h
2.01 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
gp2ap002a00f.h
671 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
gpio_tilt.h
1.98 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ili210x.h
207 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
kxtj9.h
1.74 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
lm8333.h
674 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
matrix_keypad.h
2.96 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
mt.h
3.4 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
navpoint.h
393 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
samsung-keypad.h
1.3 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
sh_keysc.h
431 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
sparse-keymap.h
2.06 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
touchscreen.h
909 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
tps6507x-ts.h
535 bytes
01/28/2018 09:20:33 PM
rw-r--r--
Editing: gpio_tilt.h
Close
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _INPUT_GPIO_TILT_H #define _INPUT_GPIO_TILT_H /** * struct gpio_tilt_axis - Axis used by the tilt switch * @axis: Constant describing the axis, e.g. ABS_X * @min: minimum value for abs_param * @max: maximum value for abs_param * @fuzz: fuzz value for abs_param * @flat: flat value for abs_param */ struct gpio_tilt_axis { int axis; int min; int max; int fuzz; int flat; }; /** * struct gpio_tilt_state - state description * @gpios: bitfield of gpio target-states for the value * @axes: array containing the axes settings for the gpio state * The array indizes must correspond to the axes defined * in platform_data * * This structure describes a supported axis settings * and the necessary gpio-state which represent it. * * The n-th bit in the bitfield describes the state of the n-th GPIO * from the gpios-array defined in gpio_regulator_config below. */ struct gpio_tilt_state { int gpios; int *axes; }; /** * struct gpio_tilt_platform_data * @gpios: Array containing the gpios determining the tilt state * @nr_gpios: Number of gpios * @axes: Array of gpio_tilt_axis descriptions * @nr_axes: Number of axes * @states: Array of gpio_tilt_state entries describing * the gpio state for specific tilts * @nr_states: Number of states available * @debounce_interval: debounce ticks interval in msecs * @poll_interval: polling interval in msecs - for polling driver only * @enable: callback to enable the tilt switch * @disable: callback to disable the tilt switch * * This structure contains gpio-tilt-switch configuration * information that must be passed by platform code to the * gpio-tilt input driver. */ struct gpio_tilt_platform_data { struct gpio *gpios; int nr_gpios; struct gpio_tilt_axis *axes; int nr_axes; struct gpio_tilt_state *states; int nr_states; int debounce_interval; unsigned int poll_interval; int (*enable)(struct device *dev); void (*disable)(struct device *dev); }; #endif