!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/usr/src/linux-headers-4.15.0-213/include/linux/input/   drwxr-xr-x
Free 9.91 GB of 61.93 GB (16.01%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     gpio_tilt.h (1.98 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* 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

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.5059 ]--