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:20.7 GB of 70.42 GB (29.39%)
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/ arch/ arm/ plat-omap/ include/ plat/ - drwxr-xr-x

Directory:
Viewing file:     gpio-switch.h (1.27 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * GPIO switch definitions
 *
 * Copyright (C) 2006 Nokia Corporation
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef __ASM_ARCH_OMAP_GPIO_SWITCH_H
#define __ASM_ARCH_OMAP_GPIO_SWITCH_H

#include <linux/types.h>

/* Cover:
 *    high -> closed
 *    low  -> open
 * Connection:
 *    high -> connected
 *    low  -> disconnected
 * Activity:
 *    high -> active
 *    low  -> inactive
 *
 */
#define OMAP_GPIO_SWITCH_TYPE_COVER        0x0000
#define OMAP_GPIO_SWITCH_TYPE_CONNECTION    0x0001
#define OMAP_GPIO_SWITCH_TYPE_ACTIVITY        0x0002
#define OMAP_GPIO_SWITCH_FLAG_INVERTED        0x0001
#define OMAP_GPIO_SWITCH_FLAG_OUTPUT        0x0002

struct omap_gpio_switch {
    const char *name;
    s16 gpio;
    unsigned flags:4;
    unsigned type:4;

    /* Time in ms to debounce when transitioning from
     * inactive state to active state. */
    u16 debounce_rising;
    /* Same for transition from active to inactive state. */
    u16 debounce_falling;

    /* notify board-specific code about state changes */
    void (* notify)(void *data, int state);
    void *notify_data;
};

/* Call at init time only */
extern void omap_register_gpio_switches(const struct omap_gpio_switch *tbl,
                    int count);

#endif
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.1417 seconds