Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include "bttvp.h"
#include <media/v4l2-common.h>
#include <linux/jiffies.h>
#include <asm/io.h>
Go to the source code of this file.
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
#define | I2C_HW |
Functions | |
module_param (i2c_debug, int, 0644) | |
MODULE_PARM_DESC (i2c_debug,"configure i2c debug level") | |
module_param (i2c_hw, int, 0444) | |
MODULE_PARM_DESC (i2c_hw,"force use of hardware i2c support, ""instead of software bitbang") | |
module_param (i2c_scan, int, 0444) | |
MODULE_PARM_DESC (i2c_scan,"scan i2c bus at insmod time") | |
module_param (i2c_udelay, int, 0444) | |
MODULE_PARM_DESC (i2c_udelay,"soft i2c delay at insmod time, in usecs ""(should be 5 or higher). Lower value means higher bus speed.") | |
int | bttv_I2CRead (struct bttv *btv, unsigned char addr, char *probe_for) |
int | bttv_I2CWrite (struct bttv *btv, unsigned char addr, unsigned char b1, unsigned char b2, int both) |
void __devinit | bttv_readee (struct bttv *btv, unsigned char *eedata, int addr) |
int __devinit | init_bttv_i2c (struct bttv *btv) |
#define I2C_HW |
Definition at line 135 of file bttv-i2c.c.
Definition at line 30 of file bttv-i2c.c.
Definition at line 273 of file bttv-i2c.c.
int bttv_I2CWrite | ( | struct bttv * | btv, |
unsigned char | addr, | ||
unsigned char | b1, | ||
unsigned char | b2, | ||
int | both | ||
) |
Definition at line 298 of file bttv-i2c.c.
Definition at line 315 of file bttv-i2c.c.
Definition at line 350 of file bttv-i2c.c.
module_param | ( | i2c_hw | , |
int | , | ||
0444 | |||
) |
module_param | ( | i2c_scan | , |
int | , | ||
0444 | |||
) |
module_param | ( | i2c_udelay | , |
int | , | ||
0444 | |||
) |