Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
au0828-i2c.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/io.h>
#include "au0828.h"
#include "media/tuner.h"
#include <media/v4l2-common.h>

Go to the source code of this file.


#define I2C_WAIT_DELAY   25
#define I2C_WAIT_RETRY   1000


 module_param (i2c_scan, int, 0444)
 MODULE_PARM_DESC (i2c_scan,"scan i2c bus at insmod time")
int au0828_i2c_register (struct au0828_dev *dev)
int au0828_i2c_unregister (struct au0828_dev *dev)

Macro Definition Documentation

#define I2C_WAIT_DELAY   25

Definition at line 36 of file au0828-i2c.c.

#define I2C_WAIT_RETRY   1000

Definition at line 37 of file au0828-i2c.c.

Function Documentation

int au0828_i2c_register ( struct au0828_dev dev)

Definition at line 363 of file au0828-i2c.c.

int au0828_i2c_unregister ( struct au0828_dev dev)

Definition at line 396 of file au0828-i2c.c.

module_param ( i2c_scan  ,
int  ,
MODULE_PARM_DESC ( i2c_scan  ,
"scan i2c bus at insmod time