!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/src/linux-2.4.18-xfs-1.1/include/asm-ia64/sn/ksys/   drwxr-xr-x
Free 318.31 GB of 458.09 GB (69.49%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     i2c.h (2.13 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* $Id$
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Copyright (C) 1992 - 1997, 2000 Silicon Graphics, Inc.
 * Copyright (C) 2000 by Colin Ngam
 */
#ifndef _ASM_SN_KSYS_I2C_H
#define _ASM_SN_KSYS_I2C_H

#if _STANDALONE
# include "rtc.h"
#else
# define rtc_time()    (GET_LOCAL_RTC * NSEC_PER_CYCLE / 1000)
# define rtc_sleep    us_delay
# define rtc_time_t    uint64_t
#endif

typedef u_char            i2c_addr_t;    /* 7-bit address            */

int        i2c_init(nasid_t);

int        i2c_probe(nasid_t nasid, rtc_time_t timeout);

int        i2c_arb(nasid_t, rtc_time_t timeout, rtc_time_t *token_start);

int        i2c_master_xmit(nasid_t,
                i2c_addr_t addr,
                u_char *buf,
                int len_max,
                int *len_ptr,
                rtc_time_t timeout,
                int only_if_message);

int        i2c_master_recv(nasid_t,
                i2c_addr_t addr,
                u_char *buf,
                int len_max,
                int *len_ptr,
                int emblen,
                rtc_time_t timeout,
                int only_if_message);

int        i2c_master_xmit_recv(nasid_t,
                     i2c_addr_t addr,
                     u_char *xbuf,
                     int xlen_max,
                     int *xlen_ptr,
                     u_char *rbuf,
                     int rlen_max,
                     int *rlen_ptr,
                     int emblen,
                     rtc_time_t timeout,
                     int only_if_message);

char           *i2c_errmsg(int code);

/*
 * Error codes
 */

#define I2C_ERROR_NONE         0
#define I2C_ERROR_INIT        -1    /* Initialization error             */
#define I2C_ERROR_STATE        -2    /* Unexpected chip state        */
#define I2C_ERROR_NAK        -3    /* Addressed slave not responding   */
#define I2C_ERROR_TO_ARB    -4    /* Timeout waiting for sysctlr arb  */
#define I2C_ERROR_TO_BUSY    -5    /* Timeout waiting for busy bus     */
#define I2C_ERROR_TO_SENDA    -6    /* Timeout sending address byte     */
#define I2C_ERROR_TO_SENDD    -7    /* Timeout sending data byte        */
#define I2C_ERROR_TO_RECVA    -8    /* Timeout receiving address byte   */
#define I2C_ERROR_TO_RECVD    -9    /* Timeout receiving data byte      */
#define I2C_ERROR_NO_MESSAGE    -10    /* No message was waiting        */
#define I2C_ERROR_NO_ELSC    -11    /* ELSC is disabled for access         */     

#endif /* _ASM_SN_KSYS_I2C_H */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0223 ]--