ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:25.51 GB of 70.42 GB (36.23%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ usr/ src/ linux-headers-3.0.0-14-generic-pae/ include/ linux/ - drwxr-xr-x

Directory:
Viewing file:     gpio.h (3.36 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#ifndef __LINUX_GPIO_H
#define __LINUX_GPIO_H

/* see Documentation/gpio.txt */

/* make these flag values available regardless of GPIO kconfig options */
#define GPIOF_DIR_OUT    (0 << 0)
#define GPIOF_DIR_IN    (1 << 0)

#define GPIOF_INIT_LOW    (0 << 1)
#define GPIOF_INIT_HIGH    (1 << 1)

#define GPIOF_IN        (GPIOF_DIR_IN)
#define GPIOF_OUT_INIT_LOW    (GPIOF_DIR_OUT | GPIOF_INIT_LOW)
#define GPIOF_OUT_INIT_HIGH    (GPIOF_DIR_OUT | GPIOF_INIT_HIGH)

#ifdef CONFIG_GENERIC_GPIO
#include <asm/gpio.h>

#else

#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/errno.h>

struct device;
struct gpio;
struct gpio_chip;

/*
 * Some platforms don't support the GPIO programming interface.
 *
 * In case some driver uses it anyway (it should normally have
 * depended on GENERIC_GPIO), these routines help the compiler
 * optimize out much GPIO-related code ... or trigger a runtime
 * warning when something is wrongly called.
 */

static inline bool gpio_is_valid(int number)
{
    return false;
}

static inline int gpio_request(unsigned gpio, const char *label)
{
    return -ENOSYS;
}

static inline int gpio_request_one(unsigned gpio,
                    unsigned long flags, const char *label)
{
    return -ENOSYS;
}

static inline int gpio_request_array(const struct gpio *array, size_t num)
{
    return -ENOSYS;
}

static inline void gpio_free(unsigned gpio)
{
    might_sleep();

    /* GPIO can never have been requested */
    WARN_ON(1);
}

static inline void gpio_free_array(const struct gpio *array, size_t num)
{
    might_sleep();

    /* GPIO can never have been requested */
    WARN_ON(1);
}

static inline int gpio_direction_input(unsigned gpio)
{
    return -ENOSYS;
}

static inline int gpio_direction_output(unsigned gpio, int value)
{
    return -ENOSYS;
}

static inline int gpio_set_debounce(unsigned gpio, unsigned debounce)
{
    return -ENOSYS;
}

static inline int gpio_get_value(unsigned gpio)
{
    /* GPIO can never have been requested or set as {in,out}put */
    WARN_ON(1);
    return 0;
}

static inline void gpio_set_value(unsigned gpio, int value)
{
    /* GPIO can never have been requested or set as output */
    WARN_ON(1);
}

static inline int gpio_cansleep(unsigned gpio)
{
    /* GPIO can never have been requested or set as {in,out}put */
    WARN_ON(1);
    return 0;
}

static inline int gpio_get_value_cansleep(unsigned gpio)
{
    /* GPIO can never have been requested or set as {in,out}put */
    WARN_ON(1);
    return 0;
}

static inline void gpio_set_value_cansleep(unsigned gpio, int value)
{
    /* GPIO can never have been requested or set as output */
    WARN_ON(1);
}

static inline int gpio_export(unsigned gpio, bool direction_may_change)
{
    /* GPIO can never have been requested or set as {in,out}put */
    WARN_ON(1);
    return -EINVAL;
}

static inline int gpio_export_link(struct device *dev, const char *name,
                unsigned gpio)
{
    /* GPIO can never have been exported */
    WARN_ON(1);
    return -EINVAL;
}

static inline int gpio_sysfs_set_active_low(unsigned gpio, int value)
{
    /* GPIO can never have been requested */
    WARN_ON(1);
    return -EINVAL;
}

static inline void gpio_unexport(unsigned gpio)
{
    /* GPIO can never have been exported */
    WARN_ON(1);
}

static inline int gpio_to_irq(unsigned gpio)
{
    /* GPIO can never have been requested or set as input */
    WARN_ON(1);
    return -EINVAL;
}

static inline int irq_to_gpio(unsigned irq)
{
    /* irq can never have been returned from gpio_to_irq() */
    WARN_ON(1);
    return -EINVAL;
}

#endif

#endif /* __LINUX_GPIO_H */
Command:
Quick Commands:
Upload:
[Read-Only] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [Read-Only]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.5659 seconds