Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ad9389b.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/delay.h>
#include <linux/videodev2.h>
#include <linux/workqueue.h>
#include <linux/v4l2-dv-timings.h>
#include <media/v4l2-device.h>
#include <media/v4l2-chip-ident.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ctrls.h>
#include <media/ad9389b.h>

Go to the source code of this file.

Data Structures

struct  i2c_reg_value
 
struct  ad9389b_state_edid
 
struct  ad9389b_state
 

Macros

#define MASK_AD9389B_EDID_RDY_INT   0x04
 
#define MASK_AD9389B_MSEN_INT   0x40
 
#define MASK_AD9389B_HPD_INT   0x80
 
#define MASK_AD9389B_HPD_DETECT   0x40
 
#define MASK_AD9389B_MSEN_DETECT   0x20
 
#define MASK_AD9389B_EDID_RDY   0x10
 
#define EDID_MAX_RETRIES   (8)
 
#define EDID_DELAY   250
 
#define EDID_MAX_SEGM   8
 

Functions

 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"debug level (0-2)")
 
 MODULE_DESCRIPTION ("Analog Devices AD9389B/AD9889B video encoder driver")
 
 MODULE_AUTHOR ("Hans Verkuil <[email protected]>")
 
 MODULE_AUTHOR ("Martin Bugge <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (i2c, ad9389b_id)
 
 module_i2c_driver (ad9389b_driver)
 

Macro Definition Documentation

#define EDID_DELAY   250

Definition at line 58 of file ad9389b.c.

#define EDID_MAX_RETRIES   (8)

Definition at line 57 of file ad9389b.c.

#define EDID_MAX_SEGM   8

Definition at line 59 of file ad9389b.c.

#define MASK_AD9389B_EDID_RDY   0x10

Definition at line 55 of file ad9389b.c.

#define MASK_AD9389B_EDID_RDY_INT   0x04

Definition at line 49 of file ad9389b.c.

#define MASK_AD9389B_HPD_DETECT   0x40

Definition at line 53 of file ad9389b.c.

#define MASK_AD9389B_HPD_INT   0x80

Definition at line 51 of file ad9389b.c.

#define MASK_AD9389B_MSEN_DETECT   0x20

Definition at line 54 of file ad9389b.c.

#define MASK_AD9389B_MSEN_INT   0x40

Definition at line 50 of file ad9389b.c.

Function Documentation

MODULE_AUTHOR ( "Hans Verkuil <[email protected]>"  )
MODULE_AUTHOR ( "Martin Bugge <[email protected]>"  )
MODULE_DESCRIPTION ( "Analog Devices AD9389B/AD9889B video encoder driver )
MODULE_DEVICE_TABLE ( i2c  ,
ad9389b_id   
)
module_i2c_driver ( ad9389b_driver  )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"debug level (0-2)"   
)