os/linux-2.6-tag--devboard-R2_10-4/arch/cris/arch-v32/drivers/elphel/cci2c.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int i2c_delays (unsigned long delays)
int i2c_writeData (int n, unsigned char theSlave, unsigned char *theData, int size, int stop)
int i2c_readData (int n, unsigned char theSlave, unsigned char *theData, int size, int start)
int i2c_ioctl (struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
 NOTE: what the hell is it doing here?


Function Documentation

int i2c_delays ( unsigned long  delays  ) 

Definition at line 176 of file cxi2c.c.

References bitdelays.

Referenced by i2c_ioctl().

int i2c_ioctl ( struct inode *  inode,
struct file *  file,
unsigned int  cmd,
unsigned long  arg 
)

NOTE: what the hell is it doing here?

Definition at line 492 of file cxi2c.c.

References _353_io_board_present, CMOSCAM_IOCTYPE, D, data, error(), I2C_16_ARGREG, I2C_16_ARGSLAVE, I2C_16_ARGVALUE, I2C_16_ARGVALUE_H, I2C_16_ARGVALUE_L, I2C_16_READREG, I2C_16_WRITEREG, I2C_ARGBUS, I2C_ARGREG, I2C_ARGSLAVE, I2C_ARGVALUE, I2C_DELAYS, i2c_delays(), i2c_readData(), I2C_READREG, i2c_writeData(), I2C_WRITEREG, IO_EXT_BOARD_PRESENT, and printk.

int i2c_readData ( int  n,
unsigned char  theSlave,
unsigned char *  theData,
int  size,
int  start 
)

Definition at line 467 of file cxi2c.c.

References D, ERR_I2C_BSY, error(), i2c_inbyte(), i2c_outbyte(), i2c_restart(), i2c_start(), i2c_stop(), and printk.

Referenced by i2c_ioctl(), mt9x001_pgm_detectsensor(), mt9x001_pgm_initsensor(), and xi2c_read().

int i2c_writeData ( int  n,
unsigned char  theSlave,
unsigned char *  theData,
int  size,
int  stop 
)

Definition at line 437 of file cxi2c.c.

References D, ERR_I2C_BSY, ERR_I2C_NACK, error(), i2c_outbyte(), i2c_start(), i2c_stop(), and printk.

Referenced by i2c_ioctl(), mt9x001_pgm_detectsensor(), mt9x001_pgm_initsensor(), xi2c_read(), and xi2c_write().


Generated on Fri Nov 28 00:07:37 2008 for elphel by  doxygen 1.5.1