This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
int | fi2c_writeData (unsigned char theSlave, unsigned char *theData, int size) |
int | fi2c_readData (unsigned char theSlave, unsigned char *theData, int size) |
int | fi2c_ioctl (struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg) |
int | setClockFreq (int nclock, int freq) |
int | getClockFreq (int nclock) |
void | initPortB (void) |
int fi2c_ioctl | ( | struct inode * | inode, | |
struct file * | file, | |||
unsigned int | cmd, | |||
unsigned long | arg | |||
) |
Definition at line 334 of file fpgaconfi2c.c.
References D, data, error(), fi2c_readData(), fi2c_writeData(), FPGACONF_IOCTYPE, I2C_ARGREG, I2C_ARGSLAVE, I2C_ARGVALUE, I2C_READREG, I2C_WRITEREG, and printk.
int fi2c_readData | ( | unsigned char | theSlave, | |
unsigned char * | theData, | |||
int | size | |||
) |
Definition at line 312 of file fpgaconfi2c.c.
References D, ERR_I2C_BSY, error(), printk, xi2c_inbyte(), xi2c_outbyte(), xi2c_sendack(), xi2c_start(), and xi2c_stop().
int fi2c_writeData | ( | unsigned char | theSlave, | |
unsigned char * | theData, | |||
int | size | |||
) |
Definition at line 281 of file fpgaconfi2c.c.
References D, ERR_I2C_BSY, ERR_I2C_NACK, error(), printk, xi2c_outbyte(), xi2c_start(), and xi2c_stop().
int getClockFreq | ( | int | nclock | ) |
void initPortB | ( | void | ) |
int setClockFreq | ( | int | nclock, | |
int | freq | |||
) |